296 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
261d46cc2f replace obsolete "pointer" typedef by void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-03 14:02:02 +01:00
Enrico Weigelt, metux IT consult
0a87118eb4 .github: add NetBSD build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 11:06:56 +01:00
Enrico Weigelt, metux IT consult
142fa49a6e .github: add freebsd and dragonfly build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-24 10:21:00 +01:00
Enrico Weigelt, metux IT consult
5fa5951f6e .github: use new common driver build actions
Using the new driver build actions in X11Libre/actions-build-driver repo,
instead of having lots of duplicated pipeline and script in all the
individual driver repos.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-23 10:11:20 +01:00
Enrico Weigelt, metux IT consult
f97fd16e6a configure.ac: increase minimum xserver version to 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-19 15:58:46 +01:00
Enrico Weigelt, metux IT consult
f7f489b8ac release: 25.0.0
Aligning driver version scheme with Xserver.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-input-keyboard-25.0.0
2025-12-18 18:27:07 +01:00
Enrico Weigelt, metux IT consult
ea80b366f0 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:27:02 +01:00
Enrico Weigelt, metux IT consult
2d3d5325cc configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:26:53 +01:00
Enrico Weigelt, metux IT consult
099a734803 drop obsolete #idef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:26:46 +01:00
Enrico Weigelt, metux IT consult
6974d68c3d release 2.1.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-input-keyboard-2.1.1
2025-12-16 14:33:34 +01:00
Enrico Weigelt, metux IT consult
847a09d400 man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:44:20 +01:00
Enrico Weigelt, metux IT consult
e2fb71f9cb drop .gitlab-ci.yml
not needed anymore

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:43:04 +01:00
Enrico Weigelt, metux IT consult
df655c19a0 README.md: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 12:37:08 +01:00
Enrico Weigelt, metux IT consult
184cdd11db Add potentially missing CONSOLE_X_BELL
The CONSOLE_* macros used to be in xf86_OSlib.h, but there's an MR moving
them into Xserver's bsd specific init code, since it's the only consumer,
with the little exception CONSOLE_X_BELL also used by this driver.

According to comments in the Xserver, these macros seem to originate from
some other, probably platform specific, header "ioctl_pc.h", but couldn't
find any trace where that actually came from.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 10:37:29 +01:00
Enrico Weigelt, metux IT consult
f02671599b bsd_kbd: use newer LED_* consts
This driver is the only (known) one who's still using the old LED_* defines,
like LED_CAP, LED_NUM, ... - these are just aliases to the newer ones,
declared in xf86_OSlib.h.

In process of cleaning up old legacy, it would be nice to get rid of these,
too. Since this driver seems to be only consumer left, it seems appropriate
doing that little change and after then drop them from Xserver headers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 10:37:21 +01:00
nia
c6f8722b98 bsd_kbd: Sync with ws keyboard types in NetBSD's fork.
Naturally, since all modern ws keyboard types are either USB
or pretend to be USB, this is just for legacy devices.

Signed-off-by: Nia Alarie <nia@NetBSD.org>
Signed-off-by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/21>
2025-12-15 17:11:40 +01:00
Alan Coopersmith
afb839a04a 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-keyboard/-/merge_requests/20>
2025-12-15 17:11:12 +01:00
Enrico Weigelt, metux IT consult
d83b651e2f configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 13:32:15 +01:00
b-aaz
fa299a397f 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-keyboard-2.1.0.2
2025-07-29 18:50:59 +02:00
Enrico Weigelt, metux IT consult
9b78464a5a .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 17:24:20 +02:00
callmetango
94adc53a81 .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:01:32 +02:00
stefan11111
15656d9f84 bring back linux support
Linux support was removed from these drivers some time ago.
However, these drivers can still work on linux.
Not all linux systems have evdev, so these can be used there.

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-06-30 20:37:34 +02:00
Alan Coopersmith
08eb4fdbeb 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`

Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/19>
xlibre-xf86-input-keyboard-2.1.0.1
2025-06-01 15:48:13 -07:00
Hans Rosenfeld
d65e33572b bsd: Fix DEC LK201 keyboard map.
On the LK201, the F11 serves as Escape by default. The key that's
currently defined as Escape is actually grave/tilde. Also, the Delete
key above Enter is actually a Backspace.

Signed-off-by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/16>
2025-04-13 16:06:01 +00:00
Alan Coopersmith
cb39d1e855 CI: fix missing runner tag on FreeBSD jobs after gitlab migration
All jobs utilizing kvm (eg. FreeBSD) need the "kvm" runner tag set.
It used to work w/o it, since all runners did have kvm, but in the
new CI there are non-kvm runners, so we really need to set the tag.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/18>
2025-04-01 16:44:05 -07:00
Alan Coopersmith
15cbd2daff xf86-input-keyboard 2.1.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-input-keyboard-2.1.0
2024-11-13 16:36:11 -08:00
Alan Coopersmith
6c2a8e59f0 Move sizeof to second argument in calloc calls
Clears -Wcalloc-transposed-args warnings from gcc 14.1, such as:

kbd.c: In function ‘KbdPreInit’:
kbd.c:160:32: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
 earlier argument and not in the later argument [-Wcalloc-transposed-args]
  160 |     if (!(pKbd = calloc(sizeof(KbdDevRec), 1))) {
      |                                ^~~~~~~~~
kbd.c:160:32: note: earlier argument should specify number of elements,
 later size of each element

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/14>
2024-07-14 11:33:37 -07:00
Enrico Weigelt, metux IT consult
8f6fd12607 drop compat for XINPUT < 18
Relying on xserver >= 1.18, which has XINPUT 22.1.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/11>
2024-05-24 14:10:02 +02:00
Enrico Weigelt, metux IT consult
3507c28114 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>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/11>
2024-05-24 14:10:02 +02:00
Enrico Weigelt, metux IT consult
5f76f920d5 gitlab CI: fix FreeBSD build
On FreeBSD need to make sure, all pkg-config pathes are searched in the
correct order.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/11>
2024-05-24 14:10:00 +02:00
Enrico Weigelt, metux IT consult
d6d6a3c8b1 gitlab CI: install libepoll-shim
Since MR #1559, the Xserver needs libepoll-shim on FreeBSD.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/11>
2024-05-24 14:09:53 +02:00
nia
e93624c281 bsd: Add some missing special keys from Japanese keyboards
From Yasushi Oshima.

Signed-off-by: Nia Alarie <nia@NetBSD.org>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/9>
2024-05-03 19:30:06 +00:00
Alan Coopersmith
f92191b936 gitlab CI: install xorgproto from git before building the Xserver
Xserver git is now failing to build due to:
Dependency presentproto found: NO found 1.3 but need: '>= 1.4'

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/-/merge_requests/10>
2024-05-03 12:19:09 -07:00
Alan Coopersmith
40ef7d9e24 sun_kbd.c: #include <sys/kbio.h> directly
It's needed for the definitions of the KIO* ioctls used in this file,
but is currently being indirectly included via xf86_OSlib.h.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-03-18 17:45:30 -07:00
Alan Coopersmith
f3510885b2 configure.ac: updates to quiet obsolete macro warnings
Clears autoconf warnings:
configure.ac:38: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:38: You should run autoupdate.
aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from...
configure.ac:38: the top level
configure.ac:51: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:51: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:51: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-12-02 20:12:38 +00:00
Alan Coopersmith
ced0087506 gitlab CI: update to latest ci-templates & FreeBSD 14.0
Needed to avoid "Failed to unpack image" errors in the container-prep
job since FreeBSD 13.0 images are no longer available for download

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-12-02 12:03:32 -08:00
Alan Coopersmith
7812c11c90 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:06:53 -08:00
Alan Coopersmith
fd25755604 gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09 12:06:54 -08:00
Alan Coopersmith
c0c98ec207 xf86-input-keyboard 2.0.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-input-keyboard-2.0.0
2022-07-10 16:19:50 -07:00
Alan Coopersmith
baef4f0057 gitlab CI: add a basic build test
Uses FreeBSD 13.0 for build environment

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17 15:49:24 -08:00
Alan Coopersmith
8104e36c61 Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 11:28:20 -08:00
Alan Coopersmith
61c24f5394 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 11:25:48 -08:00
Peter Hutterer
7b0803b608 Remove two more linux mentions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-10-30 14:25:34 +10:00
Adam Jackson
7e366936d7 linux: Remove
You almost certainly want to be using libinput or evdev on Linux
systems, and the Linux code is arguably under the GPL, which is a fine
license in general but not for X.org. Delete the Linux support so people
stop using it.
2019-10-29 16:17:27 -04:00
Alan Coopersmith
44fc9bb658 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 12:46:53 -08:00
Alan Coopersmith
d2c19a8b12 Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 11:38:18 -08:00
Mihail Konev
940f44149d autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:21 +10:00
Emil Velikov
ac04d59b37 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
6c80cbbd1d 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
0c7f51291f keyboard 1.9.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-input-keyboard-1.9.0
2016-11-17 14:21:48 +10:00