]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r360624:
authorVladimir Kondratyev <wulf@FreeBSD.org>
Mon, 15 Jun 2020 22:32:59 +0000 (22:32 +0000)
committerVladimir Kondratyev <wulf@FreeBSD.org>
Mon, 15 Jun 2020 22:32:59 +0000 (22:32 +0000)
commitc987ed87663f172d587985b2c55ab305677e0014
treee7594be232d62f2e4e56ee4c66f7974d3af2a166
parent93d5379a730cfd2a261c34e78ffd5b44446ec412
MFC r360624:

[evdev] Add AT translated set1 scancodes for F-unlocked F1-12 keys.

"F lock" is a switch between two sets of scancodes for function keys F1-F12
found on some Logitech and Microsoft PS/2 keyboards [1]. When "F lock" is
pressed, then F1-F12 act as function keys and produce usual keyscans for
these keys. When "F lock" is depressed, F1-F12 produced the same keyscans
but prefixed with E0.
Some laptops use [2] E0-prefixed F1-F12 scancodes for non-standard keys.

[1] https://www.win.tue.nl/~aeb/linux/kbd/scancodes-6.html
[2] https://reviews.freebsd.org/D21565

MFC r360625:

[evdev] Sync event codes with Linux kernel 5.6
sys/dev/evdev/evdev_utils.c
sys/dev/evdev/input-event-codes.h
sys/dev/evdev/input.h