Commit Graph

88 Commits

Author SHA1 Message Date
shadchin
55854c363a a little header cleanup 2013-11-02 13:17:32 +00:00
shadchin
0e58383580 Fix jagged diagonal lines (xenocara part)
Make sure that you have a recent kernel.

ok matthieu@. tested edd@, Henri Kemppainen and Alf Schlichting.
2013-10-30 18:05:34 +00:00
matthieu
1449a85f9c Sum consecutive dx and dy motion events received separartely from
the kernel before sending them up to X. Reduces staircacse effects
on diagonal freehand drawings. Patch from Henri Kemppainen, tested
by edd@. Thanks.
2013-07-20 13:24:50 +00:00
shadchin
238484184f two nits missing in previous commit 2012-07-08 14:22:03 +00:00
shadchin
4777ba761a Cleanup and uniform style. No functional changes. 2012-07-08 13:51:11 +00:00
shadchin
efc79f5918 zap extra brackets 2012-06-12 17:59:01 +00:00
shadchin
6810536bbf fix indent 2012-06-12 17:44:56 +00:00
shadchin
c141be6b55 zap trailing space 2012-06-12 17:19:01 +00:00
shadchin
19315c6e52 Add support ButtonMapping
ok matthieu@
2012-06-12 17:12:50 +00:00
shadchin
90e4158e02 Small cleanup
ok matthieu@
2012-06-12 17:11:23 +00:00
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