aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-sensor-custom.c
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2022-02-08 19:37:04 +0100
committerJiri Kosina <jkosina@suse.cz>2022-02-16 16:49:45 +0100
commit250b369ed2380ba9accda31931e63ae351ab9f6d (patch)
tree361c9670a9c680f76ff89247f0babb74441d25f8 /drivers/hid/hid-sensor-custom.c
parentHID: apple: Magic Keyboard first generation FN key mapping (diff)
downloadlinux-dev-250b369ed2380ba9accda31931e63ae351ab9f6d.tar.xz
linux-dev-250b369ed2380ba9accda31931e63ae351ab9f6d.zip
HID: apple: Magic Keyboard 2015 FN key mapping
The Magic Keyboard 2015 function key mapping was not present and the default mapping was used. While this worked for most keys, the F5 and F6 keys were sending KEY_KBDILLUMDOWN and KEY_KBDILLUMUP; however, the keyboard is not backlited. Add a custom translation table for the keyboard leaving F5 and F6 unassigned to mimic the default behavior on macOS. Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sensor-custom.c')
0 files changed, 0 insertions, 0 deletions