Re: keycode



"Stefan Birgersson" <bbirger hotmail com> writes:
I'm writing an application where I would like the physical location of
a key determine its function rather than the keysym value. Is it
possible to get the keycode instead of the keysym value using gdk/gtk?


Only by installing a GDK "event filter" to look at the raw Xlib events.

GTK 2 includes the keycode in the GdkEvent.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]