aboutsummaryrefslogtreecommitdiff
path: root/src/emuWheel.c
Commit message (Collapse)AuthorAge
* 8-bit properties should use 8-bit storage types...Peter Hutterer2008-10-14
| | | | (cherry picked from commit 36d68b006d6bb3d41c93888acead73043ca304a1)
* 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)
* 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)
* 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.
* Stricter value checking for property changes.Peter Hutterer2008-10-11
|
* 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.
* 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>
* 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>