Commit Graph

578 Commits

Author SHA1 Message Date
oga
80bba657d4 split the KB_VARTAB code in wscons autodetection so that it understands
both XkbOptions and XkbVariant. now we can understand the .dvorak,
.nodeadkeys and .swapctrlcaps wscons variants and pass them correctly onto XKB.
Means that xmodmap or setxkbmap magic isn't needed in those cases
anymore.

"no objections" matthieu@. Diff from Tobias Ulmer (tobiasu at tmux dot
org); thanks!
2009-12-07 19:28:53 +00:00
matthieu
bf862c28bf Remove the input driver before returning NULL on error in PreInit(). 2009-12-06 10:32:31 +00:00
matthieu
dfdb9035a8 update to xf86-video-mga 1.4.11. Tested by landry@ 2009-11-29 20:10:04 +00:00
matthieu
c98180f2b7 missing commit for mid-button emulation. 2009-11-27 10:30:08 +00:00
matthieu
5f158e3016 Cleanup this driver a bit, following what's been done in xf86-input-ws:
- no more convert proc
- use the correct XInput device type
- don't hardcode the package version number in the .c file.
2009-11-26 21:30:19 +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
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
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
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