# HG changeset patch # User Antoine Bodin # Date 1278350216 -7200 # Node ID cf7fea36eaf84f795edd4db8a616761706380ee2 # Parent 3cba818315cf7fb3618c41bd1c52f35db857ba5b evdev: Add configuration file diff -r 3cba818315cf -r cf7fea36eaf8 xorg-xf86-input-evdev/receipt --- a/xorg-xf86-input-evdev/receipt Mon Jul 05 15:16:06 2010 +0000 +++ b/xorg-xf86-input-evdev/receipt Mon Jul 05 19:16:56 2010 +0200 @@ -33,5 +33,7 @@ mkdir -p $fs/usr/lib/X11/modules/input/ cp -a $_pkg/usr/lib/X11/modules/input/*.so \ $fs/usr/lib/X11/modules/input/ + mkdir -p $fs/etc/X11/xorg.conf.d + cp -a stuff/*evdev.conf $fs/etc/X11/xorg.conf.d } diff -r 3cba818315cf -r cf7fea36eaf8 xorg-xf86-input-evdev/stuff/40-evdev.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xorg-xf86-input-evdev/stuff/40-evdev.conf Mon Jul 05 19:16:56 2010 +0200 @@ -0,0 +1,55 @@ +# Catchall classes for input devices +# We don't simply match on any device since that also adds accelerometers +# and other devices that we don't really want to use. The list below +# matches everything. + +Section "InputClass" + Identifier "evdev pointer catchall" + MatchIsPointer "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev keyboard catchall" + MatchIsKeyboard "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" + Option "XkbOptions" "terminate:ctrl_alt_bksp" +EndSection + +Section "InputClass" + Identifier "evdev touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev tablet catchall" + MatchIsTablet "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev touchscreen catchall" + MatchIsTouchscreen "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev joystick catchall" + MatchIsJoystick "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable +# http://bugs.freedesktop.org/show_bug.cgi?id=22442 +Section "InputClass" + Identifier "ThinkPad HDAPS accelerometer blacklist" + MatchProduct "ThinkPad HDAPS accelerometer data" + Option "Ignore" "on" +EndSection