aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.c
Commit message (Collapse)AuthorAge
* Fix a trivial bug in testing for absolute axes.Dan A. Dickey2008-05-20
| | | | Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
* Shut up two compiler warnings.Peter Hutterer2008-05-19
|
* Remove unused EvdevOpts and EvdevOptions.Peter Hutterer2008-05-19
| | | | | | | In the mouse driver, these options are only used if XFree86LOADER is undefined. configure.ac in the xserver forces said define to 1 if we're building the xfree86 DDX, so I don't see the point of having them around. Especially since they weren't used in evdev anyway.
* Don't allow relative and absolute axes on the same device.Peter Hutterer2008-05-02
| | | | | | | | | | | | | This is a bit of a mess. The MS Optical Desktop 2000 registers both relative and absolute axes on the same device (the mouse). The absolute axes have a valid min/max range for x/y and thus overwrite the x/y relative axes in the server (no, this is not a server bug). And I wouldn't be surprised if other devices have similar issues. Since the device only sends relative events after that, the mouse is essentially restricted to the min..max range of 0..255. The server simply doesn't do unrestricted relative axis and restricted absolute axis on the same device (not for the same axis numbers anyway).
* Add XK_Meta_L and XK_Meta_R to list of modifiersSascha Hlusiak2008-04-01
| | | | Stopps meta/super key from autorepeating
* Keyboard: Don't allow arbitrary keymap settingsDaniel Stone2008-03-28
| | | | Pretty much dead code anyway.
* Map REL_DIAL to REL_HWHEEL.Adam Jackson2008-03-14
| | | | | Some Microsoft mice have this wrong. And it seems like a sensible thing to do anyway.
* Filter out repeat events for mouse buttons.Adam Jackson2008-03-12
| | | | | | | | Not many mice do this, but some do, Apple Mighty Mouse in particular, and it makes click-and-drag pretty much impossible to use. Arguably we should filter _all_ repeat events from the kernel and handle synthesizing them in the server.
* Fix middle/right button munging.Adam Jackson2008-03-11
| | | | | | Don't do this in the button map. That's writeable by clients, which means they have the chance to get it wrong. Just swap right and middle around in event dispatch before you get to the user's map.
* Force xkb_model to be "evdev".Adam Jackson2008-03-10
| | | | | Or at least, refuse to recognise the config option. It's nonsensical to use a model of something other than evdev, and it'll just break if you try.
* Fix cut-and-paste errors in xkb alternate spellings codeDan Nicholson2008-03-09
| | | | Fixes 2b334d6b69d7dde5d553c638e134ebdf974749f3.
* Fix cut-and-paste error in abs-to-rel translation.Adam Jackson2008-03-09
|
* Fix the default XKB rules to be "base" instead of "xfree86".Adam Jackson2008-03-09
|
* Handle the alternate spellings of the xkb options.Adam Jackson2008-03-09
|
* Force maximum keycode to be 255Adam Jackson2008-03-08
| | | | | | | | | Even though we don't have keycodes for anything above 127, make sure our map always covers up to 255. This ensures that the keycode range never changes. Spiritually cherry-picked from a9e87f29ccdadebb0742317bb57d66eaaca4b593 and 6db4a9fb84f828f745202c3fddc58d389fca220b.
* Add absolute coordinate event support.Adam Jackson2008-03-08
| | | | | | | | There are two major classes here, touchscreens and touchpads. Touchpads are logically more like relative devices, in that your initial touch should not warp the cursor. So attempt to detect touchpads (via the existence of BTN_TOUCH) and translate absolute events from those devices to relative motion.
* Nuke the keyboard bell code.Adam Jackson2008-03-08
| | | | It did nothing, and the core won't invoke it anymore anyway.
* Re-add XKB support.Adam Jackson2008-03-08
| | | | | Almost entirely taken from a patch I did ages ago in bug #3912, with slight cleanups, and with the KcCGST options removed as per evdev 1.x.
* Parse Option "Path" as well as Option "Device".Adam Jackson2008-03-08
| | | | | The hotplug core passes Path not Device. With this change, hotplugging works.
* Ignore button events above BTN_TASK for now.Adam Jackson2008-03-07
|
* Support the new DIX motion history APIAdam Jackson2008-03-07
| | | | Spiritually cherry-picked from 036b457c1b3f7d2d174da890cb8598d907181f8e
* remove XFree86LOADER usageDaniel Stone2008-03-07
| | | | Build evdevModuleData, et al, unconditionally.
* Unlibcwrap.Adam Jackson2008-03-07
|
* Bug #3913: Suppress kernel-generated repeat events for chording keys.XORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901Adam Jackson2005-09-23
|
* Yet more 2.4 build fixes, this time for BTN_TASK.XORG-6_8_99_900Adam Jackson2005-07-28
|
* Handle BTN_TASK too (#3859).Kristian Høgsberg2005-07-25
|
* Prep input drivers for modularizing by adding guarded #include "config.h"XORG-6_8_99_16XORG-6_8_99_15Adam Jackson2005-07-11
|
* Add some build compatibility for 2.6 linux systems with 2.4 kernel headersXORG-6_8_99_14Adam Jackson2005-07-03
| | | | installed. Allow the use of evdev for mice on 2.4 kernels.
* Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_13Adam Jackson2005-06-25
|
* Bug #968: Grab the event device used by the evdev driver to avoid weirdXORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10Adam Jackson2005-05-11
| | | | | issues when input goes to multiple places. Restrict building the evdev driver to 2.6 kernels since EVIOCGRAB didn't exist in 2.4.
* Handle horizontal wheel events and move mapping of extra buttons up so theysco_port_update-baseXORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1Kristian Høgsberg2005-01-18
| | | | don't overlap the wheel buttons. Patch from Alan Swanson (#968).
* Build fixes for static server.Adam Jackson2005-01-14
|
* Add new evdev input driver. This driver uses the linux input layer directlyKristian Høgsberg2005-01-12
and can handle both mice and keyboards. Convert this to UTF-8 again. The ChangeLog should be kept in UTF-8.