shadchin
2800db42b2
Simplify wsPreInit
...
ok matthieu@
2011-11-09 16:08:42 +00:00
shadchin
e6f2cf8c55
Ignore option Raw for mices. (was more noise than useful information)
...
ok matthieu@
2011-11-09 16:07:13 +00:00
shadchin
a86fa301f9
Remove call xf86CollectInputOptions. It is useless if second arg is NULL.
...
ok matthieu@
2011-11-09 16:04:50 +00:00
shadchin
ebf795425f
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@
2011-11-08 12:57:44 +00:00
shadchin
25e80ee670
Correct clean bit for scroll buttons plus small optimisation.
...
ok matthieu@
2011-11-08 12:55:26 +00:00
shadchin
9272c2f84c
Process only changed button
...
ok matthieu@
2011-11-08 12:53:14 +00:00
shadchin
4ad39eb24c
Fix memory leak
...
ok matthieu@
2011-11-08 12:51:32 +00:00
shadchin
35b66ec59f
Replace xf86FindOptionValue on xf86SetStrOption.
...
If option set as "", then xf86FindOptionValue returns "",
and xf86SetStrOption returns NULL.
ok matthieu@
2011-11-07 18:42:32 +00:00
shadchin
7fbf1ea788
Small fix manual page
...
ok matthieu@
2011-11-07 18:38:12 +00:00
shadchin
c581ee87df
Remove code for ABI_XINPUT_VERSION < 12
...
ok matthieu@
2011-11-07 18:36:53 +00:00
shadchin
3d54603d79
Replace xf86Msg on xf86IDrvMsg.
...
The latter provides a standardised message format in the form of
driver name: device name: message
ok matthieu@
2011-11-07 18:33:04 +00:00
shadchin
a8eeddbe72
Remove prototype wsChangeControl, this is missing in last change
2011-11-06 16:20:27 +00:00
shadchin
6d15c8ed7e
Some cleanup:
...
* remove trailing whitespace
* remove odd pInfo->private = priv
* remove wsChangeControl (not used)
* remove useless actions in wsControlProc
ok matthieu@
2011-10-16 17:54:07 +00:00
matthieu
be13f4d35d
Unifdef support for xinput ABI up to 10.
2011-07-17 13:08:38 +00:00
matthieu
223f0b15f6
Unifdef support for xinput ABI up to 10.
2011-07-16 17:51:30 +00:00
matthieu
64adaaec20
Mention that this driver also supports ums(4), tweaks and white-space
...
cleanups.
2011-07-16 17:50:41 +00:00
matthieu
aec351483f
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.
2011-05-08 10:38:13 +00:00
matthieu
1bf60a502f
xf86-input-ws 1.3.0:
...
- API compatibility with Xserver 1.10
- sync build system with other Xorg input modules
2011-04-24 15:55:12 +00:00
matthieu
a70129d150
Drop empty .TP. From Joerg Sonnenberger at NetBSD.
2010-06-06 20:38:03 +00:00
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