Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-12 | Avoid close(-1). ok miod@ | Matthieu Herrb | |
wsClose() is called twice on X server exit, so this test is needed to avoid calling close a 2nd time with -1. | |||
2023-04-27 | Swap saved x/y touchscreen values if axes are swapped. | Anthony J. Bentley | |
This fixes an issue where moving a finger horizontally or vertically on a rotated touchscreen caused the cursor to jump to position along a diagonal line. ok miod@ kettenis@ | |||
2023-04-25 | Fix error message typos: COORS -> COORDS. | Anthony J. Bentley | |
ok matthieu@ | |||
2023-04-25 | xtsscale is in section 1, not section 8. | Anthony J. Bentley | |
2022-05-27 | Do not free() an on-stack array. | Matthieu Herrb | |
Reported by Tobias Nygren using gcc10. | |||
2022-05-11 | Fix typo: ususally -> usually. | Anthony J. Bentley | |
2021-03-28 | Ignore WSMOUSEIO_GTYPE ioctl failure when checking /dev/wsmouse | Joshua Stein | |
When xf86-input-ws has attached separately to all existing mouse devices already or there are no mice plugged in, xf86-input-ws fails to attach to the wsmouse mux as a default fallback because there is no wsmouse device left in the mux to handle the WSMOUSEIO_GTYPE ioctl. If a USB mouse is later plugged in, there will not be any xf86-input-ws driver loaded listening to /dev/wsmouse for input. ok matthieu | |||
2020-09-13 | Use C99 designated structure initializers. | Matthieu Herrb | |
No expected code change. | |||
2019-08-08 | replace obsoleted xf86{,Un}BlockSIGIO() calls by input_{,un}lock() | Matthieu Herrb | |
for xserver 1.20. No functional change. | |||
2019-08-08 | Adapt Block and Wakeup handlers prototypes to X server 1.20. | Matthieu Herrb | |
No functional change. | |||
2019-03-24 | Add support for precision scrolling. | Ulf Brosziewski | |
2018-06-18 | Improve the wheel emulation logic. Make the axis filtering symmetrical, | Ulf Brosziewski | |
and less restrictive for vertical scrolling. Thanks to Jake Champlin for help with the issue. ok matthieu@ | |||
2017-12-31 | If read() returns EIO, then the wsmouse device has gone away and our fd | Philip Guenther | |
to it is useless, so detach the xserver driver and close it. Modeled on similar code in xf86-input-{keyboard,mouse} reminded by Frank Groeneveld (frank (at) frankgroeneveld.nl) ok matthieu@ kettenis@ | |||
2016-10-11 | regen | Matthieu Herrb | |
2016-09-03 | Remove zaurus, zts, and ztsscale references | Philip Guenther | |
2015-12-25 | Explicitely include <sys/time.h> where needed. | Matthieu Herrb | |
From pkgsrc (Takahiro Kambe) via Thomas Klausner. Thanks | |||
2015-08-29 | Read multiple events at once. | Alexandr Shadchin | |
Before: Both drivers currently do one read(2) per event, but since we use a "sync" event we have a least two of them for ws(4) but more commonly 3 for ws(4) and 4 for synaptics(4). most of the code and ok mpi@ | |||
2015-02-17 | log read errors at verbose level 4 and above. | Matthieu Herrb | |
This prevents filling /var/log/Xorg.0.log when a device gets disconnected. XXX more work is needed to actually disable it (and make it possible to automatically re-enable it when it becomes available again). | |||
2013-11-02 | a little header cleanup | Alexandr Shadchin | |
2013-10-30 | Fix jagged diagonal lines (xenocara part) | Alexandr Shadchin | |
Make sure that you have a recent kernel. ok matthieu@. tested edd@, Henri Kemppainen and Alf Schlichting. | |||
2013-07-20 | Sum consecutive dx and dy motion events received separartely from | Matthieu Herrb | |
the kernel before sending them up to X. Reduces staircacse effects on diagonal freehand drawings. Patch from Henri Kemppainen, tested by edd@. Thanks. | |||
2012-07-08 | two nits missing in previous commit | Alexandr Shadchin | |
2012-07-08 | Cleanup and uniform style. No functional changes. | Alexandr Shadchin | |
2012-06-12 | zap extra brackets | Alexandr Shadchin | |
2012-06-12 | fix indent | Alexandr Shadchin | |
2012-06-12 | zap trailing space | Alexandr Shadchin | |
2012-06-12 | Add support ButtonMapping | Alexandr Shadchin | |
ok matthieu@ | |||
2012-06-12 | Small cleanup | Alexandr Shadchin | |
ok matthieu@ | |||
2012-06-12 | Add missing XISetDevicePropertyDeletable and more information about error | Alexandr Shadchin | |
ok matthieu@ | |||
2012-06-12 | Use xf86IDrvMsg in emumb.c instead of ErrorF | Alexandr Shadchin | |
ok matthieu@ | |||
2012-06-12 | Fix some obvious constness-related compile warnings | Alexandr Shadchin | |
ok matthieu@ | |||
2011-12-29 | add _X_EXPORT attribute to public symbols. | Matthieu Herrb | |
2011-11-28 | Adding wheel emulation, ported from evdev(4) | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-19 | regen | Alexandr Shadchin | |
2011-11-19 | Replace WS_NOZMAP on WS_NOMAP. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-19 | Simplify middle button emulation code. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-19 | Add check emulateMB.timeout >= 0. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-19 | ws_debug_level used only if defined DEBUG. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-19 | Using macros MODULETEARDOWNPROTO for prototype. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-19 | config: upgrade to util-macros 1.8 for additional man page support | Alexandr Shadchin | |
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS. It sets the SED env variable with an appropriate sed program path. Use Automake $() for variables in Makefile.am ok matthieu@ | |||
2011-11-19 | Static atoms don't need to be initialized to 0. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-19 | Sync with code. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-09 | Call wsInitProperty() only for WSMOUSE_TYPE_TPANEL and simplify code. | Alexandr Shadchin | |
Also renamed wsInitProperty and wsSetProperty to wsInitCalibProperty and wsSetCalibProperty respectively. ok matthieu@ | |||
2011-11-09 | Simplify wsPreInit | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-09 | Ignore option Raw for mices. (was more noise than useful information) | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-09 | Remove call xf86CollectInputOptions. It is useless if second arg is NULL. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-08 | Mapping scroll events: | Alexandr Shadchin | |
on 4 and 5 buttons (vertical scrolling) on 6 and 7 buttons (horizontal scrolling) This is do default xf86-input-mouse, xf86-input-evdev. Also sync manual page. ok matthieu@ | |||
2011-11-08 | Correct clean bit for scroll buttons plus small optimisation. | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-08 | Process only changed button | Alexandr Shadchin | |
ok matthieu@ | |||
2011-11-08 | Fix memory leak | Alexandr Shadchin | |
ok matthieu@ |