Skip to content
Snippets Groups Projects
Commit a8c09d68 authored by Jan Grewe's avatar Jan Grewe
Browse files

use WIN+SHIFT+A hotkeys by default (Microsoft PowerToys Video Conference Mute)

parent 8fc298ee
Branches
No related tags found
No related merge requests found
...@@ -4,12 +4,10 @@ ...@@ -4,12 +4,10 @@
#include <HID.h> #include <HID.h>
#include <FastLED.h> #include <FastLED.h>
// Use this option for Windows and Linux: // Microsoft PowerToys default: Win + Shift + A
const char HOTKEY_1 = KEY_LEFT_CTRL; const char HOTKEY_1 = KEY_LEFT_GUI;
const char HOTKEY_2 = KEY_LEFT_ALT; const char HOTKEY_2 = KEY_LEFT_SHIFT;
// Use this for OSX: const char HOTKEY_3 = 'a';
// const char HOTKEY_1 = KEY_LEFT_GUI;
// const char HOTKEY_2 = KEY_LEFT_ALT;
#define BUTTON_PIN 2 #define BUTTON_PIN 2
#define LED_PIN 3 #define LED_PIN 3
...@@ -30,7 +28,7 @@ void sendHotkey() ...@@ -30,7 +28,7 @@ void sendHotkey()
{ {
Keyboard.press(HOTKEY_1); Keyboard.press(HOTKEY_1);
Keyboard.press(HOTKEY_2); Keyboard.press(HOTKEY_2);
Keyboard.press('m'); Keyboard.press(HOTKEY_3);
Keyboard.releaseAll(); Keyboard.releaseAll();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment