shadchin
2bfb1dd82f
Add missing XISetDevicePropertyDeletable and more information about error
...
ok matthieu@
2012-06-12 17:10:03 +00:00
shadchin
b13ea1a213
Use xf86IDrvMsg in emumb.c instead of ErrorF
...
ok matthieu@
2012-06-12 17:06:43 +00:00
shadchin
3abd8f3785
Fix some obvious constness-related compile warnings
...
ok matthieu@
2012-06-12 17:04:43 +00:00
matthieu
50cf571503
add _X_EXPORT attribute to public symbols.
2011-12-29 13:48:05 +00:00
shadchin
86e4fbccae
Adding wheel emulation, ported from evdev(4)
...
ok matthieu@
2011-11-28 23:49:59 +00:00
shadchin
2cba20c2fd
regen
2011-11-19 13:22:56 +00:00
shadchin
3917241c88
Replace WS_NOZMAP on WS_NOMAP.
...
ok matthieu@
2011-11-19 13:12:49 +00:00
shadchin
67a6690ca1
Simplify middle button emulation code.
...
ok matthieu@
2011-11-19 13:09:16 +00:00
shadchin
d7335b6ea9
Add check emulateMB.timeout >= 0.
...
ok matthieu@
2011-11-19 13:05:33 +00:00
shadchin
cb94a4132b
ws_debug_level used only if defined DEBUG.
...
ok matthieu@
2011-11-19 12:59:55 +00:00
shadchin
df8922a136
Using macros MODULETEARDOWNPROTO for prototype.
...
ok matthieu@
2011-11-19 12:46:08 +00:00
shadchin
15c3974226
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@
2011-11-19 12:42:57 +00:00
shadchin
3734bac4a5
Static atoms don't need to be initialized to 0.
...
ok matthieu@
2011-11-19 12:36:16 +00:00
shadchin
90da7d925e
Sync with code.
...
ok matthieu@
2011-11-19 12:28:10 +00:00
shadchin
6946fdbaf2
Call wsInitProperty() only for WSMOUSE_TYPE_TPANEL and simplify code.
...
Also renamed wsInitProperty and wsSetProperty to
wsInitCalibProperty and wsSetCalibProperty respectively.
ok matthieu@
2011-11-09 16:17:44 +00:00
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