summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-23Fix compiler warnings about unused variablesPeter Hutterer
vmmouse.c: In function 'MouseCommonOptions': vmmouse.c:732:16: warning: variable 'from' set but not used [-Wunused-but-set-variable] vmmouse.c: In function 'MouseCommonOptions': vmmouse.c:733:8: warning: variable 'origButtons' set but not used [-Wunused-but-set-variable] vmmouse.c: In function 'VMMouseDeviceControl': vmmouse.c:838:19: warning: variable 'mPriv' set but not used [-Wunused-but-set-variable] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2012-11-23Use sigsafe logging in ReadInput pathPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2012-08-07Fetch the udev dir from udev.pc instead of guessing based on prefixPeter Hutterer
Reviewed-by: Gaetan Nadon<memsize@videotron.ca> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2012-08-07Reset ps2buttons to avoid button messages from being discarded.Stephen Brooks
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Stephen Brooks <nightbikeman@gmail.com>
2012-05-22vmmouse 12.8.0xf86-input-vmmouse-12.9.0Jakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2012-05-10Revert "Adjust the kernel name in the udev file."Zack Rusin
This reverts commit 189dc266a66485d48303acbc1a4fbe4642c75e9f. It seems that for some reason the device routing is breaking with this. Possibly related to Win7 x64 hosts because it's not reproducible on GNU/Linux hosts. Semantially we'd still like to match only on mouse kernel but for the time being this seems to cause more problems than it solves. Hence the revert.
2012-05-03config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
Moved up in the autoconf init section. It has been removed from Automake 1.12. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-05-03Enable hardware access during vmmouse preinit.Michal Srb
Vmmouse driver uses outl calls but never requests hardware access. In case there are no other drivers that requests it, vmmouse initialization will fail. (Found on KVM virtual machine with fbdev graphics driver and vmmouse input driver.) Request hardware access in same way xf86-input-keyboard does. Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-03-08vmmouse 12.8.0xf86-input-vmmouse-12.8.0Zack Rusin
bump the version number for the new release Signed-off-by: Zack Rusin <zackr@vmware.com>
2012-03-08Adjust the kernel name in the udev file.Zack Rusin
Some distros (most notable OpenSuSE) are unable to match on the 'event' devices, since we should be using 'mouse' kernel anyway (because that's what the 'udevadm info' reports) switch to it in the rules file. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2012-01-12Deal with opaque InputOption types in ABI 14Peter Hutterer
Tested-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-04-06Make the fdi script work with FreeBSDThomas Hellstrom
The key "input.originating_device" is not present on FreeBSD. Use "freebsd.driver" instead. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Michel Dänzer <daenzer@vmware.com>
2011-03-02vmmouse 12.7.0xf86-input-vmmouse-12.7.0Thomas Hellstrom
Remove trailing zero from version number. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-02vmmouse 12.7.0.0Thomas Hellstrom
VMware internal testing completed. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-12-08vmmouse 12.6.99.901xf86-input-vmmouse-12.6.99.901Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-12-08Make the .fdi script work on solarisThomas Hellstrom
Solaris doesn't use the same HAL device naming as Linux. Use the common part of the device name. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04Make the modinfo sring contain an optional subpatch numberThomas Hellstrom
The idea is that the build system assigns this number if needed. As an example it might be the commit number since the last version tag. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04Adjust to input ABI 12.Peter Hutterer
New PreInit prototype that requires reshuffling. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04Move allocation of mPriv down.Peter Hutterer
No functional change. If we get to this point, we know it's available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04ABI 12 requires valuator modes to be specified.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04Move passthrough initialization out into a separate function.Peter Hutterer
No functional changes, just modularising a bit to make future changes easier. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04Remove superflouous assignment.Peter Hutterer
mPriv is freed a few lines down, assigning anything here makes no difference. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04Replace LocalDevicePtr with InputInfoPtr.Peter Hutterer
The LocalDevicePtr define was removed from the server with ABI 12, but InputInfoPtr has been an alias for it since the Xfree86/Xorg fork. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-21make: remove duplicate definition of EXTRA_DISTGaetan Nadon
autoreconf -vfi produces this output: tools/Makefile.am:59: EXTRA_DIST multiply defined in condition TRUE ... tools/Makefile.am:36: ... `EXTRA_DIST' previously defined here Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-21config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon
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 Use the appropriate platform version of sed Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-21tools make: use Autoconf provided $(AM_V_GEN)$(SED)Gaetan Nadon
Enables silent rule and use platform appropriate version of sed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-21InputDriverRec XINPUT cleanup.Trevor Woerner
ABI version 11 of the InputDriverRec data structure no longer includes the refCount member. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-21Deprecated code cleanup.Trevor Woerner
Replace calls to deprecated dynamic memory wrapper functions in driver code. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-08-10xf86-input-vmmouse 12.6.10xf86-input-vmmouse-12.6.10Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-08-10Fix distcheckAdam Jackson
2010-07-09Improve Solaris compatibility of hal-probe-vmmouse generation ruleAlan Coopersmith
Use $(SED) from AC_PROG_SED to ensure a good version of sed is found Use explicit input file name instead of $< to workaround Solaris make issue with $< in explicit rules. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-09Purge macro NEED_EVENTSFernando Carrijo
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-12COPYING: update and refactor Copyright noticesGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-25config: git ignore recently added 69-xorg-vmmouse.rulesGaetan Nadon
Was added in 1d1c0514158abb66388ee4eb44764d201203a863 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-19Only match against event[0-9] in udev rulesJakob Bornecrantz
It looks like the udev rule was matched against two devices which caused the driver to be loaded twice. We shouldn't match against the other device because it will very seldom send bogus events. Some of the bug this caused was buttons getting stuck.
2010-04-17Don't clobber CFLAGSJulien Cristau
CFLAGS is a user variable, don't set it from configure.
2010-04-17Include exevents.h for XIGetKnownPropertyJulien Cristau
Fixes this compiler warning: vmmouse.c: In function ‘VMMouseDeviceControl’: vmmouse.c:734: warning: implicit declaration of function ‘XIGetKnownProperty’ Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-04-09Bump for 12.6.9 release.xf86-input-vmmouse-12.6.9Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-09man: move vmmouse_detect back to section 1Peter Hutterer
Was moved to section 4 in commit 36c2cd8ec6d3bf7191a98a04a876e8d7b6f64d5d, "man: build vmmouse_detect man page". Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-08Bump for 12.6.8 release.xf86-input-vmmouse-12.6.8Michel Dänzer
2010-04-08Add InputClass support.Michel Dänzer
The InputClass can match the tag "vmmouse". A sample xorg.conf.d snippet is provided to try and make sure the driver will be loaded automatically in a compatible VM also if the X server uses udev instead of HAL. The configure script tries to determine if and where it makes sense to install the udev rule and xorg.conf.d snippet but allows overriding both. Thanks to Timo Aaltonen for the udev rules file and Dan Nicholson and Simon Thum for review and suggestions for improvement.
2010-04-08Improve make rule for hal-probe-vmmouse.Michel Dänzer
Make sure changes to hal-probe-vmmouse.in get picked up automatically and simplify the way it's passed to sed. Thanks to Dan Nicholson for the suggestion.
2010-03-28man: build vmmouse_detect man pageGaetan Nadon
The generated file was checked-in and was wrong. The file suffix is now computed based on the platform The macro substitution has been restored Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-22make: remove unrequired INCLUDES = -I$(srcdir)Gaetan Nadon
Already covered by DEFAULT_INCLUDES Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-18Bump for 12.6.7 release.xf86-input-vmmouse-12.6.7Jakob Bornecrantz
2010-02-26vmmouse: don't hardcode the module version in the sourceJulien Cristau
XORG_RELEASE_VERSION gives us that info from configure.ac, let's use it. Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-02-10Bump to 12.6.6xf86-input-vmmouse-12.6.6Julien Cristau
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-02-10Require xorg-macros 1.4 for XORG_INSTALLJulien Cristau
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-30configure.ac: remove unused sdkdir=$(pkg-config...) statementGaetan Nadon
The sdkdir variable isn't use, so remove the statement. Acked-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>