]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[usb] Handle upper/lower case and Ctrl-<key> after applying remapping
authorMichael Brown <mcb30@ipxe.org>
Thu, 10 Feb 2022 11:55:54 +0000 (11:55 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 10 Feb 2022 13:11:27 +0000 (13:11 +0000)
commiteb92ba0a4fe6b1b56e3ca5edfb93fdd545bc901a
tree0e9bc935c66e5bd292e7ec1d45d0cbaeda68aca5
parent468980db2b99f54ffec7d2a44c281308b4eec3c0
[usb] Handle upper/lower case and Ctrl-<key> after applying remapping

Some keyboard layouts (e.g. "fr") swap letter and punctuation keys.
Apply the logic for upper and lower case and for Ctrl-<key> only after
applying remapping, in order to handle these layouts correctly.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/usb/usbkbd.c