From afa5713910169165442313437dcaeedce90c61b0 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 6 Nov 2013 20:05:47 -0600 Subject: [PATCH] astyle --- ArduinoKeyboard.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduinoKeyboard.ino b/ArduinoKeyboard.ino index f2b9f926..f6b16133 100644 --- a/ArduinoKeyboard.ino +++ b/ArduinoKeyboard.ino @@ -196,11 +196,11 @@ void send_key_events(int layer) { } } else if (mappedKey.flags & SYNTHETIC_KEY) { - if (mappedKey.rawKey == KEY_MOUSE_BTN_L || mappedKey.rawKey == KEY_MOUSE_BTN_M|| mappedKey.rawKey == KEY_MOUSE_BTN_R) { + if (mappedKey.rawKey == KEY_MOUSE_BTN_L || mappedKey.rawKey == KEY_MOUSE_BTN_M|| mappedKey.rawKey == KEY_MOUSE_BTN_R) { if (key_toggled_on (switchState)) { Mouse.press(mappedKey.rawKey); } else if (key_is_pressed(switchState)) { - } else if (Mouse.isPressed(mappedKey.rawKey) ){ + } else if (Mouse.isPressed(mappedKey.rawKey) ) { Mouse.release(mappedKey.rawKey); } }