Ubuntu intl US layout + dead keys: problem with SDL_KEYDOWN

I have tried this on Ubuntu using the US international keyboard layout with dead keys.
When I press the grave key in an editor I don’t immediately get feedback on screen as the OS is waiting for a second key to compose the final character. It works the same for " and some additional keys.
I was however expecting to immediately get a SDL_KEYDOWN event with the scancode corresponding to the matching key of the US keyboard layout. GLFW gets this right. GLFW on the other hand fails to get quotation marks and other composed characters right, while SDL_TEXTINPUT is working exactly as I expected.
Is there a way to get immediate feedback regardless of the physical and virtual keyboard layout?

To add to this: the issue isn’t unique to the international US layout,
it also happens in the LA Spanish layout, though I had just attributed
it to just being X…

2014/1/21, B_old <benjamin.savs at gmail.com>:> I have tried this on Ubuntu using the US international keyboard layout with

dead keys.
When I press the grave key in an editor I don’t immediately get feedback on
screen as the OS is waiting for a second key to compose the final character.
It works the same for " and some additional keys.
I was however expecting to immediately get a SDL_KEYDOWN event with the
scancode corresponding to the matching key of the US keyboard layout. GLFW
gets this right. GLFW on the other hand fails to get quotation marks and
other composed characters right, while SDL_TEXTINPUT is working exactly as I
expected.
Is there a way to get immediate feedback regardless of the physical and
virtual keyboard layout?

Have you tried the latest git version?
I think this issue has been fixed, see

Cheers,
DanielAm 21.01.2014 16:27, schrieb B_old:

I have tried this on Ubuntu using the US international keyboard layout
with dead keys.
When I press the grave key in an editor I don’t immediately get feedback
on screen as the OS is waiting for a second key to compose the final
character. It works the same for " and some additional keys.
I was however expecting to immediately get a SDL_KEYDOWN event with the
scancode corresponding to the matching key of the US keyboard layout.
GLFW gets this right. GLFW on the other hand fails to get quotation
marks and other composed characters right, while SDL_TEXTINPUT is
working exactly as I expected.
Is there a way to get immediate feedback regardless of the physical and
virtual keyboard layout?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

How Freudian. :wink:

Jonny D

Daniel Gibson wrote:

Have you tried the latest git version?
I think this issue has been fixed, see
https://hg.libsdl.org/SDL/rev/713c6a333c33

Cheers,
Daniel

Thanks for the info!