aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
* | Clean up a little bit the code.Tiago Vignatti2007-06-15
| |
* | Remove inotify things.Tiago Vignatti2007-06-15
| |
* | Update version using PACKAGE_VERSION_*.Zephaniah E. Hull2007-06-13
| |
* | Move the mode option handling to the Init stage.Zephaniah E. Hull2007-06-12
| | | | | | | | (Sorta ugly placement wise, but the other segfaults.)
* | evdev.c:Zephaniah E. Hull2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set and use the X mode control, letting XInput see it properly. Kill some cruft. evdev.h: Set and use the X mode control, letting XInput see it properly. evdev_axes.c: Set and use the X mode control, letting XInput see it properly. evdev_key.c: Remove some cruft, the bell func can be NULL now, so do so. Don't bother looking for keys above 0xF7 until we can actually do something with them.
* | Handle default remapping around existing button targets better.Zephaniah E. Hull2007-06-06
| |
* | Move MapButtons_t closer to where it's used.Zephaniah E. Hull2007-06-06
| |
* | Wheel mice work again!Zephaniah E. Hull2007-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Old configs don't.) evdev.c: Add EvdevParseMapToButton and EvdevParseMapToButtons to evdev_map_parsers. Add EvdevParseMapOption to search through evdev_map_parsers. Fix up EvdevTokenize to handle the evdev_option_token_t changes. EvdevAxesNew0 after BtnNew0 instead of before now. (This isn't the right fix.) evdev.h: EVDEV_MAXBUTTONS -> BTN_MAX. Redid evdevBtnRec with the new mapping goodness. Removed v_min and v_max from evdevAbsRec. Reworked evdev_option_token_t, no union, no is_chain. If it's a chain, it still has a string, but the chain pointer is set. EvdevParseMapToButton, EvdevParseMapToButtons, and EvdevParseMapOption. evdev_axes.c: Kill off EvdevAxesMapButton, a variant lives in evdev_btn.c now. Changes for the evdev_option_token_t changes. Use EvdevParseMapOption instead of repeating the contents twice. Disable EV_ABS_V_INVERT for the moment. (Better fix maybe needed.) evdev_btn.c: s/Ptr /Rec */g EvdevMapButton and parser. EvdevMapButtons and parser. Nuke EvdevBtnCalcRemap as a whole. Move everything but the alloc to New1 from New0. New mapping code, same guts os the axes mapping code even.
* | Fix REL mode.Zephaniah E. Hull2007-06-05
| | | | | | | | | | | | Make buttons mostly work again. (Short term fix.) NOTE: Wheel to button remapping is still missing!