opnsense-src/sys/dev/usb/input
Vladimir Kondratyev 30f34a5193 ukbd(4): Push LED events in ioctl handler rather than in xfer callback
If LED state is set through evdev interface, than asynchronous nature
of USB transfer callback can lead to change of order of events echoed
back to userland as it causes LED events to be echoed with some lag.

Fix that with echoing of LED events synchronously in ioctl handler.

Reviewed by:	hselasky
Obtained from:	sysutils/iichid
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D27750
2020-12-24 22:08:04 +03:00
..
atp.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
uep.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
uhid.c Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). 2020-10-31 21:53:23 +00:00
uhid_snes.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
ukbd.c ukbd(4): Push LED events in ioctl handler rather than in xfer callback 2020-12-24 22:08:04 +03:00
ums.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_rdesc.h Attempt to fix build by removing EOF backslash-newline 2018-05-16 03:17:37 +00:00
wmt.c wmt(4): Use sys/param.h macroses to work with bit fields 2020-12-24 01:27:17 +03:00
wsp.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00