This website requires JavaScript.
Explore
Help
Sign in
fdo-mirrors
/
libevdev
Watch
1
Star
0
Fork
You've already forked libevdev
0
mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced
2025-12-20 17:20:05 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
7ce82709aa
libevdev
/
include
/
linux
/
input.h
6 lines
94 B
C
Raw
Normal View
History
Unescape
Escape
Add FreeBSD compatible input.h and uinput.h Add FreeBSD compatible input.h and uinput.h files. This is done by moving the linux files to include/linux/linux, adding the freebsd versions in include/linux/freebsd, and then changing include/linux/[u]input.h to pull in the right one depending on which OS we are compiling on. Make sure that the build infrastructure in meson.build and autoconf.ac/Makefile.am uses the correct files when building and as dependency for targets, and ensure that make-event-names.py get the correct files as arguments. A similar change has been done in libinput in 61f3e3854458c556a01fb05d7abb22733fd2b7c1 Signed-off-by: Niclas Zeising <zeising@daemonic.se>
2020-07-25 21:00:28 +02:00
#
ifdef __linux__
#
include
"linux/input.h"
#
elif __FreeBSD__
#
include
"freebsd/input.h"
include: sync event codes with kernel 5.0 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-03-06 10:56:28 +10:00
#
endif
Reference in a new issue
Copy permalink