I’m especially interested in your results if you have non-standard
keyboards, international keyboards, non-PC hardware, or non-XOrg/XFree86 X
servers.
I’m trying with a spanish keyboard on a PC running Linux. It’s extremely
similar to this one :
http://www.pcservice.com.uy/download/imagenesmail/eukm408_gde.jpg but with
some differences because it’s a spanish keyboard. I can take a picture of
mine if that helps.
I don’t like what I see but I’m not sure about what I’m supposed to see to
begin with - sorry, I wasn’t following this thread closely.
First, ? (? key) :
Using scancode set 1
Sending text event
Key pressed : scancode 0x0033 = ;, keycode 0x000000F1 = ? (?) modifiers:
(none)
Text:
Key released: scancode 0x0033 = ;, keycode 0x000000F1 = ? modifiers:
(none)
By the way, it doesn’t say (,) as parenthesis - comma - parenthesis; instead
of the comma I see a question mark inside a square rotated 45?, I guess it’s
"character not present in this font" - the comma appears when I paste the
console output here.On Feb 10, 2008 1:36 PM, Sam Lantinga wrote:
Now I try ? (shift - ? key) :
Key pressed : scancode 0x00E5 = Right Shift, keycode 0x400000E5 = Right
Shift modifiers: RSHIFT
Sending text event
Key pressed : scancode 0x0033 = ;, keycode 0x000000F1 = ? (?) modifiers:
RSHIFT
Text:
Key released: scancode 0x0033 = ;, keycode 0x000000F1 = ? modifiers:
RSHIFT
Key released: scancode 0x00E5 = Right Shift, keycode 0x400000E5 = Right
Shift modifiers: (none)
I get similar results for ? and ?. We don’t use that character in spanish
but it is used in portuguese and for some reason spanish keyboars usually
have it.
Accented characters (? ? ? ? ?) are composed with a dead key, and it doesn’t
seem to work. For ? :
Sending text event ?
Unknown Key (scancode = 0x0034 = ') pressed modifiers: (none)
Text: ?
Unknown Key (scancode = 0x0034 = ') released modifiers: (none)
Sending text event a
Key pressed : scancode 0x0004 = A, keycode 0x00000061 = A (a) modifiers:
(none)
Text: a
Key released: scancode 0x0004 = A, keycode 0x00000061 = A modifiers:
(none)
Now ? and ? (we use opening exclamation and interrogation signs, as in ?wow!
?really?). Both are on the same physical key. The regular keypress should
produce ? and shift-key should produce ? :
Sending text event ?
Key pressed : scancode 0x002E = =, keycode 0x000000A1 = ? (?) modifiers:
(none)
Text: ?
Key released: scancode 0x002E = =, keycode 0x000000A1 = ? modifiers:
(none)
Key pressed : scancode 0x00E5 = Right Shift, keycode 0x400000E5 = Right
Shift modifiers: RSHIFT
Sending text event ?
Key pressed : scancode 0x002E = =, keycode 0x000000A1 = ? (?) modifiers:
RSHIFT
Text: ?
Key released: scancode 0x002E = =, keycode 0x000000A1 = ? modifiers:
RSHIFT
Key released: scancode 0x00E5 = Right Shift, keycode 0x400000E5 = Right
Shift modifiers: (none)
My keyboard also has several weird keys. First the left Windows key, then
the right Windows key, and the right Popup Menu key :
Using scancode set 1
Key pressed : scancode 0x00E3 = Left GUI, keycode 0x400000E3 = Left GUI
modifiers: LGUI
Key released: scancode 0x00E3 = Left GUI, keycode 0x400000E3 = Left GUI
modifiers: (none)
Key pressed : scancode 0x00E7 = Right GUI, keycode 0x400000E7 = Right GUI
modifiers: RGUI
Key released: scancode 0x00E7 = Right GUI, keycode 0x400000E7 = Right GUI
modifiers: (none)
Key pressed : scancode 0x0065 = Menu, keycode 0x40000065 = Menu modifiers:
(none)
Key released: scancode 0x0065 = Menu, keycode 0x40000065 = Menu modifiers:
(none)
Now some icons that look like internet navigation : home, email, back,
forward, a star, a magnifier, reload, and stop :
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 130
(122), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 236
(228), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 234
(226), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 233
(225), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 230
(222), X11 KeySym 0x0 ((null)).
Key pressed : scancode 0x006C = F17, keycode 0x4000006C = F17 modifiers:
(none)
Key released: scancode 0x006C = F17, keycode 0x4000006C = F17 modifiers:
(none)
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 231
(223), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 232
(224), X11 KeySym 0x0 ((null)).
Icons at the bottom - “mark” in a rectangle; copy; paste; cut; a calculator;
and a LCD :
MARK : The key you just pressed is not recognized by SDL. To help get this
fixed, please report this to the SDL mailing list X11
KeyCode 209 (201), X11 KeySym 0x0 ((null)).
COPY : does nothing
PASTE : Unknown Key (scancode = 0x0089 = ) pressed modifiers: (none)
Unknown Key (scancode = 0x0089 = ) released modifiers: (none)
CUT : does nothing
CALCULATOR : The key you just pressed is not recognized by SDL. To help get
this fixed, please report this to the SDL mailing list X11
KeyCode 161 (153), X11 KeySym 0x0 ((null)).
LCD : The key you just pressed is not recognized by SDL. To help get this
fixed, please report this to the SDL mailing list X11
KeyCode 198 (190), X11 KeySym 0x0 ((null)).
Media player icons : rewind, forward, stop, mute, play/pause :
Key pressed : scancode 0x0075 = Help, keycode 0x40000075 = Help modifiers:
(none)
Key released: scancode 0x0075 = Help, keycode 0x40000075 = Help modifiers:
(none)
Key pressed : scancode 0x007E = Find, keycode 0x4000007E = Find modifiers:
(none)
Key released: scancode 0x007E = Find, keycode 0x4000007E = Find modifiers:
(none)
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 164
(156), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 160
(152), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 162
(154), X11 KeySym 0x0 ((null)).
Euro sign, as [press alt gr] - [press and release E] - [release alt gr] :
Key pressed : scancode 0x00E6 = Right Alt, keycode 0x400000E6 = Right Alt
modifiers: RALT
Key pressed : scancode 0x0008 = E, keycode 0x00000065 = E (e) modifiers:
RALT
Key released: scancode 0x0008 = E, keycode 0x00000065 = E modifiers: RALT
Key released: scancode 0x00E6 = Right Alt, keycode 0x400000E6 = Right Alt
modifiers: (none)
The weird left icons you see in the picture :
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 223
(215), X11 KeySym 0x0 ((null)).
Only the half moon (sleep?) icon did anything.
The weird right icons :
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 129
(121), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 208
(200), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 129
(121), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 131
(123), X11 KeySym 0x0 ((null)).
The second icon, some kind of W, did nothing.
Hope this helps. Can I do anything else?
–Gabriel