...xev result for "abcd" (USA):

KeyPress event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3617200, (-262,-312), root:(434,459),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XmbLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3617306, (-262,-312), root:(434,459),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3618355, (-262,-312), root:(434,459),
    state 0x10, keycode 56 (keysym 0x62, b), same_screen YES,
    XLookupString gives 1 bytes: (62) "b"
    XmbLookupString gives 1 bytes: (62) "b"
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3618458, (-262,-312), root:(434,459),
    state 0x10, keycode 56 (keysym 0x62, b), same_screen YES,
    XLookupString gives 1 bytes: (62) "b"
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3619216, (-262,-312), root:(434,459),
    state 0x10, keycode 54 (keysym 0x63, c), same_screen YES,
    XLookupString gives 1 bytes: (63) "c"
    XmbLookupString gives 1 bytes: (63) "c"
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3619330, (-262,-312), root:(434,459),
    state 0x10, keycode 54 (keysym 0x63, c), same_screen YES,
    XLookupString gives 1 bytes: (63) "c"
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3619871, (-262,-312), root:(434,459),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XmbLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3800001,
    root 0x13c, subw 0x0, time 3619979, (-262,-312), root:(434,459),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False


1 июня 2009 г. 20:47 пользователь Maxim Gammer <maxgam...@gmail.com> написал:
> Hi, Robert
>
> ...xev result for "abcd" (Russian):
>
> KeyPress event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3487419, (68,-21), root:(764,750),
>    state 0x2010, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
>    XLookupString gives 2 bytes: (d1 84) "ф"
>    XmbLookupString gives 2 bytes: (d1 84) "ф"
>    XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3487518, (68,-21), root:(764,750),
>    state 0x2010, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
>    XLookupString gives 2 bytes: (d1 84) "ф"
>    XFilterEvent returns: False
>
> KeyPress event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3489948, (68,-21), root:(764,750),
>    state 0x2010, keycode 56 (keysym 0x6c9, Cyrillic_i), same_screen YES,
>    XLookupString gives 2 bytes: (d0 b8) "и"
>    XmbLookupString gives 2 bytes: (d0 b8) "и"
>    XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3490056, (68,-21), root:(764,750),
>    state 0x2010, keycode 56 (keysym 0x6c9, Cyrillic_i), same_screen YES,
>    XLookupString gives 2 bytes: (d0 b8) "и"
>    XFilterEvent returns: False
>
> KeyPress event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3490683, (68,-21), root:(764,750),
>    state 0x2010, keycode 54 (keysym 0x6d3, Cyrillic_es), same_screen YES,
>    XLookupString gives 2 bytes: (d1 81) "с"
>    XmbLookupString gives 2 bytes: (d1 81) "с"
>    XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3490804, (68,-21), root:(764,750),
>    state 0x2010, keycode 54 (keysym 0x6d3, Cyrillic_es), same_screen YES,
>    XLookupString gives 2 bytes: (d1 81) "с"
>    XFilterEvent returns: False
>
> KeyPress event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3491437, (68,-21), root:(764,750),
>    state 0x2010, keycode 40 (keysym 0x6d7, Cyrillic_ve), same_screen YES,
>    XLookupString gives 2 bytes: (d0 b2) "в"
>    XmbLookupString gives 2 bytes: (d0 b2) "в"
>    XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x3800001,
>    root 0x13c, subw 0x0, time 3491551, (68,-21), root:(764,750),
>    state 0x2010, keycode 40 (keysym 0x6d7, Cyrillic_ve), same_screen YES,
>    XLookupString gives 2 bytes: (d0 b2) "в"
>    XFilterEvent returns: False
>
>
> 2009/6/1 Robert Osfield <robert.osfi...@gmail.com>:
>> HI Maxim,
>>
>> I'm afraid what you've sent is rather difficult to follow and
>> seemingly inconsitent with your previous post. Could you post the
>> results in sections with a heading of what follows.
>>
>> In searching the web on XLookupString and Russian I came across the
>> little test application xev that outputs the keyboard symbol and
>> XLookupString results, could you have a look at what results you get
>> for the Russian vs USA with this.
>>
>> Thanks,
>> Robert.
>>
>> On Mon, Jun 1, 2009 at 3:35 PM, Maxim Gammer <maxgam...@gmail.com> wrote:
>>> Hi Robert,
>>>
>>> OK,
>>> "abcd" (USA), "ABCD" (USA), "abcd" (Russian), "ABCD" (Russian) .....
>>>
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym97, keySymbol97
>>>
>>> numChars = 1,97, 0
>>>
>>> keySymbol = 97
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym97, keySymbol97
>>>
>>> numChars = 1,97, 0
>>>
>>> keySymbol = 97
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym97, keySymbol97
>>>
>>> numChars = 1,97, 0
>>>
>>> keySymbol = 97
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>
>>> numChars = 1,98, 0
>>>
>>> keySymbol = 98
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>
>>> numChars = 1,98, 0
>>>
>>> keySymbol = 98
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>
>>> numChars = 1,98, 0
>>>
>>> keySymbol = 98
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>
>>> numChars = 1,98, 0
>>>
>>> keySymbol = 98
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>
>>> numChars = 1,98, 0
>>>
>>> keySymbol = 98
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>
>>> numChars = 1,98, 0
>>>
>>> keySymbol = 98
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>
>>> numChars = 1,98, 0
>>>
>>> keySymbol = 98
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym99, keySymbol99
>>>
>>> numChars = 1,99, 0
>>>
>>> keySymbol = 99
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym99, keySymbol99
>>>
>>> numChars = 1,99, 0
>>>
>>> keySymbol = 99
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym99, keySymbol99
>>>
>>> numChars = 1,99, 0
>>>
>>> keySymbol = 99
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym100, keySymbol100
>>>
>>> numChars = 1,100, 0
>>>
>>> keySymbol = 100
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym100, keySymbol100
>>>
>>> numChars = 1,100, 0
>>>
>>> keySymbol = 100
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym100, keySymbol100
>>>
>>> numChars = 1,100, 0
>>>
>>> keySymbol = 100
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym100, keySymbol100
>>>
>>> numChars = 1,100, 0
>>>
>>> keySymbol = 100
>>>
>>>
>>>
>>> keyevent.keycode = 66, KeySym65509, keySymbol65509
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 65509
>>>
>>>
>>>
>>> keyevent.keycode = 66, KeySym65509, keySymbol65509
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 65509
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym65, keySymbol65
>>>
>>> numChars = 1,65, 0
>>>
>>> keySymbol = 65
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym65, keySymbol65
>>>
>>> numChars = 1,65, 0
>>>
>>> keySymbol = 65
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym66, keySymbol66
>>>
>>> numChars = 1,66, 0
>>>
>>> keySymbol = 66
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym66, keySymbol66
>>>
>>> numChars = 1,66, 0
>>>
>>> keySymbol = 66
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym66, keySymbol66
>>>
>>> numChars = 1,66, 0
>>>
>>> keySymbol = 66
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym67, keySymbol67
>>>
>>> numChars = 1,67, 0
>>>
>>> keySymbol = 67
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym67, keySymbol67
>>>
>>> numChars = 1,67, 0
>>>
>>> keySymbol = 67
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym68, keySymbol68
>>>
>>> numChars = 1,68, 0
>>> keySymbol = 68
>>>
>>>
>>> keyevent.keycode = 40, KeySym68, keySymbol68
>>>
>>> numChars = 1,68, 0
>>>
>>> keySymbol = 68
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym68, keySymbol68
>>>
>>> numChars = 1,68, 0
>>>
>>> keySymbol = 68
>>>
>>>
>>>
>>> keyevent.keycode = 37, KeySym65507, keySymbol65507
>>>
>>> numChars = 0,0, 39
>>> keySymbol = 65507
>>>
>>>
>>> keyevent.keycode = 50, KeySym65034, keySymbol65034
>>>
>>> numChars = 0,0, 39
>>> keySymbol = 65034
>>>
>>>
>>> keyevent.keycode = 37, KeySym65507, keySymbol65507
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 65507
>>>
>>>
>>>
>>> keyevent.keycode = 50, KeySym65505, keySymbol65505
>>>
>>> numChars = 0,0, 39
>>> keySymbol = 65505
>>>
>>>
>>> keyevent.keycode = 66, KeySym65509, keySymbol65509
>>> numChars = 0,0, 39
>>> keySymbol = 65509
>>>
>>>
>>> keyevent.keycode = 66, KeySym65509, keySymbol65509
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 65509
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym1734, keySymbol1734
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1734
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym1734, keySymbol1734
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1734
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym1734, keySymbol1734
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1734
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym1734, keySymbol1734
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1734
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym1737, keySymbol1737
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1737
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym1737, keySymbol1737
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1737
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym1737, keySymbol1737
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1737
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym1747, keySymbol1747
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1747
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym1747, keySymbol1747
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1747
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym1751, keySymbol1751
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1751
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym1751, keySymbol1751
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1751
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym1751, keySymbol1751
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1751
>>>
>>>
>>>
>>> keyevent.keycode = 66, KeySym65509, keySymbol65509
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 65509
>>>
>>>
>>>
>>> keyevent.keycode = 66, KeySym65509, keySymbol65509
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 65509
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym1766, keySymbol1766
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1766
>>>
>>>
>>>
>>> keyevent.keycode = 38, KeySym1766, keySymbol1766
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1766
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym1769, keySymbol1769
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1769
>>>
>>>
>>>
>>> keyevent.keycode = 56, KeySym1769, keySymbol1769
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1769
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym1779, keySymbol1779
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1779
>>>
>>>
>>>
>>> keyevent.keycode = 54, KeySym1779, keySymbol1779
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1779
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym1783, keySymbol1783
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1783
>>>
>>>
>>>
>>> keyevent.keycode = 40, KeySym1783, keySymbol1783
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 1783
>>>
>>>
>>>
>>> keyevent.keycode = 76, KeySym65479, keySymbol65479
>>>
>>> numChars = 0,0, 39
>>>
>>> keySymbol = 65479
>>>
>>>
>>>
>>> 2009/6/1 Robert Osfield <robert.osfi...@gmail.com>:
>>>> Hi Maxim,
>>>>
>>>> Thanks for the test results.  With the Russian keyboard/locale could
>>>> do send us the results of
>>>>
>>>> 'ABCD' and then 'abcd'
>>>>
>>>> Robert.
>>>>
>>>> On Mon, Jun 1, 2009 at 3:06 PM, Maxim Gammer <maxgam...@gmail.com> wrote:
>>>>> hi,
>>>>>
>>>>> set OSG_NOTIFY_LEVEL=INFO
>>>>> I press "ABCD" (Russian) "ABCD" (USA) ....
>>>>>
>>>>> keyevent.keycode = 38, KeySym1734, keySymbol34001
>>>>> numChars = 2,209, 132
>>>>> keySymbol = 34001
>>>>>
>>>>> keyevent.keycode = 38, KeySym1734, keySymbol34001
>>>>> numChars = 2,209, 132
>>>>> keySymbol = 34001
>>>>>
>>>>> keyevent.keycode = 56, KeySym1737, keySymbol47312
>>>>> numChars = 2,208, 184
>>>>> keySymbol = 47312
>>>>>
>>>>> keyevent.keycode = 56, KeySym1737, keySymbol47312
>>>>> numChars = 2,208, 184
>>>>> keySymbol = 47312
>>>>>
>>>>> keyevent.keycode = 54, KeySym1747, keySymbol33233
>>>>> numChars = 2,209, 129
>>>>> keySymbol = 33233
>>>>>
>>>>> keyevent.keycode = 54, KeySym1747, keySymbol33233
>>>>> numChars = 2,209, 129
>>>>> keySymbol = 33233
>>>>>
>>>>> keyevent.keycode = 40, KeySym1751, keySymbol45776
>>>>> numChars = 2,208, 178
>>>>> keySymbol = 45776
>>>>>
>>>>> keyevent.keycode = 40, KeySym1751, keySymbol45776
>>>>> numChars = 2,208, 178
>>>>> keySymbol = 45776
>>>>>
>>>>> keyevent.keycode = 37, KeySym65507, keySymbol65507
>>>>> numChars = 0,0, 41
>>>>> keySymbol = 65507
>>>>>
>>>>> keyevent.keycode = 50, KeySym65034, keySymbol65034
>>>>> numChars = 0,0, 41
>>>>> keySymbol = 65034
>>>>>
>>>>> keyevent.keycode = 50, KeySym65034, keySymbol65034
>>>>> numChars = 0,0, 41
>>>>> keySymbol = 65034
>>>>>
>>>>> keyevent.keycode = 37, KeySym65507, keySymbol65507
>>>>> numChars = 0,0, 41
>>>>> keySymbol = 65507
>>>>>
>>>>> keyevent.keycode = 38, KeySym97, keySymbol97
>>>>> numChars = 1,97, 0
>>>>> keySymbol = 97
>>>>>
>>>>> keyevent.keycode = 38, KeySym97, keySymbol97
>>>>> numChars = 1,97, 0
>>>>> keySymbol = 97
>>>>>
>>>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>>> numChars = 1,98, 0
>>>>> keySymbol = 98
>>>>>
>>>>> keyevent.keycode = 56, KeySym98, keySymbol98
>>>>> numChars = 1,98, 0
>>>>> keySymbol = 98
>>>>>
>>>>> keyevent.keycode = 54, KeySym99, keySymbol99
>>>>> numChars = 1,99, 0
>>>>> keySymbol = 99
>>>>>
>>>>> keyevent.keycode = 54, KeySym99, keySymbol99
>>>>> numChars = 1,99, 0
>>>>> keySymbol = 99
>>>>>
>>>>> keyevent.keycode = 54, KeySym99, keySymbol99
>>>>> numChars = 1,99, 0
>>>>> keySymbol = 99
>>>>>
>>>>> keyevent.keycode = 40, KeySym100, keySymbol100
>>>>> numChars = 1,100, 0
>>>>> keySymbol = 100
>>>>>
>>>>> keyevent.keycode = 40, KeySym100, keySymbol100
>>>>> numChars = 1,100, 0
>>>>> keySymbol = 100
>>>>>
>>>>> keyevent.keycode = 76, KeySym65479, keySymbol65479
>>>>> numChars = 0,0, 41
>>>>> keySymbol = 65479
>>>>>
>>>>>
>>>>> Maxim Gammer
>>>>> _______________________________________________
>>>>> osg-users mailing list
>>>>> osg-users@lists.openscenegraph.org
>>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>>
>>>> _______________________________________________
>>>> osg-users mailing list
>>>> osg-users@lists.openscenegraph.org
>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>
>>>
>>>
>>>
>>> --
>>> Maxim Gammer
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
>
> --
> Maxim Gammer
>



-- 
Maxim Gammer
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to