Add "Call Mute" combo key for darp9

The proprietary firmware for the darp9 adds the mic mute hotkey using
the new "Call Mute" hotkey from Windows 11 22H2, which is mapped to
`Super+Alt+K` [1]. Match the behavior in open firmware.

[1]: https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec#WindowsVersion=Windows_11

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2023-06-02 09:21:11 -06:00
committed by Jeremy Soller
parent 399415fdf6
commit 2dd33ffec5
3 changed files with 20 additions and 3 deletions

View File

@@ -57,6 +57,9 @@ uint16_t keymap_translate(uint16_t key);
#define K_PRINT_SCREEN (KT_COMBO | COMBO_PRINT_SCREEN)
#define COMBO_PAUSE 2
#define K_PAUSE (KT_COMBO | COMBO_PAUSE)
// Windows 11 22H2 "Call Mute" hotkey
#define COMBO_CALL_MUTE 3
#define K_CALL_MUTE (KT_COMBO | COMBO_CALL_MUTE)
// SCI
#define KT_SCI (0x4000)