From 7a6869c774682afebaeadb59dbcba376ae700c1d Mon Sep 17 00:00:00 2001 From: Ash Berlin-Taylor Date: Thu, 30 Jun 2022 14:15:58 +0100 Subject: [PATCH] Recognise "super" as modifier, not final key This is what Linux sees when you press the cmd/windows key. There isn't a single key, but different ones for left and right. --- main/src/settings/keybindings/KeyRecord.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/src/settings/keybindings/KeyRecord.ts b/main/src/settings/keybindings/KeyRecord.ts index d00f2d66..dec4a94e 100644 --- a/main/src/settings/keybindings/KeyRecord.ts +++ b/main/src/settings/keybindings/KeyRecord.ts @@ -98,7 +98,9 @@ export class KeyRecord { Key.Key_Meta, Key.Key_Alt, Key.Key_AltGr, - Key.Key_CapsLock + Key.Key_CapsLock, + Key.Key_Super_L, + Key.Key_Super_R, ].includes(key); } }