Detecting the used keyboard driver
peter.hutterer at who-t.net
Mon Apr 27 17:31:35 PDT 2009
On Mon, Apr 27, 2009 at 09:15:22PM +0200, Marvin Raaijmakers wrote:
> 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.
Not really, but you can query the keyboards for all properties. If a bunch of
evdev properties are present, then it's probably running the kbd driver.
May I ask what the actual problem is you're trying to solve?
More information about the xorg