Fix Key definitions in Macro example

pull/133/head
Jesse Vincent 8 years ago
parent 944a15aa1c
commit a19f9d1b29
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -28,10 +28,10 @@ using namespace KaleidoscopePlugins::HostOS;
static bool appSwitchActive = false; static bool appSwitchActive = false;
const macro_t *macroAppSwitch (uint8_t keyState) { const macro_t *macroAppSwitch (uint8_t keyState) {
Key mod = Key_LAlt; Key mod = Key_LeftAlt;
if (HostOS.os () == OSX) if (HostOS.os () == OSX)
mod = Key_LGUI; mod = Key_LeftGui;
// Key was just pressed, or is being held // Key was just pressed, or is being held
if (key_is_pressed(keyState)) { if (key_is_pressed(keyState)) {

Loading…
Cancel
Save