aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* evdev 2.1 RC 1.xf86-input-evdev-2.0.99.1Peter Hutterer2008-10-14
|
* Fix "Device reopened after N attempts" message.Peter Hutterer2008-10-14
| | | | (cherry picked from commit 0089d931ac5fb290c82908da652b28c8b515d449)
* Don't init draglock, etc. if we don't have the required capabilities.Peter Hutterer2008-10-14
| | | | (cherry picked from commit 0f5a5ac09ebc89e984b72d395475bb9f412e240c)
* 8-bit properties should use 8-bit storage types...Peter Hutterer2008-10-14
| | | | (cherry picked from commit 36d68b006d6bb3d41c93888acead73043ca304a1)
* Don't include the client-side header anymore. xkbstr.h is server SDK.Peter Hutterer2008-10-14
| | | | (cherry picked from commit bb1f42168761b928478a9cb066457b525c41ddd9)
* Tidy up evdev.hPeter Hutterer2008-10-14
| | | | | | This includes shuffling some functions around so we don't need the prototypes in evdev.h. (cherry picked from commit 0405f7b17fb0ce5cadcc6c5aa6eeb61bdacdf9cd)
* Rename DragLockInit to DragLockPreInit, remove superfluous "return".Peter Hutterer2008-10-14
| | | | (cherry picked from commit 088e0a175a4913bf827c1f7e19de09fdf987d347)
* Register property handler from within the modules, not the main evdev file.Peter Hutterer2008-10-14
| | | | (cherry picked from commit cefedeb205291001e7e47b7516de261dbccce059)
* Clean up program flow - don't call PreInit for "modules" on DEVICE_INIT.Peter Hutterer2008-10-14
| | | | | | | Call the PreInit functions for MB Emulation, wheel emu, and draglock during PreInit, not on DEVICE_INIT. This way, we only parse the options once and don't overwrite with defaults when coming back from a VT switch. (cherry picked from commit b0737bdbd1f6e601eb4984b6f4cb49279190984c)
* Janitor: clean up xf86Msg use, might as well use X_CONFIG directly.Peter Hutterer2008-10-14
| | | | (cherry picked from commit 5f2c8a2dcdf98b39997ee5e7c9a9ace3b640bfa3)
* Add property support for ReopenAttempts option.Peter Hutterer2008-10-14
| | | | (cherry picked from commit ff783fce65a63707555098759692b22147646263)
* Document properties in man page.Peter Hutterer2008-10-14
| | | | (cherry picked from commit c638aa4a88116a1219cf4941aacd630e070db099)
* Document InvertX/Y options.Peter Hutterer2008-10-14
| | | | (cherry picked from commit b46677e346c33379cac814895641349cbd3b37f2)
* Remove "Path" option.Peter Hutterer2008-10-11
| | | | | Path was just an alias for Device anyway, so we might as well not parse it. By now you should be using HAL anyway which fills in Device for you.
* Remove parsing of ScreenNumber option.Peter Hutterer2008-10-11
| | | | Was unused anyway, so we might as well not parse it.
* Janitor: purge unused headers, reshuffle for readability, fix whitespace errors.Peter Hutterer2008-10-11
|
* Add checkonly handling to property handlers.Peter Hutterer2008-10-11
| | | | | If checkonly is TRUE, we can only check if applying the value would succeed. The value is actually applied if checkonly is FALSE.
* Fix up bad return code in draglock property handler.Peter Hutterer2008-10-11
|
* Stricter value checking for property changes.Peter Hutterer2008-10-11
|
* Set pInfo->fd to -1 on DEVICE_CLOSEJulien Cristau2008-10-11
| | | | | | | | This allows the reopen logic to kick in later. DEVICE_CLOSE gets called on regen, so without this we'd keep a stale file descriptor in pInfo->fd in subsequent sessions. Debian bug#496101 (http://bugs.debian.org/496101)
* Add property support for axis inversion.Peter Hutterer2008-10-03
|
* Add support for axis inversion.Søren Hauberg2008-10-03
|
* Install xorg-evdev.pc for clients who need evdev-properties.hPeter Hutterer2008-10-03
|
* Close fd on DEVICE_OFF. (LP #276887)Peter Hutterer2008-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | Leaving the fd open means we still get keyboard events after VT switching away. Coming back, some of these events are replayed on the application that has the current focus. Reproduceable: 1. open terminal, focus. 2. VT switch away 3. type something, preferably a password 4. VT switch back, trigger a mouse event 5. Observe the X server guessing your password. Closing the fd on DEVICE_OFF fixes this. Reopen is handled by the reopen code introduced with commit 9930477cbeb4acfd070ae70894d13ffabfc347b8 Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Tue Aug 26 14:33:40 2008 +0930 Attempt to re-open devices on read errors. Launchpad Bug 276887 <https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/276887>
* Remove useless initialization of rc.Peter Hutterer2008-10-02
|
* Change DragLock atom name - prepend with Evdev.Peter Hutterer2008-10-02
|
* Move misplaced #endifPeter Hutterer2008-09-30
|
* Register property handlers directly, instead of abstracting them.Peter Hutterer2008-09-30
| | | | | | This removes a left-over from the early device property code where we could only have a single handler. Now it's easier to just register the handlers for each subsystem (emulate wheel, draglock and MB emulation).
* Cleanup: "valid_vals" should be "vals" now.Peter Hutterer2008-09-30
|
* Add evdev-properties.h file with #defines for all property names.Peter Hutterer2008-09-30
|
* Use new property API (no ConfigureDP, less args to ChangeDP)Peter Hutterer2008-09-26
| | | | | Return appropriate status codes from property handlers. Make properties non-deletable.
* draglock: Shut up compiler warning.Peter Hutterer2008-09-26
|
* Don't require randrproto.Peter Hutterer2008-09-26
|
* Attempt to re-open devices on read errors.Peter Hutterer2008-09-04
| | | | | | | | | | | | Coming back from resume may leave us with a file descriptor that can be opened but fails on the first read (ENODEV). In this case, try to open the device until it becomes available or until the predefined count expires. To be safe, we cache the information from the device and compare against it when we re-open. This way we ensure that if the topology changes under us, we don't open a completely different device. If a device has changed, we disable it. Adds option "ReopenAttempts" <int>
* Use HAVE_PROPERTIES define instead of GET_ABI_MAJOR for property compilation.Peter Hutterer2008-09-04
|
* Shut up "unused variable" compiler warnings.Peter Hutterer2008-09-04
| | | | Hide properties behind ifdefs, fake use of "val".
* Wheel emulation: initial values must be char.Peter Hutterer2008-08-25
| | | | parsing int* to char* in XIChangeDeviceProperty means we lose values.
* Init all emulateWheel values, even if EmulateWheel is disabled.Peter Hutterer2008-08-22
| | | | | | Even if we don't want EmulateWheel, we can at least init everything to usable values. This way we only need to toggle "enabled", rather than initialising the whole lot before usage.
* Add wheel timeout property supportDan Nicholson2008-08-22
| | | | | | | Copied from the wheel inertia property support. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
* Add timeout support for mouse wheel emulationDan Nicholson2008-08-22
| | | | | | | Support the EmulateWheelTimeout option as the mouse driver does. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
* Add property support for drag lock.Peter Hutterer2008-08-18
|
* Adding in DragLockButtons functionality.Chris Salch2008-08-18
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
* Force rules, not model, to be evdevDaniel Stone2008-08-16
| | | | | | xkeyboard-config recently changed to a separate ruleset for the evdev driver, so match that by only forcing the ruleset, not the model, to be evdev.
* Revert "Don't grab devices unless specified through the config options."Peter Hutterer2008-08-15
| | | | | | | | | | Not such a good idea, CTRL+C terminates the server and other issues. Reverting for now until a better solution is found, at least this way the driver is usable. See also: http://lists.freedesktop.org/archives/xorg/2008-August/038032.html This reverts commit e8534d47c8524ac081c2e3e6ebaabe4c6b274a18.
* Don't grab devices unless specified through the config options.Peter Hutterer2008-08-14
| | | | | | | Grabbing event devices stops in-kernel event forwarding, most notably rfkill and the "Macintosh mouse button emulation" device. Let's not do that. Option "GrabDevice" forces grabbing the device.
* Filter wheel events before middle mouse button emulation.Chris Salch2008-08-08
| | | | | | | The Emulate3Button needs to be the last filter function, otherwise the timeout code causes it to hijack button presses for the first 3 buttons. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
* Simplify the property handler registration.Peter Hutterer2008-08-08
| | | | | Instead of having separate handlers for each property, just handle all of them in one handler for emuMB, and one handler for emuWheel.
* Add EVDEV_MAXBUTTONS instead of checking against 32.Peter Hutterer2008-08-08
| | | | Numbers are so lame, defines are all the rage now I've heard.
* Expose wheel emulation through device properties.Peter Hutterer2008-08-08
| | | | Don't enable wheel emulation with 0 inertia - bad things happen.
* Adding mouse wheel emulation code.Chris Salch2008-08-07
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>