Commit Graph

107 Commits

Author SHA1 Message Date
Alan Coopersmith
913f9e88b6 README: Add text from man page explaining what this driver does
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-void/-/merge_requests/9>
2025-08-12 16:54:20 -07:00
Alan Coopersmith
5d07eb8d4e Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-void/-/merge_requests/8>
2025-08-12 16:47:50 -07:00
Alan Coopersmith
e46474e62d Improve man page formatting
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-void/-/merge_requests/7>
2025-07-19 13:13:59 -07:00
Alan Coopersmith
b43e11eeb8 configure.ac: updates to quiet obsolete macro warnings
Clears autoconf warnings:
configure.ac:47: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:47: You should run autoupdate.
aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from...
configure.ac:47: the top level
configure.ac:52: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:52: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:52: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xlibre-xf86-input-void-1.4.2.1
2024-01-05 18:03:03 -08:00
Alan Coopersmith
21bf65ae74 Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05 17:57:26 -08:00
Alan Coopersmith
ecb8d8f695 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-01 12:21:26 -07:00
Alan Coopersmith
8d555cf5d8 Remove "All rights reserved" from Oracle copyright notices
Oracle no longer includes this term in our copyright & license notices.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-25 09:09:25 -08:00
Alan Coopersmith
182fca360b xf86-input-void 1.4.2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-input-void-1.4.2
2022-11-05 12:34:16 -07:00
Alan Coopersmith
371d5174a5 InitValuatorAxisStruct: Add missing line breaks
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16 13:17:20 -07:00
Alan Coopersmith
094d363aa9 InputDriverRec: Resolve -Wmissing-field-initializers warning
void.c:222:1: warning: missing initializer for field ‘default_options’ of ‘InputDriverRec {aka struct _InputDriverRec}’ [-Wmissing-field-initializers]
 };
 ^
In file included from void.c:39:0:
/usr/include/xorg/xf86Xinput.h:83:18: note: ‘default_options’ declared here
     const char **default_options;
                  ^~~~~~~~~~~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16 13:17:20 -07:00
Alan Coopersmith
be765e39fb gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16 13:12:40 -07:00
Alan Coopersmith
f79ee6ad50 gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 13:11:53 -08:00
Alan Coopersmith
18589fc6a9 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 13:10:54 -08:00
Alan Coopersmith
68566543a1 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 13:04:37 -08:00
Alan Coopersmith
94a6c6ca02 Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 12:12:14 -08:00
Mihail Konev
2a29db157c autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:21 +10:00
Emil Velikov
f4b10fd606 autogen.sh: use quoted string variables
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
fall-outs, when they contain space.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26 11:13:25 +10:00
Peter Hutterer
09ad879327 autogen.sh: use exec instead of waiting for configure to finish
Syncs the invocation of configure with the one from the server.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-01-26 11:13:25 +10:00
Peter Hutterer
aad39023f0 xf86-input-void 1.4.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-void-1.4.1
2015-04-20 11:42:07 +10:00
Alan Coopersmith
c2f4dc50cd autogen.sh: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-04 17:42:04 -07:00
Alan Coopersmith
3c6e2c3cfa configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-04 17:42:04 -07:00
Gaetan Nadon
9f92fd775f config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Fix Automake warning: AC_OUTPUT should be used without arguments.
www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-10-28 18:49:02 -04:00
Alan Coopersmith
1ff7a4ae9c Fix an integer truncation warning from clang
void.c:114:21: warning: implicit conversion loses integer precision:
  'int' to 'unsigned char' [-Wconversion]
            map[i + 1] = i + 1;
                       ~ ~~^~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-20 12:33:08 -07:00
Alan Coopersmith
e0f0ab22a5 Link with $(XORG_LIBS) to support no-undefined linking
Will be empty on most platforms, set to the -z parent=Xorg flag on
Solaris if building with the support for enforcing no undefined symbols.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-20 11:08:22 -07:00
Terry Lambert
dfb19f9131 Return proper default for unknown values in pInfo->device_control.
Signed-off-by: Terry Lambert <tlambert@chromium.org>
Reviewed-by: Stephane Marchesin <marcheu@chromium.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-18 11:47:21 +10:00
Alan Coopersmith
e2eabdd0bd xf86-input-void 1.4.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-input-void-1.4.0
2011-05-04 20:31:02 -07:00
Alan Coopersmith
28cb0b4aa5 config: Remove unnecessary calls from configure.ac
AC_PROG_CC is provided by XORG_DEFAULT_OPTIONS now
PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS variables
AC_HEADERS_STDC result was never used
No headers exist in $(top_srcdir)/src, so no point including -I in CFLAGS

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-02 19:29:42 -07:00
Alan Coopersmith
47812d4f46 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements under the Autoconf initialization section.
Regroup AM statements under the Automake initialization section.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-02 19:21:30 -07:00
Peter Hutterer
cb8d19b8ac Fix PreInit for ABI 12.
Require an xserver 1.9.99.1 or higher and put an ifdef in for ABI 12.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-11-30 07:50:57 +10:00
Peter Hutterer
7456467a04 Add mode field to xf86InitValuatorAxisStruct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-11-30 07:50:57 +10:00
Peter Hutterer
86084d219f Label the axes as absolute, not relative.
Not that it matters for this driver, but the axes are set up as absolute, so
label them accordingly.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-11-30 07:50:57 +10:00
Peter Hutterer
17f94b5f0f Require xserver 1.9
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-11-30 07:50:57 +10:00
Peter Hutterer
93daeb169d unifdef XFree86LOADER
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-11-30 07:50:57 +10:00
Alan Coopersmith
baf55a08ee xf86-input-void 1.3.1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-input-void-1.3.1
2010-10-30 09:25:57 -07:00
Gaetan Nadon
27d39d3c95 config: update AC_PREREQ statement to 2.60
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.

ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30 09:24:53 -07:00
Alan Coopersmith
a78b13f1c5 Sun's copyrights now belong to Oracle
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30 09:24:25 -07:00
Alan Coopersmith
0d7e2780cf Remove refcnt field from InputDriverRec.
Wasn't used in the server and is now removed.

Fixes compiler error:
	"void.c", line 340: too many struct/union initializers

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-27 22:23:03 -07:00
Gaetan Nadon
c4cfc5891b 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>
2010-10-18 19:58:07 -04:00
Alan Coopersmith
06f0a7da7d Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15 14:51:59 -08:00
Gaetan Nadon
4d38e6ba6a 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
Gaetan Nadon
5dc7270bcc 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
56efaa1d58 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
8f89812dd9 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
d229780bcb .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:55:26 -04:00
Gaetan Nadon
b062202556 .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
Gaetan Nadon
f78c894fd1 Makefile.am: do not include autogen.sh in distribution #24183
This is a private build script that should not be distributed
2009-09-27 16:30:48 -04:00
Peter Hutterer
1377264aaf void 1.3.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-void-1.3.0
2009-09-11 11:36:23 +10:00
Peter Hutterer
1f8f6431bf Require xorg-macros 1.3 and XORG_DEFAULT_OPTIONS.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-10 11:25:33 +10:00
Peter Hutterer
6b476f2e22 Don't pass an empty RMLVO to InitKeyboardDeviceStruct.
Passing in NULL is ok, an empty one isn't.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-07 17:06:45 +10:00
Peter Hutterer
6bc27d6b56 Remove some unused variables from configure. 2009-09-07 14:52:11 +10:00