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 /Model01-Firmware.ino | |
parent | Add AlphaSquare effect to the default firmware. (diff) | |
download | keyboardio-model01-6b3a2b18ce51b0e14af7ed17f2a407b21fd5354a.tar.gz keyboardio-model01-6b3a2b18ce51b0e14af7ed17f2a407b21fd5354a.tar.bz2 keyboardio-model01-6b3a2b18ce51b0e14af7ed17f2a407b21fd5354a.zip |
Astyle
Diffstat (limited to 'Model01-Firmware.ino')
-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, |