Commit Graph

119 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
ddfdd38789 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-input-void-25.0.0
2025-12-18 18:49:42 +01:00
Enrico Weigelt, metux IT consult
95ea3edf3c configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:49:19 +01:00
Enrico Weigelt, metux IT consult
f6796afca2 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:03:08 +01:00
Enrico Weigelt, metux IT consult
68b253eab3 drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:50:21 +01:00
Enrico Weigelt, metux IT consult
fb8380665d drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-17 19:20:29 +01:00
Enrico Weigelt, metux IT consult
3223345c6a man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:49:22 +01:00
Enrico Weigelt, metux IT consult
97692b433e README.md: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:48:24 +01:00
Alan Coopersmith
a43ea53743 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>
xlibre-xf86-input-void-1.4.2.3
2025-12-09 11:39:49 +01:00
Alan Coopersmith
742e7adaf3 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-12-09 11:39:40 +01:00
Alan Coopersmith
9e20ad96cd 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-12-09 11:39:29 +01:00
Enrico Weigelt, metux IT consult
ee6dfe8381 drop extra check for ABI_XINPUT_VERSION < 12
Since we're relying on xserver >= 1.18 now, we know XINPUT abi is >= 22.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-08 16:10:17 +01:00
Enrico Weigelt, metux IT consult
609268ee0c bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-08 16:05:31 +01:00
b-aaz
e131b460ea configure: Automatically detect the default xorg-module-dir.
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.

Signed-off-by: b-aaz <b-aazbsd.proton.me>
xlibre-xf86-input-void-1.4.2.2
2025-07-29 18:42:34 +02:00
Enrico Weigelt, metux IT consult
ace5233b57 .github: add CI pipeline
This pipeline builds the driver against the latest Xserver stable
release as well as current master.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 18:34:25 +02:00
callmetango
ba8e603fcf .github: Add issue forms
Add the following forms for issue creation:

* Bug report
* Feature request
* Code change
* Documentation update
* Organizational task

* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate

Part-of: X11Libre/misc#156
Signed-off-by: callmetango <callmetango@users.noreply.github.com>
2025-07-07 17:02:17 +02: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