From d7ec7c6e4025b6571e2cb5915894462beda6f51f Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Sun, 19 Sep 2021 12:53:17 +0200 Subject: [PATCH] Limit key press to OBS by default on MacOS --- src/headers/macro-action-hotkey.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/headers/macro-action-hotkey.hpp b/src/headers/macro-action-hotkey.hpp index 73b3d280..6e83d632 100644 --- a/src/headers/macro-action-hotkey.hpp +++ b/src/headers/macro-action-hotkey.hpp @@ -29,7 +29,11 @@ public: bool _leftMeta = false; bool _rightMeta = false; int _duration = 300; // in ms +#ifdef __APPLE__ + bool _onlySendToObs = true; +#else bool _onlySendToObs = false; +#endif private: static bool _registered;