summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add XK_Meta_L and XK_Meta_R to list of modifiersevdev-1.2-branchSascha Hlusiak2008-04-011-0/+2
| | | | Stopps autorepeating for the meta/super key
* Updated manpage to reflect current stateSascha Hlusiak2008-03-031-194/+73
| | | | 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-201-1/+9
| | | | | 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-191-2/+29
| | | | | | 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-191-0/+16
| | | | 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-191-12/+2
| | | | | 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-191-15/+0
| | | | | 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-291-0/+13
| | | | | | | 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-291-1/+1
| | | | X.Org Bug 13991 <http://bugs.freedesktop.org/show_bug.cgi?id=13991>
* Don't flush buttons on init (bug#12630)Julien Cristau2007-12-071-12/+0
|
* Fix one additional typo in evdev.man (axis named BRAKE, not BREAK).xf86-input-evdev-1.2.0Peter Samuelson2007-10-111-1/+1
|
* evdev.man minor fixesPeter Samuelson2007-10-111-39/+54
| | | | | | | | | | | * 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-031-0/+1
|
* Options: Accept differently-named optionsDaniel Stone2007-08-072-6/+19
| | | | | 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-261-15/+15
| | | | | 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-151-8/+2
|
* Remove inotify things.Tiago Vignatti2007-06-153-144/+1
|
* Update version using PACKAGE_VERSION_*.Zephaniah E. Hull2007-06-131-1/+1
|
* Move the mode option handling to the Init stage.Zephaniah E. Hull2007-06-121-12/+18
| | | | (Sorta ugly placement wise, but the other segfaults.)
* evdev.c:Zephaniah E. Hull2007-06-114-40/+7
| | | | | | | | | | | | | | | | | | | | | 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-061-11/+19
|
* Move MapButtons_t closer to where it's used.Zephaniah E. Hull2007-06-061-7/+7
|
* Wheel mice work again!Zephaniah E. Hull2007-06-064-297/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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-052-12/+29
| | | | | | Make buttons mostly work again. (Short term fix.) NOTE: Wheel to button remapping is still missing!
* Update the copyright notices for me to include 2007.Zephaniah E. Hull2007-06-055-30/+9
| | | | Finish merging copyright notices. (evdev_key.c was missed.)
* Merge branch 'master' of ↵Zephaniah E. Hull2007-06-052-53/+11
|\ | | | | | | | | | | | | | | git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev Conflicts: src/evdev.h
| * Fix header file #ifdef guard.Kristian Høgsberg2007-06-051-3/+3
| |
| * Merge copyright notices.Kristian Høgsberg2007-06-052-50/+8
| |
* | Alright, this is a really big commit that breaks stuff.Zephaniah E. Hull2007-06-054-295/+752
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | evdev.h: Switch to flags in the abs and rel structs. Add the axes struct, and defines. Rework the abs and rel structs, moving stuff to the axes struct and moving everything to the new mapping handling. Add the structs and function declarations for the new tokenization stuff, parsing stuff, and mapping stuff. evdev.c: Add EvdevTokenize, and the evdev_map_parsers list. evdev_axes.c: Basicly a full rewrite, big, messy. We now use a completely different mapping setup for axes, and mapping to buttons is currently missing. However we now handle ABS_CALIB and ABS_AREA, including rotation in both rel and abs modes. evdev_btn.c: Disable lots of code and break things horribly, we compile but we don't work very well. Fixing this is next on my todo list.
* Disable and remove the device when a read error occurs.Peter Hutterer2007-04-241-1/+4
|
* Try harder to make unplugging work.Zephaniah E. Hull2007-04-242-22/+18
|
* Kill some more unused bits.Zephaniah E. Hull2007-04-242-11/+0
|
* Handle driver removal cleanly, we now xfree everything we Xcalloc.Zephaniah E. Hull2007-04-241-9/+67
| | | | | NOTE: Someone needs to check for memory leaks, I'd be willing to bet a fair bit that we've got tons in the mouse and xkb code, but.
* Remove the evil xf86ActivateDevice declaration, don't need it anymore.Zephaniah E. Hull2007-04-241-7/+2
| | | | | | Fix the crash on device unplug. NOTE: We still don't properly get rid of ourselves.
* Remove all of evdev_brain.c and all callers.Zephaniah E. Hull2007-04-244-902/+65
| | | | | | | | | | | | Remove the non-functional 2.4 kernel compiling compatibility. Remove the XInput 1.4+ SendCoreEvents/DontSendCoreEvents define replacements. Remove evdevDriver, some stuff from evdevDevice, all users. NOTE: This WILL BREAK all existing configurations. NOTE: Device read failure segfaults, don't unplug stuff.
* Updated configure to 1.2.0, no changes yet.Zephaniah E. Hull2007-04-241-1/+1
| | | | | | | | | | This branch is the great xserver input-hotplug rewrite, consider it unstable but usable with the 'current' (as of this commit) git xserver. (Once it's more done that is.) NOTE: This branch will _not_ remain source or binary compatable with pre-input-hotplug xservers, you have been warned.
* Remove driver from list if no device is associated any more.Peter Hutterer2007-04-233-3/+69
| | | | | This effectively stops the driver from hotplugging new devices. Devices have to be added with the dbus hotplugging events.
* Remove direct call to DEVICE_INIT, ActivateDevice() takes care of that.Peter Hutterer2007-04-191-2/+1
|
* Add some documentation to evdev.c and evdev_brain.c.Peter Hutterer2007-04-192-0/+107
|
* ActivateDevice() before EnableDevice() in EvdevNew.Peter Hutterer2007-04-191-0/+1
|
* Key: Remove duplicate of keycode 0x6f, remove index 0xf8 to get aPeter Hutterer2007-03-251-3/+1
| | | | maxKeyCode of 255. This way keycode range is in sync with core keyboard range.
* Key: Force maximum keycode to be 255Daniel Stone2007-03-211-0/+121
| | | | | | 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.
* Fix pointer crossing screen bug. Possibly the others input drivers must updateTiago Vignatti2007-02-141-1/+1
| | | | this on the same manner.
* Stop caching the screen size for scaling.Philip Langdale2007-02-102-6/+5
| | | | | | Do be able to correctly scale absolute inputs, the actual screen size must be used as this changes when the screen resizes.
* For reasons related to handling pathological remapping cases, androot2007-01-171-0/+9
| | | | | differences between HID and X, pretend a middle button exists whenever a right button exists.
* Fix a bug where we potentially wrote garbage events when LEDs change.root2007-01-131-1/+15
| | | | Support setting keyboard repeat rate/period.
* Handle swapping of right and middle buttons better in some odder cases.root2007-01-111-10/+13
|
* No more call to xf86OSRingBell in any cases,root2007-01-111-1/+5
| | | | maybe do some conditional stuff later.
* Pad out button_names so we can loop over things more sanely.root2007-01-082-13/+73
| | | | | | | | Support for ignoring the existance of buttons, and for not telling X about them. By default don't tell X about tools and touch as buttons. TODO: Revisit this choice later.
* bump to 1.1.5xf86-input-evdev-1.1.5Daniel Stone2006-12-161-1/+1
|