aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* evdev 1.99.3xf86-input-evdev-1.99.3Adam Jackson2008-06-10
|
* Disable middle mouse button emulation when a real middle MB event is detected.Peter Hutterer2008-06-10
| | | | | | Devices may report middle mouse buttons even if they don't have one (PS/2 devices just don't know any better), so we can't be sure until we see the event.
* Enable middle-mouse button emulation.Peter Hutterer2008-06-10
| | | | Ported from xf86-input-mouse, with a few cleanups.
* Plug a memory leak, we allocated pEvdev twice, dropping the first memory area.Peter Hutterer2008-06-10
|
* evdev: Port b4a5a204 "Fix pointer crossing screen bug." to current master branchSven Wegener2008-06-08
| | | | | | | | | The commit b4a5a204 fixed an issue, where we can't move the pointer to other screens and this happens in current master branch again. This commit ports the old commit to the current master branch. Signed-off-by: Sven Wegener <swegener@gentoo.org> Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
* Check for XINPUT ABI < 3 (corrected version)Peter Hutterer2008-06-08
| | | | Thanks to Sven Wegener for pointing out the incorrect previous version.
* Revert "Check for XINPUT ABI, parameters of InitValuatorClassRec have changed."Peter Hutterer2008-06-08
| | | | | | | GetMotionEvents() doesn't exist, led to compile errors with servers pre-MPX merge. Thanks to Sven Wegener for pointing this out. This reverts commit 42422d8f69e6806e1adfd93017cac064a75041c7.
* Check for XINPUT ABI, parameters of InitValuatorClassRec have changed.Peter Hutterer2008-05-26
|
* Fail if the device cannot be grabbed during the probe.Peter Hutterer2008-05-23
| | | | | | | | | If the grab fails, this is most likely a sign that the device has been grabbed already (probably by a device specified in xorg.conf). So let's not add the device to the server's input device list, since it won't generate events anyway. Exception: keyboards and kernel 2.4 are not affected.
* evdev 1.99.2xf86-input-evdev-1.99.2Adam Jackson2008-05-21
|
* 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.
* man: Option "Path" is supported in the code, add it to man page.Peter Hutterer2008-05-18
|
* 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
|
* Merge branch 'evdev-2.0-branch'Adam Jackson2008-03-08
|\ | | | | | | | | | | | | This resets to before the ad-hoc input hotplug state, ports that to current server ABI, adds input hotplug integration, and re-adds support for absolute coordinate events and XKB. Several other small fixes were cherry-picked from the new 1.2 branch.
| * 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
| |
| * Branch for evdev 2.0Adam Jackson2008-03-07
| |
* | Updated manpage to reflect current stateSascha Hlusiak2008-03-03
| | | | | | | | Large parts of the manpage were obsolete and confused users. Current state should reflect all available driver options. Some details are still missing.
* | More accurate error messages on device open fail.Sascha Hlusiak2008-02-20
| | | | | | | | | | The message "cannot open input pEvdev" resulted in a lot of bug reports of confused users that did not supply a device path. Now we tell them when it is missing or print out a reason when device open fails.
* | Let kernel autorepeat pass when set on default valuesSascha Hlusiak2008-02-19
| | | | | | | | | | | | xorg-server won't generate soft autorepeat, when interval/delay are at default of 40/660 (see xkb/ddxCtrls.c: XkbDDXUsesSoftRepeat). When we hit the defaults, we let the kernel autorepeat pass, if we differ, we swallow them all and let the server figure out autorepeat in software.
* | Set repeat_delay and repeat_interval to default valuesSascha Hlusiak2008-02-19
| | | | | | | | Set ctrls->repeat_delay and ctrls->repeat_interval so that keys will be automatically repeated in software.
* | Filter all incoming repeated key eventsSascha Hlusiak2008-02-19
| | | | | | | | | | Not just filter modifiers but every repeated key, because the software implementation will take care of what key to repeat and what not. Otherwise the kernel's autorepeated keys interfere with the software generated ones.
* | Don't inform kernel evdev driver about autorepeat changeSascha Hlusiak2008-02-19
| | | | | | | | | | We do autorepeat in software now. Informing the kernel would change the autorepeat speed on virtual terminals, which is probably not wanted so we leave the settings untouched.
* | Clear EV_ABS_V_USE_TOUCH for devices without a touch buttonVinay Bondhugula2008-01-29
| | | | | | | | | | | | | | VMware's absolute pointing device does not have a pressure/touch button. Although evdev correctly recognizes this, it sets "use_touch" for X and Y axes regardless of the touch button. This patch clears the USE_TOUCH flag for the X and Y axes if the device does not have a touch button.
* | Initialise b_map_data to correct size. Bug #13991Peter Hutterer2008-01-29
| | | | | | | | X.Org Bug 13991 <http://bugs.freedesktop.org/show_bug.cgi?id=13991>
* | Don't flush buttons on init (bug#12630)Julien Cristau2007-12-07
| |
* | Fix one additional typo in evdev.man (axis named BRAKE, not BREAK).xf86-input-evdev-1.2.0Peter Samuelson2007-10-11
| |
* | evdev.man minor fixesPeter Samuelson2007-10-11
| | | | | | | | | | | | | | | | | | | | | | * Use \- (ASCII dash) instead of - (hyphen), where appropriate * Use a roff escape instead of a UTF-8 character. * Consistent use of quote characters. * Consistent use of typographic conventions: italic "n" in place of "<N>" or "integer" or "number", bold for option names, bit maps, etc. Debian bug #446118
* | Add *~ to .gitignore to skip patch/emacs droppingsJames Cloos2007-09-03
| |
* | Options: Accept differently-named optionsDaniel Stone2007-08-07
| | | | | | | | | | Take some differently-named options for device and the XKB options. These should really be better-handled, but eh.
* | Multiple typos in evdev.manBrice Goglin2007-07-26
| | | | | | | | | | Reported by "A. Costa" <agcosta@gis.net> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432063