freebsd-dev/sys/dev/usb
Bruce Evans ded67349a3 Further fixes for translation of PrintScreen/SysRq.
The previous fix was tested mainly on 3 AT keyboards with USB adaptors where
it works.  1 USB keyboard doesn't translate Alt-PrintScreen, so the software
has to do it.

Reorganize a little to share some code and to not translate the unusual usb
scan code0x8a unless an Alt modified is set.  Remove redundant check of Alt
modifiers.  Translation now more clearly filters out Alt-PrintScreen before
the check.

The table of errors fixed in the previous commit had many bugs.  Correct
table:

K_RAW  Ctl-PrintScreen:                                 E0-2A-E0-37 -> E0-37
K_RAW  Alt-PrintScreen (with 4 comb. of Ctl/Shift):     79 -> 54
K_RAW  Pause/Break (with 4 comb. of Alt/Shift):         E0-46 -> E1-1D-45
K_CODE PrintScreen (with 4 comb. of Ctl/Shift):         54 -> 5c
K_CODE Alt-PrintScreen (with 4 comb. of Ctl/Shift):     7e -> 54
K_CODE Pause/Break (with 8 comb. of Ctl/Alt/Shift):     6c -> 68

That is 25 of 32 shift combinations for 2 keys fixed.  All 16 combinations
were broken for K_CODE and thus also for K_XLATE.
2016-08-22 16:39:51 +00:00
..
controller Fix for invalid use of bits in input context. Basically split 2016-08-22 10:21:25 +00:00
gadget
input Further fixes for translation of PrintScreen/SysRq. 2016-08-22 16:39:51 +00:00
misc dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
net Host controller is byte oriented. Fix wrong assumption on big-endian 2016-08-19 10:51:30 +00:00
quirk USB: Add Garmin FR230 device quirk (broken INQUIRY) 2016-06-29 06:42:20 +00:00
serial Annotate the usb-serial drivers which always return 0 for line status, 2016-07-27 00:08:01 +00:00
storage dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
template Fix MTP description in the comment. 2016-07-29 11:33:01 +00:00
video
wlan [run] fix TSF locking in RX radiotap. 2016-06-04 07:18:39 +00:00
ufm_ioctl.h
uftdiio.h
uled_ioctl.h
usb_bus.h
usb_busdma.c sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
usb_busdma.h
usb_cdc.h dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_controller.h
usb_core.c
usb_core.h
usb_debug.c
usb_debug.h
usb_dev.c Check for signals when locking the USB enumeration thread from 2016-05-25 07:48:36 +00:00
usb_dev.h
usb_device.c Improve error message. 2016-07-29 11:33:23 +00:00
usb_device.h Check for signals when locking the USB enumeration thread from 2016-05-25 07:48:36 +00:00
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_freebsd_loader.h
usb_freebsd.h
usb_generic.c
usb_generic.h
usb_handle_request.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hid.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hub.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hub.h
usb_if.m
usb_ioctl.h
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c
usb_msctest.h
usb_parse.c
usb_pci.h
usb_pf.c
usb_pf.h
usb_process.c
usb_process.h
usb_request.c
usb_request.h
usb_transfer.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_transfer.h
usb_util.c
usb_util.h
usb.h
usbdevs Add Logitech Unifying receiver. 2016-08-06 20:27:12 +00:00
usbdi_util.h
usbdi.h dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usbhid.h