aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAge
* Add a property to toggle function key modePeter Hutterer2011-05-27
| | | | | | | | | | | | | | | | | | | | | 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 <peter.hutterer@who-t.net> Reviewed-by: Michel Dänzer <michel@daenzer.net>
* Add third button emulation.Peter Hutterer2011-02-08
| | | | | | | | | | | | 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 <peter.hutterer@who-t.net> Tested-by: Benjamin Tissoires <tissoire@cena.fr>
* include: EXTRA_DIST is not required for header files.Gaetan Nadon2010-04-19
| | | | | | | The sdk_HEADERS is sufficient as the "sdk" prefix matches the "dir" suffix in the "sdkdir" variable. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Remove the reopen timer logic.Peter Hutterer2009-10-20
| | | | | | | | | This logic was needed in older kernels that sometimes gave error messages after coming back from resume (2.6.27 release kernels). I haven't seen any log files that needed this reopen timer in a long time, suggesting that need for it is gone. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Allow 0 as wheel emulation button for unconditional scrolling (#20529)Dima Kogan2009-08-18
| | | | | | | | | If wheel emulation is on and the emulation button is 0, then any x/y motion of the device is converted into wheel events. The devices becomes a scrolling-only device. Signed-off-by: Dima Kogan <dkogan@cds.caltech.edu> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* man: fix documentation for EVDEV_PROP_WHEEL_BUTTONPeter Hutterer2009-08-14
| | | | | | | 0 doesn't disable it, it's still treated like a button number. copy/paste error. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add support for axes swapping.Peter Hutterer2008-11-03
| | | | | | | | | New option: SwapAxes (boolean) New property: EVDEV_PROP_SWAP_AXES. Actual swapping code written by Donnie Berkholz. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
* Add support for run-time calibration.Peter Hutterer2008-10-30
| | | | | | | | | | Some devices require run-time axis calibration. We can't change the min/max ranges once we've initialised the valuator structs though, so in-driver run-time calibration is required. If the property is set, the driver scales from the calibrated range to the values reported to the X server (which then may scale to screen coordinates). If the property is not set (i.e. zero items) no scaling is performed.
* MB emulation timeout is stored as Time, make the property 32-bit too.Peter Hutterer2008-10-23
|
* Add property support for ReopenAttempts option.Peter Hutterer2008-10-14
|
* Add property support for axis inversion.Peter Hutterer2008-10-03
|
* Install xorg-evdev.pc for clients who need evdev-properties.hPeter Hutterer2008-10-03
|
* Change DragLock atom name - prepend with Evdev.Peter Hutterer2008-10-02
|
* Add evdev-properties.h file with #defines for all property names.Peter Hutterer2008-09-30