Add evdev protocol implementation
authorgonzo <gonzo@FreeBSD.org>
Sun, 11 Sep 2016 18:56:38 +0000 (18:56 +0000)
committergonzo <gonzo@FreeBSD.org>
Sun, 11 Sep 2016 18:56:38 +0000 (18:56 +0000)
commit7950c7aa177bf0716fb592837c798c104a41eb91
treee874ba8d3e591da4dc8e2e404058b859984ed888
parente8b0d0623b84c0af41cb473ec66953a97f67e18a
Add evdev protocol implementation

evdev is a generic input event interface compatible with Linux
evdev API at ioctl level. It allows using unmodified (apart from
header name) input evdev drivers in Xorg, Wayland, Qt.

This commit has only generic kernel API. evdev support for individual
hardware drivers like ukbd, ums, atkbd, etc. will be committed later.

Project was started by Jakub Klama as part of GSoC 2014. Jakub's
evdev implementation was later used as a base, updated and finished
by Vladimir Kondratiev.

Submitted by: Vladimir Kondratiev <wulf@cicgroup.ru>
Reviewed by: adrian, hans
Differential Revision: https://reviews.freebsd.org/D6998
15 files changed:
etc/mtree/BSD.include.dist
include/Makefile
sys/conf/NOTES
sys/conf/files
sys/conf/options
sys/dev/evdev/cdev.c [new file with mode: 0644]
sys/dev/evdev/evdev.c [new file with mode: 0644]
sys/dev/evdev/evdev.h [new file with mode: 0644]
sys/dev/evdev/evdev_mt.c [new file with mode: 0644]
sys/dev/evdev/evdev_private.h [new file with mode: 0644]
sys/dev/evdev/evdev_utils.c [new file with mode: 0644]
sys/dev/evdev/input-event-codes.h [new file with mode: 0644]
sys/dev/evdev/input.h [new file with mode: 0644]
sys/dev/evdev/uinput.c [new file with mode: 0644]
sys/dev/evdev/uinput.h [new file with mode: 0644]