Re: keycode
- From: Havoc Pennington <hp redhat com>
- To: "Stefan Birgersson" <bbirger hotmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: keycode
- Date: 10 Mar 2001 13:42:15 -0500
"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]