Replace Call Mute with random key for micmute

Replace the Windows specific key with an arbitrary keycode to remap to
micmute on Linux.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2023-06-05 16:42:20 -06:00
committed by Jeremy Soller
parent 2dd33ffec5
commit c09960cbc6
3 changed files with 10 additions and 22 deletions

View File

@@ -57,9 +57,6 @@ 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)
@@ -111,6 +108,9 @@ uint16_t keymap_translate(uint16_t key);
// Custom scancode
#define K_TOUCHPAD (KF_E0 | 0x63)
// Mic mute
#define K_MIC_MUTE (0xC0)
// Function keys
#define K_F1 (0x05)