IABSD.fr/xenocara/driver/xf86-input-ws

Branch :


Log

Author Commit Date CI Message
thodg a5ed94cc 2026-04-22 17:35:19 iabsd
4c4398b2 2023-08-12 16:48:44 Avoid close(-1). ok miod@ wsClose() is called twice on X server exit, so this test is needed to avoid calling close a 2nd time with -1.
e4477439 2023-04-27 12:25:56 Swap saved x/y touchscreen values if axes are swapped. 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@
3e7961fb 2023-04-25 20:18:48 Fix error message typos: COORS -> COORDS. ok matthieu@
becd7a84 2023-04-25 16:07:13 xtsscale is in section 1, not section 8.
8aaca222 2022-05-27 16:34:34 Do not free() an on-stack array. Reported by Tobias Nygren using gcc10.
57ae4c77 2022-05-11 07:48:58 Fix typo: ususally -> usually.
2cc95a69 2021-03-28 15:57:45 Ignore WSMOUSEIO_GTYPE ioctl failure when checking /dev/wsmouse 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
fd0b27a5 2020-09-13 10:26:31 Use C99 designated structure initializers. No expected code change.
3a6045e4 2019-08-08 12:28:09 replace obsoleted xf86{,Un}BlockSIGIO() calls by input_{,un}lock() for xserver 1.20. No functional change.
2aeb2bf6 2019-08-08 12:23:34 Adapt Block and Wakeup handlers prototypes to X server 1.20. No functional change.
c43f5dfd 2019-03-24 17:59:19 Add support for precision scrolling.
a011f4db 2018-06-18 20:07:30 Improve the wheel emulation logic. Make the axis filtering symmetrical, and less restrictive for vertical scrolling. Thanks to Jake Champlin for help with the issue. ok matthieu@
3eafa14c 2017-12-31 23:31:41 If read() returns EIO, then the wsmouse device has gone away and our fd 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@
fd18c20e 2016-10-11 22:14:30 regen
8c95c275 2016-09-03 14:01:16 Remove zaurus, zts, and ztsscale references
e033e2ed 2015-12-25 15:08:28 Explicitely include <sys/time.h> where needed. From pkgsrc (Takahiro Kambe) via Thomas Klausner. Thanks
d1fc35bb 2015-08-29 08:48:28 Read multiple events at once. 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@
9b16ccde 2015-02-17 08:21:14 log read errors at verbose level 4 and above. 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).
55854c36 2013-11-02 13:17:32 a little header cleanup
0e583835 2013-10-30 18:05:34 Fix jagged diagonal lines (xenocara part) Make sure that you have a recent kernel. ok matthieu@. tested edd@, Henri Kemppainen and Alf Schlichting.
1449a85f 2013-07-20 13:24:50 Sum consecutive dx and dy motion events received separartely from the kernel before sending them up to X. Reduces staircacse effects on diagonal freehand drawings. Patch from Henri Kemppainen, tested by edd@. Thanks.
23848418 2012-07-08 14:22:03 two nits missing in previous commit
4777ba76 2012-07-08 13:51:11 Cleanup and uniform style. No functional changes.
efc79f59 2012-06-12 17:59:01 zap extra brackets
6810536b 2012-06-12 17:44:56 fix indent
c141be6b 2012-06-12 17:19:01 zap trailing space
19315c6e 2012-06-12 17:12:50 Add support ButtonMapping ok matthieu@
90e4158e 2012-06-12 17:11:23 Small cleanup ok matthieu@
2bfb1dd8 2012-06-12 17:10:03 Add missing XISetDevicePropertyDeletable and more information about error ok matthieu@
b13ea1a2 2012-06-12 17:06:43 Use xf86IDrvMsg in emumb.c instead of ErrorF ok matthieu@
3abd8f37 2012-06-12 17:04:43 Fix some obvious constness-related compile warnings ok matthieu@
50cf5715 2011-12-29 13:48:05 add _X_EXPORT attribute to public symbols.
86e4fbcc 2011-11-28 23:49:59 Adding wheel emulation, ported from evdev(4) ok matthieu@
2cba20c2 2011-11-19 13:22:56 regen
3917241c 2011-11-19 13:12:49 Replace WS_NOZMAP on WS_NOMAP. ok matthieu@
67a6690c 2011-11-19 13:09:16 Simplify middle button emulation code. ok matthieu@
d7335b6e 2011-11-19 13:05:33 Add check emulateMB.timeout >= 0. ok matthieu@
cb94a413 2011-11-19 12:59:55 ws_debug_level used only if defined DEBUG. ok matthieu@
df8922a1 2011-11-19 12:46:08 Using macros MODULETEARDOWNPROTO for prototype. ok matthieu@
15c39742 2011-11-19 12:42:57 config: upgrade to util-macros 1.8 for additional man page support 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@
3734bac4 2011-11-19 12:36:16 Static atoms don't need to be initialized to 0. ok matthieu@
90da7d92 2011-11-19 12:28:10 Sync with code. ok matthieu@
6946fdba 2011-11-09 16:17:44 Call wsInitProperty() only for WSMOUSE_TYPE_TPANEL and simplify code. Also renamed wsInitProperty and wsSetProperty to wsInitCalibProperty and wsSetCalibProperty respectively. ok matthieu@
2800db42 2011-11-09 16:08:42 Simplify wsPreInit ok matthieu@
e6f2cf8c 2011-11-09 16:07:13 Ignore option Raw for mices. (was more noise than useful information) ok matthieu@
a86fa301 2011-11-09 16:04:50 Remove call xf86CollectInputOptions. It is useless if second arg is NULL. ok matthieu@
ebf79542 2011-11-08 12:57:44 Mapping scroll events: 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@
25e80ee6 2011-11-08 12:55:26 Correct clean bit for scroll buttons plus small optimisation. ok matthieu@
9272c2f8 2011-11-08 12:53:14 Process only changed button ok matthieu@
4ad39eb2 2011-11-08 12:51:32 Fix memory leak ok matthieu@
35b66ec5 2011-11-07 18:42:32 Replace xf86FindOptionValue on xf86SetStrOption. If option set as "", then xf86FindOptionValue returns "", and xf86SetStrOption returns NULL. ok matthieu@
7fbf1ea7 2011-11-07 18:38:12 Small fix manual page ok matthieu@
c581ee87 2011-11-07 18:36:53 Remove code for ABI_XINPUT_VERSION < 12 ok matthieu@
3d54603d 2011-11-07 18:33:04 Replace xf86Msg on xf86IDrvMsg. The latter provides a standardised message format in the form of driver name: device name: message ok matthieu@
a8eeddbe 2011-11-06 16:20:27 Remove prototype wsChangeControl, this is missing in last change
6d15c8ed 2011-10-16 17:54:07 Some cleanup: * remove trailing whitespace * remove odd pInfo->private = priv * remove wsChangeControl (not used) * remove useless actions in wsControlProc ok matthieu@
be13f4d3 2011-07-17 13:08:38 Unifdef support for xinput ABI up to 10.
223f0b15 2011-07-16 17:51:30 Unifdef support for xinput ABI up to 10.
64adaaec 2011-07-16 17:50:41 Mention that this driver also supports ums(4), tweaks and white-space cleanups.
aec35148 2011-05-08 10:38:13 fix xf86-input-ws on xserver 1.9 and earlier. <xorg-server.h> is needed to get the proper Xinput ABI definition from other headers.
1bf60a50 2011-04-24 15:55:12 xf86-input-ws 1.3.0: - API compatibility with Xserver 1.10 - sync build system with other Xorg input modules
a70129d1 2010-06-06 20:38:03 Drop empty .TP. From Joerg Sonnenberger at NetBSD.
55909518 2010-01-10 16:33:44 Remove unused screen_width and screen_height fields from driver private data.
73eed353 2010-01-10 15:22:47 Typos in comments and error messages.
4fd4d7c3 2009-12-31 18:01:14 Default to ZAxisMapping 4 5 6 7. This is what most users expect noawadays.
012236a1 2009-12-10 22:32:02 Fix SwapXY and rotation support. More work to do wrt properties and calibration.
bf862c28 2009-12-06 10:32:31 Remove the input driver before returning NULL on error in PreInit().
c98180f2 2009-11-27 10:30:08 missing commit for mid-button emulation.
dcbd99cf 2009-11-26 18:13:47 white space
bdbb8460 2009-11-26 16:45:41 regen
00794236 2009-11-26 16:45:02 Missed this file when adding middle button emulation.
8b15b856 2009-11-26 16:42:52 Documentation for Emulate3Buttons and Emulate3Timeout and the associated properties.
c9960a2b 2009-11-26 16:42:06 Add middle mouse button emulation to xf86-input-ws. Code stolen from evdev, that stole it from xf86-input mouse.
18f9c262 2009-11-26 11:10:09 Document device properties
910b2d77 2009-11-26 10:57:35 Set resx/resy fields of the wscons calibration structure to the saved values when the calibration properties change.
cfe9a6b6 2009-11-25 19:36:57 Only default to raw mode for touchpanels. The raw mode doesn't make sense for mices.
e9459696 2009-11-25 19:31:35 When calibrating directly update the axis structures with new min/max values. In xserver 1.7 with axis labels, the init function used previously makes no sense anymore.
3147c5ee 2009-11-25 19:11:55 The raw mode is a lot more useful now. So enable it by default.
d5dc0ce8 2009-11-25 18:14:23 No need to maintain a local cache of the pointer position anymore.
d28a98a2 2009-11-25 18:12:02 regen
6665646a 2009-11-25 18:10:26 Implement device properties for calibration data. Setting the properties also write to the kernel table. The calibration code can now change the data without quitting X.
15298ef9 2009-11-25 18:03:42 Save a copy of the kernel calibration data in the private data and use it to save/restore the state during DEVICE_ON/DEVICE_OFF.
fcd31496 2009-11-25 17:59:42 Send events upstreams one axis at a time.
2baec57b 2009-11-23 22:53:39 regen
0e46d3a2 2009-11-23 22:52:38 Missed one openbsd->xf86 rename.
a04d9756 2009-11-23 22:10:29 conversion_proc is not used anymore since Xserver 1.5. Don't define one that's never called.
bd0a1d71 2009-11-23 21:33:11 Document option "raw".
91bbfc2c 2009-11-23 21:11:27 Fix previous for non tablet cases. the WSMOUSE_IO_GCALIBCOODS fails there.
76bf8ac9 2009-11-23 18:29:13 Implement a new "raw" mode that will put a panel in raw mode. Calibration data is read from the kernel, so things still work in this mode.
c56921a1 2009-11-23 17:36:23 Another unused declaratin bites the dust.
068d8191 2009-11-23 16:55:52 - fix parameter orders for XInput 2 xf86InitValuatorAxisStruct() calls - set min/max axis values for absolute valuators
feea0e6d 2009-11-23 16:21:50 Set buttons and axis labels for XInput 2.
fd1ce4e8 2009-11-23 15:25:11 Handle NetBSD's wsmouse ABI versions. From marc at msys dot ch. Thanks.
96a4b616 2009-11-23 15:16:52 split wsProc().
8dd19e6a 2009-11-23 14:00:17 typo. From marc@msys.ch. Thanks.
d0d883f9 2009-11-23 12:55:49 regen
39f6c2f7 2009-11-23 12:54:38 Bump version -> 1.2.9
1d2af3ab 2009-11-23 12:54:04 Fetch the module version from autotools instead of hard-coding it.
f8b25a15 2009-11-23 12:37:32 kill white space at EOL