mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
add support for keyboard backlight media keys
I've tested this with a german Apple Magic Keyboard with Numeric Keypad (Space Gray) connected to a non-Apple Linux Laptop running Arch Linux. keycode 237 (keysym 0x1008ff06, XF86KbdBrightnessDown) keycode 238 (keysym 0x1008ff05, XF86KbdBrightnessUp)
This commit is contained in:
@@ -1250,7 +1250,7 @@ XK_uhorn
|
||||
// map "Internet" keys to KeyIDs
|
||||
static const KeySym s_map1008FF[] =
|
||||
{
|
||||
/* 0x00 */ 0, 0, kKeyBrightnessUp, kKeyBrightnessDown, 0, 0, 0, 0,
|
||||
/* 0x00 */ 0, 0, kKeyBrightnessUp, kKeyBrightnessDown, 0, kKeyKbdBrightnessUp, kKeyKbdBrightnessDown, 0,
|
||||
/* 0x08 */ 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x10 */ 0, kKeyAudioDown, kKeyAudioMute, kKeyAudioUp,
|
||||
/* 0x14 */ kKeyAudioPlay, kKeyAudioStop, kKeyAudioPrev, kKeyAudioNext,
|
||||
|
||||
Reference in New Issue
Block a user