#jogamp @ irc.freenode.net - 20130410 05:06:37 (UTC)


20130410 05:06:37 -CatOut- Previous @ http://jogamp.org/log/irc/jogamp_20130409050623.html
20130410 05:06:37 -CatOut- This channel is logged @ http://jogamp.org/log/irc/jogamp_20130410050637.html
20130410 05:20:54 * xranby (~xranby@anon) Quit (Ping timeout: 252 seconds)
20130410 05:26:58 * hharrison (~chatzilla@anon) Quit (Remote host closed the connection)
20130410 06:03:55 <[Mike]> rmk0: Finished running the tests. Emailed the reports out to code@io7m.com.
20130410 06:04:32 * DemoscenePassiv (~Lutsche@anon) has joined #jogamp
20130410 06:09:55 * xranby (~xranby@anon) has joined #jogamp
20130410 06:21:59 * hharrison (~chatzilla@anon) has joined #jogamp
20130410 06:34:13 * DemoscenePassiv (~Lutsche@anon) Quit (Ping timeout: 240 seconds)
20130410 06:43:29 * [Mike] (~Mike]@anon) Quit ()
20130410 07:26:30 * hharrison (~chatzilla@anon) Quit (Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130206104040])
20130410 12:02:03 <sgothel> #XRanby: I clean up all KeyEvent VK values, i.e. make them UTF16 clean - at least values > 0x1F. Values < 0x1F are control values (non printable) and will use them for our cause of ALT, SHIFT, etc ..
20130410 12:02:12 <sgothel> Guess this makes life much easier :)
20130410 12:02:14 <sgothel> Ok ?
20130410 12:02:19 <sgothel> http://www.utf8-chartable.de/
20130410 12:02:49 <sgothel> so they will be UTF16 clean and almost UTF8 clean
20130410 12:23:08 <xranby> Ok!
20130410 12:23:40 <xranby> i always check for isPrintable before printing them so its all fine
20130410 12:23:58 <sgothel> nice - yes, isPrintable will be more correct then as well
20130410 12:24:13 <sgothel> i.e. testing ranges (non control) of UTF
20130410 12:24:21 <xranby> for all characters that is non printable i send null.
20130410 12:24:31 <xranby> so that nothing gets printed for return etc
20130410 12:24:44 <xranby> arrow keys
20130410 12:24:48 <xranby> etc etc
20130410 12:24:48 <sgothel> but deliver keySym / keyCode still
20130410 12:25:17 <sgothel> don't know who came up w/ those key codes .. uh :)
20130410 12:25:21 <xranby> yes in my case keySym and keyCode always match the KeyEvent VK value
20130410 12:25:39 <sgothel> probably copy/paste AWT .. arghhh :)
20130410 12:25:42 <xranby> only keyChar gets updated to be printable
20130410 12:26:05 <sgothel> in the end, keySym will be equal to keyChar if printable
20130410 12:26:10 <xranby> also i only apply modifiers and language on keyChar
20130410 12:26:25 <xranby> no.. why?
20130410 12:26:36 <sgothel> right, maybe later .. i.e. complete a layout :)
20130410 12:26:40 <sgothel> no ? ?
20130410 12:26:54 <xranby> (14:26:14) sgothel: in the end, keySym will be equal to keyChar if printable <---- did you mean keyCode here?
20130410 12:27:05 <sgothel> if VK values are UTF16
20130410 12:27:12 <sgothel> and keyChar _is_ UTF16 already
20130410 12:27:35 <sgothel> then they will be equal if printable, non-printable keyChar maybe 0
20130410 12:27:58 <sgothel> keyCode .. is UTF16 as well, but using the fixed US layout
20130410 12:28:06 <sgothel> to code layout independent
20130410 12:28:47 <sgothel> hence for printable, keyChar == keySym
20130410 12:29:05 <sgothel> I figured that out while hacking along .. duh
20130410 12:29:09 <xranby> in my world keyChar is keyCode + modifiers thus keyCode may be == keySym while keyChar != keySym
20130410 12:29:23 <sgothel> oh right .. yes, that as well :)
20130410 12:29:43 <sgothel> guess I was over-simplifying now
20130410 12:30:34 <sgothel> however, all operate in the same VK UTF space now, reducing confusion
20130410 12:31:07 <xranby> last time i checked VK_A == upper case A
20130410 12:31:28 <xranby> are you about to change this so that VK_A == lower case a ?
20130410 12:31:28 <sgothel> these ranges were exceptional, as with 0-9
20130410 12:31:46 <sgothel> no
20130410 12:32:14 <sgothel> but keeping space for lower-case 'a' .. etc - not using it. so all UTF printable values match
20130410 12:32:41 <sgothel> or - if you actually print the VK value as a char, you get the meaningful value
20130410 12:32:58 <xranby> then your oversimplification fail :) because keySym == uppercase for printable while the user expects keyChar to be the lower case printable
20130410 12:33:00 <sgothel> .. < > = ! ? .. etc etc
20130410 12:33:50 <sgothel> yes, I know that .. so won't do that. just saying now, that the VK number space won't collide w/ UTF16 - speaking in proper math :)
20130410 12:34:04 <xranby> great!
20130410 12:34:28 <sgothel> since UTF has control ranges we can use for all the 'other' keys ..
20130410 12:44:26 <xranby> sgothel: ok.. looks like these control ranges are safe to use
20130410 13:12:33 * [Mike] (~Mike]@anon) has joined #jogamp
20130410 13:42:21 <sgothel> Plus: Private 0xE000 - 0xF8FF, 0xE000 - 0xE0FF - are already used somewhat
20130410 17:24:53 * DemoscenePassiv (~Lutsche@anon) has joined #jogamp
20130410 21:54:35 * DemoscenePassiv (~Lutsche@anon) Quit (Ping timeout: 256 seconds)
20130411 02:21:12 * [Mike] (~Mike]@anon) Quit ()
20130411 03:43:33 * [Mike] (~Mike]@anon) has joined #jogamp
20130411 05:05:50 -CatOut- Continue @ http://jogamp.org/log/irc/jogamp_20130411050550.html