[Xorg] XInput Hotplug Additions
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Mon Aug 2 17:19:37 PDT 2004
Kristian Høgsberg wrote:
> The idea is that the arguments given to XAddInputDevice() corresponds to
> the options you can give in an xorg.conf InputDevice section, e.g.
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/input/mice"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> could be configured at runtime from an X client as
>
> XDeviceOption options[] = {
> { "Protocol", "IMPS/2" },
> { "Device", "/dev/input/mice" },
> { "ZAxisMapping", "4 5" },
> };
>
> XAddInputDevice(dpy, "Mouse0", "mouse", options, 3);
So this extension is only usable by the Xorg server and other X servers
with their own configuration methods will not be able to use it?
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list