diff options
author | Jesse Vincent <jesse@keyboard.io> | 2017-03-20 19:08:41 -0700 |
---|---|---|
committer | Jesse Vincent <jesse@keyboard.io> | 2017-03-20 19:08:41 -0700 |
commit | 6b3a2b18ce51b0e14af7ed17f2a407b21fd5354a (patch) | |
tree | 1e2dafddf383bb5949238e1f29ba6f179d76b933 | |
parent | a09276185b61ab1bc08e92de5a2276ad75c08478 (diff) | |
download | Model01-Firmware-6b3a2b18ce51b0e14af7ed17f2a407b21fd5354a.tar.gz Model01-Firmware-6b3a2b18ce51b0e14af7ed17f2a407b21fd5354a.zip |
Astyle
-rw-r--r-- | Model01-Firmware.ino | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index c0ab8bb..c064d7c 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -96,13 +96,13 @@ Key_KeymapNext_Momentary, Key_KeymapNext_Momentary \ ) -const Key keymaps[][ROWS][COLS] PROGMEM = { - QWERTY, - GENERIC_FN2, - NUMPAD +const Key keymaps[][ROWS][COLS] PROGMEM = { + QWERTY, + GENERIC_FN2, + NUMPAD - }; +}; static LEDSolidColor solidRed (160, 0, 0); static LEDSolidColor solidOrange (140, 70, 0); @@ -124,8 +124,8 @@ const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) { T(0), T(1), END); } else if (macroIndex == MACRO_ANY && key_toggled_on(keyState)) { - Keyboard.press(Key_A.keyCode + (uint8_t)(millis() % 36) ); - Keyboard.sendReport(); + Keyboard.press(Key_A.keyCode + (uint8_t)(millis() % 36) ); + Keyboard.sendReport(); } return MACRO_NONE; } @@ -137,9 +137,9 @@ void setup() { &LEDControl, &LEDOff, &solidRed, &solidOrange, &solidYellow, &solidGreen, &solidBlue, &solidIndigo, &solidViolet, &LEDBreatheEffect, &LEDRainbowEffect, &LEDRainbowWaveEffect, &LEDChaseEffect, - &AlphaSquareEffect, + &AlphaSquareEffect, &StalkerEffect, - &NumLock, + &NumLock, &Macros, &MouseKeys, |