Comment 9 for bug 619256

Revision history for this message
In , mjau (mjau-deactivatedaccount) wrote :

(In reply to comment #6)
> This is mostly fixed in the current SDL 1.3 snapshot:
> http://www.libsdl.orgdead_diaeresis/tmp/SDL-1.3.zip
>
> All the multimedia keys should be recognized. The only thing I'm not sure
> about is dead_diaeresis. It'll currently be recognized as
> SDL_SCANCODE_RIGHTBRACKET.

Hm, I'm still getting unrecognized keys here with that.. Here's some checkkeys output

KeyPress (X11 keycode = 0xF2)
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <email address hidden> X11 KeyCode 242 (234), X11 KeySym 0x1008FF77 (XF86Save).
KeyRelease (X11 keycode = 0xF2)

KeyPress (X11 keycode = 0xB3)
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <email address hidden> X11 KeyCode 179 (171), X11 KeySym 0x1008FF81 (XF86Tools).
KeyRelease (X11 keycode = 0xB3)

There's also some unknown keys (removed release events):

KeyPress (X11 keycode = 0x6C)
Unknown Key (scancode 230 = Right Alt) pressed modifiers: RALT
KeyPress (X11 keycode = 0xA3)
Unknown Key (scancode 265 = Mail) pressed modifiers: (none)
KeyPress (X11 keycode = 0xB4)
Unknown Key (scancode 269 = AC Home) pressed modifiers: (none)
KeyPress (X11 keycode = 0xAC)
Unknown Key (scancode 261 = AudioPlay) pressed modifiers: (none)
KeyPress (X11 keycode = 0xAD)
Unknown Key (scancode 259 = AudioPrev) pressed modifiers: (none)
KeyPress (X11 keycode = 0xAB)
Unknown Key (scancode 258 = AudioNext) pressed modifiers: (none)
KeyPress (X11 keycode = 0x94)
Unknown Key (scancode 266 = Calculator) pressed modifiers: (none)
KeyPress (X11 keycode = 0xAE)
Unknown Key (scancode 260 = AudioStop) pressed modifiers: (none)
KeyPress (X11 keycode = 0xA6)
Unknown Key (scancode 270 = AC Back) pressed modifiers: (none)
KeyPress (X11 keycode = 0xA7)
Unknown Key (scancode 271 = AC Forward) pressed modifiers: (none)
KeyPress (X11 keycode = 0xB5)
Unknown Key (scancode 273 = AC Refresh) pressed modifiers: (none)
KeyPress (X11 keycode = 0xA3)
Unknown Key (scancode 265 = Mail) pressed modifiers: (none)
KeyPress (X11 keycode = 0xE1)
Unknown Key (scancode 268 = AC Search) pressed modifiers: (none)

Also, volume up/down only generates release events, never press events:

KeyRelease (X11 keycode = 0x7A)
KeyRelease (X11 keycode = 0x7B)

The dead "/^/~ key generates only a release event on the first press, and is unrecognized on the second press:

KeyRelease (X11 keycode = 0x23)
KeyPress (X11 keycode = 0x0)
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <email address hidden> X11 KeyCode 0 (-8), X11 KeySym 0x0 ((null)).
KeyRelease (X11 keycode = 0x23)

Pressing that key once and then a key it modifies (eg e) makes the second key be unrecognized as well. Here I pressed e, ¨, e:

Key pressed : scancode 8 = E, keycode 0x00000065 = E (e) modifiers: (none)
Text: e
KeyRelease (X11 keycode = 0x1A)
Key released: scancode 8 = E, keycode 0x00000065 = E modifiers: (none)
KeyRelease (X11 keycode = 0x23)
KeyPress (X11 keycode = 0x0)
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <email address hidden> X11 KeyCode 0 (-8), X11 KeySym 0x0 ((null)).
KeyRelease (X11 keycode = 0x1A)

Other dead keys seem to behave in the same way. For example, I can make an é by pressing altgr+\ (the key left of backspace) and then e. Here's the same in checkkeys:

KeyPress (X11 keycode = 0x6C)
Unknown Key (scancode 230 = Right Alt) pressed modifiers: RALT
KeyRelease (X11 keycode = 0x15)
KeyRelease (X11 keycode = 0x6C)
Unknown Key (scancode 230 = Right Alt) released modifiers: (none)
KeyPress (X11 keycode = 0x0)
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <email address hidden> X11 KeyCode 0 (-8), X11 KeySym 0x0 ((null)).
KeyRelease (X11 keycode = 0x1A)