summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove "All rights reserved" from Oracle copyright noticesHEADmasterAlan Coopersmith2023-02-254-4/+4
| | | | | | Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith2023-02-091-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xf86-input-keyboard 2.0.0xf86-input-keyboard-2.0.0Alan Coopersmith2022-07-101-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2022-01-171-0/+127
| | | | | | Uses FreeBSD 13.0 for build environment Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix spelling/wording issuesAlan Coopersmith2022-01-162-3/+3
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-01-161-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove two more linux mentionsPeter Hutterer2019-10-302-32/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* linux: RemoveAdam Jackson2019-10-295-861/+2
| | | | | | | 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.
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2018-11-251-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update README for gitlab migrationAlan Coopersmith2018-11-183-20/+24
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-261-4/+4
| | | | | | | | | 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>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-261-1/+1
| | | | | | | 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>
* keyboard 1.9.0xf86-input-keyboard-1.9.0Peter Hutterer2016-11-171-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Use xf86AddEnabledDevice with threaded inputKeith Packard2016-05-311-1/+14
| | | | | | | | We didn't use SIGIO input for keyboard processing, but we can use threaded input. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Remove support for X input ABI < 12Alexandr Shadchin2015-11-302-71/+14
| | | | | Signed-off-by: Alexandr Shadchin <alexandr.shadchin@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Reorder load module stuffAlexandr Shadchin2015-11-301-50/+44
| | | | | Signed-off-by: Alexandr Shadchin <alexandr.shadchin@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Remove empty function xf86KbdUnplugAlexandr Shadchin2015-11-301-6/+1
| | | | | Signed-off-by: Alexandr Shadchin <alexandr.shadchin@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add defines for Japanese 106-key USB keyboards.Yasushi Oshima2015-07-231-7/+23
| | | | | | | Via http://gnats.netbsd.org/48347 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
* keyboard 1.8.1xf86-input-keyboard-1.8.1Peter Hutterer2015-04-071-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* linux: bring our process group to the foreground (#89653)Peter Hutterer2015-03-271-0/+9
| | | | | | | | | | Required to make the driver receive keyboard events from the console. X.Org Bug <http://bugs.freedesktop.org/show_bug.cgi?id=89653> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Ingo Brückl <ib@wupperonline.de>
* Mark xf86OSKbdPreInit as _X_EXPORT in header to match definitionsAlan Coopersmith2015-03-221-1/+1
| | | | | | | | Fixes Solaris Studio 12.4 compiler error: "sun_kbd.c", line 512: redeclaration must have the same or more restrictive linker scoping: xf86OSKbdPreInit cc: acomp failed for sun_kbd.c Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Init LEDs to zero before querying the valuePeter Hutterer2014-05-081-1/+1
| | | | | | | | | | | | This way if the ioctl fails we don't set any unintended LEDs, but really this patch is more to silence valgrind: ==7129== Conditional jump or move depends on uninitialised value(s) ==7129== at 0x8DF99A1: GetKbdLeds (lnx_kbd.c:79) ==7129== by 0x8DF8853: InitKBD (kbd.c:291) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Detangle inet keys and jp Henkan/ Muhenkan keysEgbert Eich2014-02-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When support for inet keys was added to the keyboard driver back in the early 2000 none of the developers thought of Japanese 106 key keybards which have two extra keys generating the scan codes 0x79 and 0x7d. So for keys prefixed with the scan code 0x60 which were not remapped to anything else the line: *scanCode += 0x78; was added. Thus keys generating the scan codes 0xe0 0x01 and 0xe0 0x03 will overlap with the Henkan and Muhenkan keys on Japanese keyboards. A workaround was introduced to xkeyboard-config which makes sure the keycodes 0x79 and 0x7d provide the Henkan and Muhenkan keysyms. As a consequence users might loose some multimedia keys on Japanese keyboards. A different solution would be to either remap keycodes 0x79 and 0x7d or keycodes 0xe0 0x01 and 0xe0 0x03 into the range of unused (X-)keycodes above 0xfb. There are downsides with either solution: the legacy keyboard driver and the xkb files would have to be fixed in sync. Otherwise Japanese users would loose their Henkan and Muhenkan keys (in the first case) or some multimedia keys would get lost. The present patch does the latter which seems to be cleaner codewise. Signed-off-by: Egbert Eich <eich@suse.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* keyboard 1.8.0xf86-input-keyboard-1.8.0Peter Hutterer2013-11-011-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Whitespace fixes.Thomas Klausner2013-10-281-9/+9
| | | | | | | | | Replace <SPACE><TAB> with <TAB>. Remove whitespace at end-of-line. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Check open() return value.Thomas Klausner2013-10-181-0/+4
| | | | | | | Suggested by Walter Harms <wharms@bfs.de>. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Factor out common code.Thomas Klausner2013-10-181-13/+18
| | | | | | | | Suggested by Walter Harms <wharms@bfs.de>. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Do not assume type in WS_*_MAP_SIZE macros.Thomas Klausner2013-10-181-5/+5
| | | | | | | | Suggested by Walter Harms <wharms@bfs.de>. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add some NetBSD feature detection code.Thomas Klausner2013-10-183-1/+25
| | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Move WSCONS case inside switch statement.Thomas Klausner2013-10-181-1/+1
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Improve auto-detection.Thomas Klausner2013-10-181-0/+6
| | | | | | | | | | | If WSKBDIO_GTYPE succeeds and returns type=0, it is a mux with no keyboard attached. In this case, assume USB. >From Jared McNeill <jmcneill@NetBSD.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Fix wskbd handling when VT switching.Thomas Klausner2013-10-182-1/+35
| | | | | | | | | | When using /dev/wskbd* we need to close the device when VT switching out of X, and open it again when switching back. >From Michael Lorenz <macallan@NetBSD.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Make OpenKeyboard() warn instead of error out.Thomas Klausner2013-10-181-4/+4
| | | | | | | | | | | This way we can still setup keyboard map manually by xmodmap(1) etc. on less well supported ports. >From Izumi Tsutsui <tsutsui@NetBSD.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add WSKBD_TYPE_LK201.Thomas Klausner2013-10-181-0/+5
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add default device for Protocol "wskbd".Thomas Klausner2013-10-181-11/+9
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Recognize WSKBD_TYPE_MAPLE for dreamcast.Thomas Klausner2013-10-181-0/+5
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Fix a shadowing warning, and add const.Thomas Klausner2013-10-181-4/+4
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Set the version for the keyboard.Thomas Klausner2013-10-181-0/+7
| | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add a basic map for an LK201 keyboard.Thomas Klausner2013-10-181-0/+269
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Fix scan code 50 key on non-US-USB keyboards.Thomas Klausner2013-10-181-1/+1
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add a couple mappings for keys found on Sun keyboards.Thomas Klausner2013-10-181-5/+5
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Use existing wscons USB keymap for WSKBD_TYPE_MAPLE on dreamcast.Thomas Klausner2013-10-181-0/+3
| | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add translation table for AT/PS2 pseudo XT scancodes.Thomas Klausner2013-10-181-1/+234
| | | | | | | | | | | | | Add another translation table to make the modular kbd driver cope with NetBSD's AT/PS2 pseudo XT scancodes. Tested on shark and sgimips with an IBM Model M - this should be tested with more keyboards, there might still be errors in the table. >From Michael Lorenz <macallan@NetBSD.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* More ADB fixes.Thomas Klausner2013-10-181-2/+7
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Fixes for the ADB map.Thomas Klausner2013-10-181-4/+4
| | | | | | | | | | | | | | - map the backspace key to KEY_BackSpace - swap LAlt and LMeta to match the keyboard (Alt=Alt/Option, Meta=Command) - add a keysym for . on the number pad ... so killing the Xserver with Ctrl-Alt-BackSpace works now and the default map matches an US keyboard without any xmodmap stunts. >From Michael Lorenz <macallan@NetBSD.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Added keysyms for extra keys on Sun Type 6 USB keyboard.Thomas Klausner2013-10-181-15/+15
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Added keysym for Power keys.Thomas Klausner2013-10-181-1/+1
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Map the Sun keyboard "help" key.Thomas Klausner2013-10-181-1/+1
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Added some missing keysyms to the ADB keymap.Thomas Klausner2013-10-181-5/+5
| | | | | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>