path: root/src/
AgeCommit message (Collapse)AuthorFilesLines
2013-10-04Use libevdev as backendPeter Hutterer1-2/+2
Removes the need to ioctl manually and check bits, with all the dangers that come with that. libevdev is much better prepared for invalid values, OOB checks, etc. Plus, we get almost free SYN_DROPPED handling as well which we didn't have before. Signed-off-by: Peter Hutterer <> Reviewed-by: Adam Jackson <>
2012-08-07Link against libudevPeter Hutterer1-1/+1
Fixes /usr/bin/Xorg: symbol lookup error: /usr/lib64/xorg/modules/input/ undefined symbol: udev_new This doesn't appear in the default configuration as Xorg links against libudev and the symbol is defined when evdev is loaded. It can be reproduced with a HAL-enabled server. Signed-off-by: Peter Hutterer <> Reviewed-by: Chase Douglas <>
2012-06-15Move axis labels into a separate header filePeter Hutterer1-1/+2
Just to unclutter the code Signed-off-by: Peter Hutterer <>
2011-11-11Use MTDev for multitouch devicesChase Douglas1-0/+1
MTDev translates all multitouch devices to the slotted evdev protocol. This provides a clean and uniform interface and reduces message handling inside the input module and X. Signed-off-by: Chase Douglas <>
2011-05-27Add a property to toggle function key modePeter Hutterer1-1/+2
On some keyboards, the multimedia function keys are overlaid with the F keys. This property enables clients to switch the primary mode of these F keys between function keys and multimedia keys. Some keyboards provide an Fn key to toggle between the modes. This is hardware-specific and may or may not work on any given keyboard device. The current imlementation is only hooked up to apple keyboards. The kernel provides a tweak to enable/disable. /sys/module/hid_apple/parameters/fnmode 0 .. keyboard sends Fx keys, Fn disabled 1 .. keyboard sends multimedia keys, Fn toggles to function keys 2 .. keyboard sends function keys, Fn toggles to multimedia keys If fnmode is on 0, we force it to 2. Signed-off-by: Peter Hutterer <> Reviewed-by: Michel Dänzer <>
2011-02-08Add third button emulation.Peter Hutterer1-0/+1
New properties: "Evdev Third Button Emulation" → switch on/off "Evdev Third Button Emulation Timeout" → timeout until event is delivered "Evdev Third Button Emulation Button" → phys button to be emulated "Evdev Third Button Emulation Threshold" → move threshold before emulation is cancelled Signed-off-by: Peter Hutterer <> Tested-by: Benjamin Tissoires <>
2010-04-19config: replace deprecated INCLUDES with AM_CPPFLAGSGaetan Nadon1-2/+1
Signed-off-by: Gaetan Nadon <>
2010-02-11config: move CWARNFLAGS from to Makefile.amGaetan Nadon1-1/+2
Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <>
2009-02-02Janitor: make distcheck, .gitignore.Paulo Cesar Pereira de Andrade1-0/+2
Remove non toplevel .gitignore and .cvsignore files. The "make distcheck correction" for $(sdkdir) probably has a better approach using a "*-hook:" target, or possibly making $sdkdir a configure time option that could be set with DISTCHECK_CONFIGURE_FLAGS.
2008-09-30Add evdev-properties.h file with #defines for all property names.Peter Hutterer1-0/+2
2008-08-18Adding in DragLockButtons functionality.Chris Salch1-1/+2
Signed-off-by: Peter Hutterer <>
2008-08-07Adding mouse wheel emulation code.Chris Salch1-1/+3
Signed-off-by: Peter Hutterer <>
2008-06-10Enable middle-mouse button emulation.Peter Hutterer1-1/+3
Ported from xf86-input-mouse, with a few cleanups.
2005-07-12Build skeletons for input drivers. Should basically work.Adam Jackson1-0/+31