Find a file
Peter Hutterer 6ff816163e Blacklist SW_MAX so it doesn't shadow SW_PEN_INSERTED
They have the same value, so the _MAX code would shadow the real code, causing
issues in any client that needs to get all event names from libevdev.
Specifically, the loop of:
  for each code in 0 to max-for-type:
      print(name)
would not show up the code (but the _MAX) code instead. This causes issues
with clients that rely on name resolution that works. And the _MAX values are
special values anyway.

Blacklist it in the script here, causing it to resolve from name to code, but
not from code to name (like other duplicated codes).

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2018-02-26 17:12:08 +10:00
doc doc: drop the HTML_TIMESTAMP 2016-08-29 08:00:49 +10:00
include/linux Sync with kernel 4.15 (BTN_STYLUS3) 2018-01-29 14:13:58 +10:00
libevdev Blacklist SW_MAX so it doesn't shadow SW_PEN_INSERTED 2018-02-26 17:12:08 +10:00
m4 m4: fix CC_CHECK_WERROR and CC_FLAG_VISIBILITY macros 2014-06-05 15:16:06 +10:00
test Blacklist SW_MAX so it doesn't shadow SW_PEN_INSERTED 2018-02-26 17:12:08 +10:00
tools tools: add a script to sync the kernel header files 2017-07-03 10:13:40 +10:00
.gitignore Add some more files to gitignore 2015-11-10 13:07:10 +10:00
autogen.sh autogen: add default patch prefix 2017-01-26 14:25:02 +10:00
configure.ac libevdev 1.5.8 2018-01-29 14:17:50 +10:00
COPYING Update COPYING file. 2013-11-15 09:30:10 +10:00
libevdev.pc.in Fix name and version in pkgconfig file 2013-07-24 07:27:17 +10:00
Makefile.am Disable test runs on make distcheck 2016-11-30 20:34:46 +10:00
README.md README: remove the warning, it's stable now 2014-02-11 16:27:50 +10:00

libevdev - wrapper library for evdev input devices

libevdev is a wrapper library for evdev devices. it moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc.

git://git.freedesktop.org/git/libevdev http://cgit.freedesktop.org/libevdev/

The eventual goal is that libevdev wraps all ioctls available to evdev devices, thus making direct access unnecessary.

Go here for the API documentation: http://www.freedesktop.org/software/libevdev/doc/latest/

File bugs in the freedesktop.org bugzilla: https://bugs.freedesktop.org/enter_bug.cgi?product=libevdev

Patches, questions and general comments should be submitted to the input-tools@lists.freedesktop.org mailing list: http://lists.freedesktop.org/mailman/listinfo/input-tools