summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-04vmmouse: Make the driver work with pre ABI12 serversinput-apiThomas Hellstrom1-6/+3
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-02Adjust to input ABI 12.Peter Hutterer1-33/+122
New PreInit prototype that requires reshuffling. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-11-02Move allocation of mPriv down.Peter Hutterer1-12/+10
No functional change. If we get to this point, we know it's available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-11-02ABI 12 requires valuator modes to be specified.Peter Hutterer1-4/+20
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-10-26Move passthrough initialization out into a separate function.Peter Hutterer1-8/+12
No functional changes, just modularising a bit to make future changes easier. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-10-26Remove superflouous assignment.Peter Hutterer1-1/+0
mPriv is freed a few lines down, assigning anything here makes no difference. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-10-26Replace LocalDevicePtr with InputInfoPtr.Peter Hutterer1-5/+5
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>
2010-10-21make: remove duplicate definition of EXTRA_DISTGaetan Nadon1-2/+0
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 Nadon2-24/+4
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 Nadon1-1/+1
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 Woerner1-1/+4
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 Woerner2-9/+18
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.10Adam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-08-10Fix distcheckAdam Jackson1-2/+3
2010-07-09Improve Solaris compatibility of hal-probe-vmmouse generation ruleAlan Coopersmith1-2/+2
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 Carrijo1-1/+0
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 Nadon1-19/+47
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-25config: git ignore recently added 69-xorg-vmmouse.rulesGaetan Nadon1-0/+1
Was added in 1d1c0514158abb66388ee4eb44764d201203a863 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-19Only match against event[0-9] in udev rulesJakob Bornecrantz1-1/+1
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 Cristau4-6/+3
CFLAGS is a user variable, don't set it from configure.
2010-04-17Include exevents.h for XIGetKnownPropertyJulien Cristau1-0/+1
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.Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-09man: move vmmouse_detect back to section 1Peter Hutterer2-4/+10
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.Michel Dänzer1-1/+1
2010-04-08Add InputClass support.Michel Dänzer6-0/+63
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änzer1-2/+2
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 Nadon4-11/+5
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 Nadon1-2/+0
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.Jakob Bornecrantz1-1/+1
2010-02-26vmmouse: don't hardcode the module version in the sourceJulien Cristau1-7/+4
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.6Julien Cristau1-1/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-02-10Require xorg-macros 1.4 for XORG_INSTALLJulien Cristau1-2/+2
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith1-22/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-30configure.ac: remove unused sdkdir=$(pkg-config...) statementGaetan Nadon1-1/+0
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>
2009-11-23Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-0/+1
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-11-20Remove unused bits from configure.acPeter Hutterer1-18/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon1-1/+0
Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon3-234/+6
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-26Several driver modules do not have a ChangeLog target in Makefile.am #23814Gaetan Nadon3-28/+12
The git generated ChangeLog replaces the hand written one. Update configure.ac to xorg-macros level 1.3. Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros Update Makefile.am to add ChangeLog target if missing Remove ChangeLog from EXTRA_DIST or *CLEAN variables This is a pre-req for the INSTALL_CMD
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon3-9/+70
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-09-08Symbol was removed from the server.Peter Hutterer1-0/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-06Compile with INPUT ABI 7.Adam Jackson1-4/+52
Button labels up to 7 are essentially default so we can assume they are the usual ones. Beyond that, they are anyone's guess. Axis labels are X/Y. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-29Needed by newer X servers, otherwise the module data is invisible and a ↵Peter Hutterer1-1/+1
dlopen error occurs. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-29Turn off built-in fallback-to-mouse-driver mechanism. With inputShelley Gong2-3/+15
hotplug, HAL handles deciding which driver to use and the presence of mouse_drv can't be assumed anymore on modern distros.
2009-06-06Remove ModuleInfoRec and associated bits.Matthias Hopf1-81/+0
ModuleInfoRec was removed with 2107becb0ce2ffda001be65728c53563496d8d50 from the server. The MouseOpts were only used from the ModuleInfoRec, they're gone now too. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-111) Fix bug where motion notify events were being sent with every button event.Shelley Gong4-17/+50
2) Classify relative vs. absolute packets individually rather than from a global flag. 3) Compile with older distros. 4) Bump for 12.6.4 Release. Signed-off-by: Philip Langdale <philipl@fido2.homeip.net>
2009-05-07Map Solaris/Sun compiler #defines to gcc equivalentsAlan Coopersmith1-0/+9
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-15Make --with-hal* configure options match their help outputAlan Coopersmith1-3/+3
2009-01-09Remove xorgconfig & xorgcfg from See Also list in man pageAlan Coopersmith1-1/+1
2008-12-22Bump for 12.6.3 releasePeter Hutterer1-1/+1