Commit Graph

2615 Commits

Author SHA1 Message Date
matthieu
017934b7cb Tidy up error messages. 2009-11-26 11:35:29 +00:00
matthieu
18f9c26208 Document device properties 2009-11-26 11:10:09 +00:00
matthieu
3726a05d85 Document aborting the process with ESC. 2009-11-26 11:02:35 +00:00
matthieu
cff976af37 Allow the ESC key to interrupt the calibration process. 2009-11-26 10:58:45 +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
bbbb8c20ea Better error handling during device selection. 2009-11-25 23:00:57 +00:00
matthieu
f194ce2bfc Search for calibration properties atoms earlier, to avoid a screen
flash when they are not present.
2009-11-25 19:43:05 +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
2733f18bd5 New, XInput based, version of xtsscale(1).
XInput is used to get raw events from the device and device properties
are used to send the data back to the X server.
Calibration can now be done without restarting X.
2009-11-25 18:30:13 +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
279e764019 Update to xf86-video-radeonhd 1.3.0
Tested by killi@ on a HD3200.
2009-11-24 16:57:34 +00:00
matthieu
c3d957f5fb Update to xf86-video-openchrome 0.2.904.
Tested by myself and kevlo@ on V800 and V855 chipsets.
2009-11-24 16:54:55 +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
todd
093f55af8f sync 2009-11-23 15:40:25 +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
3a858b5a6e unifdef USB_NEW_HID.
USB_GET_REPORT_ID is available on NetBSD and OpenBSD for more
than 7 years now.
2009-11-22 23:16:54 +00:00
matthieu
d1e2bf33ac Get rid of the now unused remaining moduleInfoRec bits. 2009-11-22 23:06:24 +00:00
matthieu
1403cc1e0c regen 2009-11-22 23:04:47 +00:00
matthieu
bbabd84556 Update to idioms used in modern X.Org input drivers. 2009-11-22 23:03:04 +00:00
matthieu
53fe2d0ea0 Get rid of the now unused remaining moduleInfoRec bits. 2009-11-22 23:00:43 +00:00
matthieu
876c2ea266 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:30:18 +00:00
matthieu
3f1a5f5c59 unifdef XFree86Loader. It's mandatory nowadays. 2009-11-22 22:20:26 +00:00
matthieu
68823f5b52 Update to idioms used in modern X.Org input drivers. 2009-11-22 22:18:12 +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
tobias
44eea5f75c Corrected grammar in comment.
ok (and better style suggestion by) oga, okan
2009-11-22 21:38:50 +00:00
oga
b29bbd29c1 Some improvements from upstream for the GEM buffer object cache to stop the
cache growing stupidly big (like it used to).

ok matthieu@ ages ago.
2009-11-22 20:16:03 +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