Commit Graph

95 Commits

Author SHA1 Message Date
Thomas Hellstrom
07232feb6b vmmouse 12.6.99.901
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
xf86-input-vmmouse-12.6.99.901
2010-12-08 10:57:49 +01:00
Thomas Hellstrom
5d0ba2e037 Make the .fdi script work on solaris
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-12-08 10:57:31 +01:00
Thomas Hellstrom
e5987a4e60 Make the modinfo sring contain an optional subpatch number
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-04 09:12:14 +01:00
Peter Hutterer
3ef519e91f Adjust to input ABI 12.
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-04 09:01:10 +01:00
Peter Hutterer
3d97fa1c3a Move allocation of mPriv down.
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-04 08:57:40 +01:00
Peter Hutterer
4e08974ead ABI 12 requires valuator modes to be specified.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-04 08:55:27 +01:00
Peter Hutterer
4527ef863a Move passthrough initialization out into a separate function.
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-04 08:54:38 +01:00
Peter Hutterer
6561d57d4c Remove superflouous assignment.
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-04 08:49:31 +01:00
Peter Hutterer
4345af5cac Replace LocalDevicePtr with InputInfoPtr.
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-11-04 08:48:35 +01:00
Gaetan Nadon
8962e5c7c5 make: remove duplicate definition of EXTRA_DIST
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-21 14:48:15 +02:00
Gaetan Nadon
d060a173af 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
Use the appropriate platform version of sed

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-21 14:47:02 +02:00
Gaetan Nadon
61944e4497 tools make: use Autoconf provided $(AM_V_GEN)$(SED)
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-21 14:45:53 +02:00
Trevor Woerner
3b290e278b InputDriverRec XINPUT cleanup.
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-21 11:07:48 +02:00
Trevor Woerner
8650db9457 Deprecated code cleanup.
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-10-21 11:06:17 +02:00
Adam Jackson
adc177e3af xf86-input-vmmouse 12.6.10
Signed-off-by: Adam Jackson <ajax@redhat.com>
xf86-input-vmmouse-12.6.10
2010-08-10 10:36:50 -04:00
Adam Jackson
cc76aec9b7 Fix distcheck 2010-08-10 10:36:21 -04:00
Alan Coopersmith
61608b87c0 Improve Solaris compatibility of hal-probe-vmmouse generation rule
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-09 20:45:53 -07:00
Fernando Carrijo
d7700bed84 Purge macro NEED_EVENTS
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-07-09 20:38:25 -07:00
Gaetan Nadon
4e3bf19d26 COPYING: update and refactor Copyright notices
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-12 10:09:48 -04:00
Gaetan Nadon
833698b3b9 config: git ignore recently added 69-xorg-vmmouse.rules
Was added in 1d1c051415

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-25 19:36:19 -04:00
Jakob Bornecrantz
1d1c051415 Only match against event[0-9] in udev rules
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-19 15:29:41 +01:00
Julien Cristau
b22d830a4e Don't clobber CFLAGS
CFLAGS is a user variable, don't set it from configure.
2010-04-17 01:39:23 +02:00
Julien Cristau
1cba87aab1 Include exevents.h for XIGetKnownProperty
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-17 01:31:28 +02:00
Peter Hutterer
01f03ca8fb Bump for 12.6.9 release.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-vmmouse-12.6.9
2010-04-09 08:30:26 +10:00
Peter Hutterer
7b2ff5322b man: move vmmouse_detect back to section 1
Was moved to section 4 in commit 36c2cd8ec6,
"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-09 08:22:47 +10:00
Michel Dänzer
21f53010d2 Bump for 12.6.8 release. xf86-input-vmmouse-12.6.8 2010-04-08 16:18:07 +02:00
Michel Dänzer
80f671233e Add InputClass support.
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-08 16:10:33 +02:00
Michel Dänzer
b9c3bc94ee Improve make rule for hal-probe-vmmouse.
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-04-08 16:09:51 +02:00
Gaetan Nadon
36c2cd8ec6 man: build vmmouse_detect man page
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-28 14:35:08 -04:00
Gaetan Nadon
27813c665b make: remove unrequired INCLUDES = -I$(srcdir)
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-22 08:57:48 +10:00
Jakob Bornecrantz
40ba06b138 Bump for 12.6.7 release. xf86-input-vmmouse-12.6.7 2010-03-18 16:23:27 +01:00
Julien Cristau
fae10ac6c6 vmmouse: don't hardcode the module version in the source
XORG_RELEASE_VERSION gives us that info from configure.ac, let's use it.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-02-26 17:30:59 +01:00
Julien Cristau
f3ef776415 Bump to 12.6.6
Signed-off-by: Julien Cristau <jcristau@debian.org>
xf86-input-vmmouse-12.6.6
2010-02-10 02:16:43 +01:00
Julien Cristau
ae58da22e6 Require xorg-macros 1.4 for XORG_INSTALL
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-02-10 02:15:38 +01:00
Alan Coopersmith
aca67eca8b Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15 15:15:54 -08:00
Gaetan Nadon
b3b9f36deb configure.ac: remove unused sdkdir=$(pkg-config...) statement
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-12-30 15:12:59 -05:00
Gaetan Nadon
4eb807b3e7 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
2009-11-23 09:25:05 -05:00
Peter Hutterer
9bdfaffc1b Remove unused bits from configure.ac
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-20 10:09:46 +10:00
Gaetan Nadon
1f8df297b4 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Automake 'foreign' option is specified in configure.ac.
Remove from Makefile.am
2009-10-28 14:41:41 -04:00
Gaetan Nadon
c2f77dcc95 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
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-28 14:09:09 -04:00
Gaetan Nadon
db91ec37ea Several driver modules do not have a ChangeLog target in Makefile.am #23814
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-26 12:54:20 -04:00
Gaetan Nadon
bb622c56b5 .gitignore: use common defaults with custom section # 24239
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-10-22 12:34:16 -04:00
Peter Hutterer
43e123c2f4 Symbol was removed from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-08 22:35:55 -07:00
Adam Jackson
989004f300 Compile with INPUT ABI 7.
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>
xf86-input-vmmouse-12.6.5
2009-08-06 12:53:46 +10:00
Peter Hutterer
2fd8646ff5 Needed by newer X servers, otherwise the module data is invisible and a dlopen error occurs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-29 11:21:19 -07:00
Shelley Gong
436582791d Turn off built-in fallback-to-mouse-driver mechanism. With input
hotplug, HAL handles deciding which driver to use and the presence
of mouse_drv can't be assumed anymore on modern distros.
2009-07-29 11:12:24 -07:00
Matthias Hopf
370aab66b9 Remove ModuleInfoRec and associated bits.
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-06-06 13:58:39 +10:00
Shelley Gong
d616098686 1) Fix bug where motion notify events were being sent with every button event.
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>
xf86-input-vmmouse-12.6.4
2009-05-11 10:13:58 -07:00
Alan Coopersmith
d5ae42ec38 Map Solaris/Sun compiler #defines to gcc equivalents
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-07 15:53:32 -07:00
Alan Coopersmith
9719534fa3 Make --with-hal* configure options match their help output 2009-01-15 07:29:44 -08:00