void-packages/srcpkgs/xorg-server/files/x11-input.rules
Juan RP e3bcbfa060 xorg-server: update to 1.7.99.902 (1.8.0-RC2).
This update brings udev support, replacing dbus and hal.

--HG--
extra : convert_revision : d09b044c83d9737a69ccf27b617771782139ecbf
2010-03-30 22:12:30 +02:00

17 lines
462 B
Text

# Udev rules for xorg-server, copy it to /etc/udev/rules.d and
# modify it if you need.
SUBSYSTEM!="input", GOTO="x11_input_end"
ACTION!="change|add", GOTO="x11_input_end"
KERNEL!="event*", GOTO="x11_input_end"
# use the evdev driver by default
ENV{x11_driver}="evdev"
# set xkb layout if we have keys
ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="us"
# use synaptics for touchpads
ENV{ID_INPUT_TOUCHPAD}=="?*", ENV{x11_driver}="synaptics"
LABEL="x11_input_end"