ether kbd or evdev is in use."
And now we've come to the main question in my first mail: how can i
detect whether the X server uses the evdev or kbd driver?
On Thu, Apr 30, 2009 at 8:20 PM, Matthew Garrett wrote:
> On Thu, Apr 30, 2009 at 08:09:01PM +0200, Marvin Raaijmakers wrote:
>
ught about this ;)
- Marvin
On Wed, Apr 29, 2009 at 10:26 PM, Matthew Garrett wrote:
> On Tue, Apr 28, 2009 at 11:10:57AM +0200, Marvin Raaijmakers wrote:
>> Well I developed keyTouch, a program that allows the user to bind
>> actions to extra function keys (like the Play/Pause, WWW or
+ kernel_keycode
My program does not bind an X key symbol to the X keycode, since that
is not needed for grabbing a key (XGrabKey() takes the key's keycode
as an argument).
- Marvin
On Wed, Apr 29, 2009 at 12:14 AM, Peter Hutterer
wrote:
> On Tue, Apr 28, 2009 at 11:10:57AM +0200
the X server instead of the kbd
driver.
What do you mean by "query the keyboards for all properties"? Using
XListInputDevices? Then there need to be different values for
min_keycode, max_keycode or num_keys (or am I wrong?). These are
however the same for evdev and kbd.
Regards,
Marvin
Is there a way to detect, from the host that runs the X clients, what
keyboard driver is used by the X server? I want to know this because I
want to write a program that should behave differently when the evdev
driver is used instead of the traditional keyboard driver.
Regards,
Marvin Raaijmakers