]> Pileus Git - ~andy/gtk/commit
[broadway] Emulate hardware keycodes in keyboard events
authorAlexander Larsson <alexl@redhat.com>
Thu, 14 Apr 2011 19:13:28 +0000 (21:13 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 14 Apr 2011 19:36:42 +0000 (21:36 +0200)
commit01da867dac948205f10c4ccfd924a2958ad3c749
tree78878249defdd3d98587d65e61080ef6d014e1d4
parent7d37534ee2b3f73b981c579db4428dde793310fe
[broadway] Emulate hardware keycodes in keyboard events

We can't really know the client side keymaps, so we use the keysym
as the hardware keycode (essentially claiming to have a keyboard with
one key for all possible keysyms). This is not ideal, but its hard to
do better with no knowledge of the client side keyboard mappings.
(And html keyboard events suck badly...)
gdk/broadway/gdkeventsource.c
gdk/broadway/gdkkeys-broadway.c