[Qemu-devel] [PATCH 38/42] sdl2: simplify keymap handling

2014-01-28 Thread Gerd Hoffmann
sdl2 gives us scancodes (i.e. identifies keys by location not by keysym mapped to it). We can map them directly to QKeyCodes, pass them on to the new input core and be done with it. No need to jump though any keymap hops. Zap the code. Also operate directly on SDL scancodes for any hotkeys.

[Qemu-devel] [PATCH 38/42] sdl2: simplify keymap handling

2013-12-16 Thread Gerd Hoffmann
sdl2 gives us scancodes (i.e. identifies keys by location not by keysym mapped to it). We can map them directly to QKeyCodes, pass them on to the new input core and be done with it. No need to jump though any keymap hops. Zap the code. Also operate directly on SDL scancodes for any hotkeys.