diff --git a/src/main.cpp b/src/main.cpp index 488aae68642bf55675d6466af652e0a79449a03c..b34a91ce1a2c35a90516bb8f221d0b7e76671f5f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,12 +4,10 @@ #include <HID.h> #include <FastLED.h> -// Use this option for Windows and Linux: -const char HOTKEY_1 = KEY_LEFT_CTRL; -const char HOTKEY_2 = KEY_LEFT_ALT; -// Use this for OSX: -// const char HOTKEY_1 = KEY_LEFT_GUI; -// const char HOTKEY_2 = KEY_LEFT_ALT; +// Microsoft PowerToys default: Win + Shift + A +const char HOTKEY_1 = KEY_LEFT_GUI; +const char HOTKEY_2 = KEY_LEFT_SHIFT; +const char HOTKEY_3 = 'a'; #define BUTTON_PIN 2 #define LED_PIN 3 @@ -30,7 +28,7 @@ void sendHotkey() { Keyboard.press(HOTKEY_1); Keyboard.press(HOTKEY_2); - Keyboard.press('m'); + Keyboard.press(HOTKEY_3); Keyboard.releaseAll(); }