From 921e700d9f8a7e1fc2e059ac88247497fe143455 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 27 Jan 2016 00:03:22 -0800 Subject: [PATCH] tiny logic fix --- KeyboardioFirmware.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/KeyboardioFirmware.ino b/KeyboardioFirmware.ino index 033c677e..4d4eba26 100644 --- a/KeyboardioFirmware.ino +++ b/KeyboardioFirmware.ino @@ -60,8 +60,7 @@ void handle_synthetic_key_event(byte switchState, Key mappedKey) { } else { handle_mouse_key_event(switchState, mappedKey); } - } - if (mappedKey.flags & IS_CONSUMER) { + } else if (mappedKey.flags & IS_CONSUMER) { if (key_toggled_on (switchState)) { ConsumerControl.press(mappedKey.rawKey); }