Commit Graph

44 Commits

Author SHA1 Message Date
matthieu
5590951830 Remove unused screen_width and screen_height fields from
driver private data.
2010-01-10 16:33:44 +00:00
matthieu
73eed35333 Typos in comments and error messages. 2010-01-10 15:22:47 +00:00
matthieu
4fd4d7c316 Default to ZAxisMapping 4 5 6 7.
This is what most users expect noawadays.
2009-12-31 18:01:14 +00:00
matthieu
012236a1be Fix SwapXY and rotation support.
More work to do wrt properties and calibration.
2009-12-10 22:32:02 +00:00
matthieu
bf862c28bf Remove the input driver before returning NULL on error in PreInit(). 2009-12-06 10:32:31 +00:00
matthieu
c98180f2b7 missing commit for mid-button emulation. 2009-11-27 10:30:08 +00:00
matthieu
dcbd99cf98 white space 2009-11-26 18:13:47 +00:00
matthieu
bdbb8460ce regen 2009-11-26 16:45:41 +00:00
matthieu
007942360f Missed this file when adding middle button emulation. 2009-11-26 16:45:02 +00:00
matthieu
8b15b85686 Documentation for Emulate3Buttons and Emulate3Timeout and the associated
properties.
2009-11-26 16:42:52 +00:00
matthieu
c9960a2b5f Add middle mouse button emulation to xf86-input-ws.
Code stolen from evdev, that stole it from xf86-input mouse.
2009-11-26 16:42:06 +00:00
matthieu
18f9c26208 Document device properties 2009-11-26 11:10:09 +00:00
matthieu
910b2d77db Set resx/resy fields of the wscons calibration structure to the saved
values when the calibration properties change.
2009-11-26 10:57:35 +00:00
matthieu
cfe9a6b607 Only default to raw mode for touchpanels. The raw mode doesn't make
sense for mices.
2009-11-25 19:36:57 +00:00
matthieu
e945969695 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.
2009-11-25 19:31:35 +00:00
matthieu
3147c5ee18 The raw mode is a lot more useful now. So enable it by default. 2009-11-25 19:11:55 +00:00
matthieu
d5dc0ce8f5 No need to maintain a local cache of the pointer position anymore. 2009-11-25 18:14:23 +00:00
matthieu
d28a98a22a regen 2009-11-25 18:12:02 +00:00
matthieu
6665646a28 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.
2009-11-25 18:10:26 +00:00
matthieu
15298ef907 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.
2009-11-25 18:03:42 +00:00
matthieu
fcd31496fc Send events upstreams one axis at a time. 2009-11-25 17:59:42 +00:00
matthieu
2baec57bee regen 2009-11-23 22:53:39 +00:00
matthieu
0e46d3a279 Missed one openbsd->xf86 rename. 2009-11-23 22:52:38 +00:00
matthieu
a04d9756c9 conversion_proc is not used anymore since Xserver 1.5.
Don't define one that's never called.
2009-11-23 22:10:29 +00:00
matthieu
bd0a1d71f5 Document option "raw". 2009-11-23 21:33:11 +00:00
matthieu
91bbfc2c74 Fix previous for non tablet cases. the WSMOUSE_IO_GCALIBCOODS fails there. 2009-11-23 21:11:27 +00:00
matthieu
76bf8ac9b1 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.
2009-11-23 18:29:13 +00:00
matthieu
c56921a15d Another unused declaratin bites the dust. 2009-11-23 17:36:23 +00:00
matthieu
068d81918d - fix parameter orders for XInput 2 xf86InitValuatorAxisStruct() calls
- set min/max axis values for absolute valuators
2009-11-23 16:55:52 +00:00
matthieu
feea0e6d5e Set buttons and axis labels for XInput 2. 2009-11-23 16:21:50 +00:00
matthieu
fd1ce4e8f3 Handle NetBSD's wsmouse ABI versions. From marc at msys dot ch. Thanks. 2009-11-23 15:25:11 +00:00
matthieu
96a4b61607 split wsProc(). 2009-11-23 15:16:52 +00:00
matthieu
8dd19e6aa8 typo. From marc@msys.ch. Thanks. 2009-11-23 14:00:17 +00:00
matthieu
d0d883f971 regen 2009-11-23 12:55:49 +00:00
matthieu
39f6c2f761 Bump version -> 1.2.9 2009-11-23 12:54:38 +00:00
matthieu
1d2af3abc7 Fetch the module version from autotools instead of hard-coding it. 2009-11-23 12:54:04 +00:00
matthieu
f8b25a1513 kill white space at EOL 2009-11-23 12:37:32 +00:00
matthieu
e9b14fe7a9 Set correct device type and mode in XInput structures. 2009-11-23 12:35:40 +00:00
matthieu
53fe2d0ea0 Get rid of the now unused remaining moduleInfoRec bits. 2009-11-22 23:00:43 +00:00
matthieu
deae15d61d Prepare for ABI_XINPUT_VERSION 7.
Still missing the actual button and axis labeling,
this can be added at a later point in time.
2009-11-22 22:08:57 +00:00
matthieu
d8fba39f32 regen 2009-11-22 19:40:18 +00:00
matthieu
c6e9475115 Update to idioms used in modern X.Org input drivers. 2009-11-22 19:39:03 +00:00
matthieu
799a140adf unifdef XFree86Loader. It's mandatory nowadays. 2009-11-22 19:26:48 +00:00
matthieu
1e2202c25f Re-import the wscons pointer input driver using the correct name. 2009-11-22 19:12:44 +00:00