move most of the key combination translation code out of ukbd(4)
authorrobert <robert@openbsd.org>
Fri, 16 Sep 2022 16:30:10 +0000 (16:30 +0000)
committerrobert <robert@openbsd.org>
Fri, 16 Sep 2022 16:30:10 +0000 (16:30 +0000)
commit6bd2bf217f610ffc5b43aea9be695f4a2c01a139
tree87cfb3516779645d211fe243b1581e1bc54c42c5
parent08b61afc716124eac1757cf94d146c18f3650f58
move most of the key combination translation code out of ukbd(4)
to hidkbd so that it can be re-used by apldc(4) and aplhidev(4) as well

this also adds support for apple fn key combinations to aplhidev(4)

ok miod@
sys/arch/arm64/dev/apldc.c
sys/arch/arm64/dev/aplhidev.c
sys/dev/hid/hidkbd.c
sys/dev/hid/hidkbdsc.h
sys/dev/usb/ukbd.c