wok-next rev 5767
evdev: Add configuration file
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Mon Jul 05 19:16:56 2010 +0200 (2010-07-05) |
parents | 3cba818315cf |
children | cfc7635b6241 |
files | xorg-xf86-input-evdev/receipt xorg-xf86-input-evdev/stuff/40-evdev.conf |
line diff
1.1 --- a/xorg-xf86-input-evdev/receipt Mon Jul 05 15:16:06 2010 +0000 1.2 +++ b/xorg-xf86-input-evdev/receipt Mon Jul 05 19:16:56 2010 +0200 1.3 @@ -33,5 +33,7 @@ 1.4 mkdir -p $fs/usr/lib/X11/modules/input/ 1.5 cp -a $_pkg/usr/lib/X11/modules/input/*.so \ 1.6 $fs/usr/lib/X11/modules/input/ 1.7 + mkdir -p $fs/etc/X11/xorg.conf.d 1.8 + cp -a stuff/*evdev.conf $fs/etc/X11/xorg.conf.d 1.9 } 1.10
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xorg-xf86-input-evdev/stuff/40-evdev.conf Mon Jul 05 19:16:56 2010 +0200 2.3 @@ -0,0 +1,55 @@ 2.4 +# Catchall classes for input devices 2.5 +# We don't simply match on any device since that also adds accelerometers 2.6 +# and other devices that we don't really want to use. The list below 2.7 +# matches everything. 2.8 + 2.9 +Section "InputClass" 2.10 + Identifier "evdev pointer catchall" 2.11 + MatchIsPointer "on" 2.12 + MatchDevicePath "/dev/input/event*" 2.13 + Driver "evdev" 2.14 +EndSection 2.15 + 2.16 +Section "InputClass" 2.17 + Identifier "evdev keyboard catchall" 2.18 + MatchIsKeyboard "on" 2.19 + MatchDevicePath "/dev/input/event*" 2.20 + Driver "evdev" 2.21 + Option "XkbOptions" "terminate:ctrl_alt_bksp" 2.22 +EndSection 2.23 + 2.24 +Section "InputClass" 2.25 + Identifier "evdev touchpad catchall" 2.26 + MatchIsTouchpad "on" 2.27 + MatchDevicePath "/dev/input/event*" 2.28 + Driver "evdev" 2.29 +EndSection 2.30 + 2.31 +Section "InputClass" 2.32 + Identifier "evdev tablet catchall" 2.33 + MatchIsTablet "on" 2.34 + MatchDevicePath "/dev/input/event*" 2.35 + Driver "evdev" 2.36 +EndSection 2.37 + 2.38 +Section "InputClass" 2.39 + Identifier "evdev touchscreen catchall" 2.40 + MatchIsTouchscreen "on" 2.41 + MatchDevicePath "/dev/input/event*" 2.42 + Driver "evdev" 2.43 +EndSection 2.44 + 2.45 +Section "InputClass" 2.46 + Identifier "evdev joystick catchall" 2.47 + MatchIsJoystick "on" 2.48 + MatchDevicePath "/dev/input/event*" 2.49 + Driver "evdev" 2.50 +EndSection 2.51 + 2.52 +# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable 2.53 +# http://bugs.freedesktop.org/show_bug.cgi?id=22442 2.54 +Section "InputClass" 2.55 + Identifier "ThinkPad HDAPS accelerometer blacklist" 2.56 + MatchProduct "ThinkPad HDAPS accelerometer data" 2.57 + Option "Ignore" "on" 2.58 +EndSection