diff options
author | Jesse Vincent <jesse@keyboard.io> | 2017-10-02 20:01:34 -0700 |
---|---|---|
committer | Jesse Vincent <jesse@keyboard.io> | 2017-10-02 20:01:34 -0700 |
commit | 99c25e40da69c85ae9853af3f3567fb05ccfbce4 (patch) | |
tree | 687042a57046615ffc3a52c97c08c723d9e65ca5 | |
parent | 556256aabef4fe23da794d1ae1f9b5ce0f362514 (diff) | |
download | model01-firmware-99c25e40da69c85ae9853af3f3567fb05ccfbce4.tar.gz model01-firmware-99c25e40da69c85ae9853af3f3567fb05ccfbce4.tar.bz2 model01-firmware-99c25e40da69c85ae9853af3f3567fb05ccfbce4.zip |
Move some LED color definitions to after the macro defnitions.
It seems a little clearer.
-rw-r--r-- | Model01-Firmware.ino | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 1af16c3..2d4fed7 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -90,14 +90,6 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { NUMPAD_KEYMAP }; -static kaleidoscope::LEDSolidColor solidRed(160, 0, 0); -static kaleidoscope::LEDSolidColor solidOrange(140, 70, 0); -static kaleidoscope::LEDSolidColor solidYellow(130, 100, 0); -static kaleidoscope::LEDSolidColor solidGreen(0, 160, 0); -static kaleidoscope::LEDSolidColor solidBlue(0, 70, 130); -static kaleidoscope::LEDSolidColor solidIndigo(0, 0, 170); -static kaleidoscope::LEDSolidColor solidViolet(130, 0, 120); - #define NUMPAD_KEYMAP_ID 2 static void versionInfoMacro(uint8_t keyState) { @@ -131,6 +123,20 @@ const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) { return MACRO_NONE; } + + + +static kaleidoscope::LEDSolidColor solidRed(160, 0, 0); +static kaleidoscope::LEDSolidColor solidOrange(140, 70, 0); +static kaleidoscope::LEDSolidColor solidYellow(130, 100, 0); +static kaleidoscope::LEDSolidColor solidGreen(0, 160, 0); +static kaleidoscope::LEDSolidColor solidBlue(0, 70, 130); +static kaleidoscope::LEDSolidColor solidIndigo(0, 0, 170); +static kaleidoscope::LEDSolidColor solidViolet(130, 0, 120); + + + + void setup() { Kaleidoscope.setup(); BootKeyboard.begin(); |