The key you just pressed is not recognized by SDL |
Jethro Beekman
Guest
|
Completely agreed.
This is on US International with dead keys: SDL_KEYDOWN: Keycode: Right Shift Scancode: Right Shift SDL_KEYDOWN: Keycode: 6 Scancode: 6 SDL_KEYUP: Keycode: 6 Scancode: 6 SDL_KEYUP: Keycode: Right Shift Scancode: Right Shift SDL_KEYDOWN: Keycode: A Scancode: A SDL_KEYUP: Keycode: A Scancode: A SDL_EventState(SDL_TEXTINPUT, SDL_ENABLE) SDL_KEYDOWN: Keycode: Right Shift Scancode: Right Shift SDL_KEYDOWN: Keycode: 6 Scancode: 6 SDL_KEYUP: Keycode: 6 Scancode: 6 SDL_KEYUP: Keycode: Right Shift Scancode: Right Shift SDL_KEYDOWN: Keycode: A Scancode: A SDL_TEXTINPUT: â SDL_KEYUP: Keycode: A Scancode: A I think this is the way it should be. All dead keys on my keyboard generate the correct Keycode/Scancode AFAICT. I still get "The key you just pressed is not recognized by SDL." but I applied your patch to 2.0.0 - I assume this is a non-issue.
Looks good to me. Maintainers: please merge. Jethro On 24-08-13 18:15, Daniel Gibson wrote:> Hi,
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||||||||||
|
The key you just pressed is not recognized by SDL |
Sam Lantinga
|
This looks good. Â I wrote a patch using this approach here:https://hg.libsdl.org/SDL/rev/713c6a333c33
Thanks! On Sat, Aug 24, 2013 at 6:15 PM, Daniel Gibson wrote:
|
|||||||||||||||||||||
|