freebsd-dev/sys/dev/evdev
Vladimir Kondratyev 48f2b00648 evdev: Remove evdev.ko linkage dependency on kbd driver
Move evdev_ev_kbd_event() helper from evdev to kbd.c as otherwise evdev
unconditionally requires all keyboard and console stuff to be compiled
into the kernel. This dependency happens as evdev_ev_kbd_event() helper
references kbdsw global variable defined in kbd.c through use of
kbdd_ioctl() macro.

While here make all keyboard drivers respect evdev_rcpt_mask while setting
typematic rate and LEDs with evdev interface.

Requested by:	Milan Obuch <bsd@dino.sk>
Reviewed by:	hselasky, gonzo
Differential Revision:	https://reviews.freebsd.org/D16614
2018-08-13 19:05:53 +00:00
..
cdev.c evdev: remove soft context from evdev methods parameter list. 2018-08-13 19:00:42 +00:00
evdev_mt.c
evdev_private.h
evdev_utils.c evdev: Remove evdev.ko linkage dependency on kbd driver 2018-08-13 19:05:53 +00:00
evdev.c evdev: remove soft context from evdev methods parameter list. 2018-08-13 19:00:42 +00:00
evdev.h evdev: Remove evdev.ko linkage dependency on kbd driver 2018-08-13 19:05:53 +00:00
input-event-codes.h [evdev] Sync event codes with Linux kernel 4.16 2018-06-03 10:53:10 +00:00
input.h [evdev] Sync event codes with Linux kernel 4.16 2018-06-03 10:53:10 +00:00
uinput.c evdev: remove soft context from evdev methods parameter list. 2018-08-13 19:00:42 +00:00
uinput.h