HID: asus: add keycodes for 0x6a, 0x4b, and 0xc7
authorLuke D. Jones <luke@ljones.dev>
Wed, 3 May 2023 03:47:10 +0000 (15:47 +1200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 23 May 2023 13:17:24 +0000 (15:17 +0200)
commit73920f615159b3539520657612b006ee24ea83f0
tree23e5353224d63fb26ad7ac886426be6ca7e03120
parent74e47b2c52ed43701bf59a98bc703b7c246ba43e
HID: asus: add keycodes for 0x6a, 0x4b, and 0xc7

These two keys are found on some models with dual display.
- 0x6a is intended for controlling the secondary screen brightness.
- 0x4b is intended for toggling the arrow keys between arrows and
  page up / page down.
This key is found on a slightly modified keyboard layout.
- 0xc7 is intended to cycle through keybvoard brightnesses (upwards) but
  there is not suitable existing code for this behaviour. Using
  `KEY_KBDILLUMTOGGLE` is different behaviour to Windows but at least
  is picked up by many desktops already.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c