Without the `LEDPaletteTheme` plugin, `Colormap` doesn't work either, since the
palette is not initialized. Lets include and initialize the palette plugin too.
Fixes#86.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
... with the more general Kaleidoscope-HardwareTestMode.
By this means, the stock firmware can be build
with the virtual hardware.
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
This commit allows the Makefile to check if the BOARD_HARDWARE_PATH
it tried to determine based on the system specific Arduino installation
is correct. This is done by checking for the Kaleidoscope library's existence.
If Kaleidoscope is not found, the Makefile falls back to determining
the hardware path relative to its own location. This even enables
building from any location where a *.ino file lives without
the requirement to checkout the kaleidoscope libraries into
Arduino installation's hardware path or to symlink them there.
The following now is possible
> SOURCE_DIR=<place where the sources live>
> cd $SOURCE_DIR
> mkdir hardware
> git clone --recursive <URL of the Kaleidoscope bundle> hardware/keyboardio
> BUILD_DIR=<location where a *.ino file lives>
> cd $BUILD_DIR
> make -f $SOURCE_DIR/hardware/keyboardio/avr/libraries/Model01-Firmware/Makefile
for quick builds
> SOURCE_DIR=<place where the sources live>
> cd $SOURCE_DIR
> mkdir hardware
> git clone --recursive <URL of the Kaleidoscope bundle> hardware/keyboardio
> cd hardware/keyboardio/avr/libraries/Model01-Firmware make
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
This is primarily so that one doesn't have to flash the "experimental" firmware
from Chrysalis to be able to use the colormap editor there.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
EEPROM-Keymap was recently changed to work differently, and thus the mode
argument became obsolete. This removes it from the call, and updates the comment
above it to match current reality.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
When suspending, we want to set all LEDs off & sync first, and only then pause
LED operations. When the code was originally written, `LEDControl.syncLeds()`
synced LEDs even when `LEDControl.paused` was set - it no longer does so, so we
need to pause after we synced.
This addresses keyboardio/Kaleidoscope#516, at least partially.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
I hate to be that guy, but I was reading these on github's page when
deciding whether or not to order a keyboard.io, and the extra long lines
here are not automatically wrapped when browsing the repo on github.
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
This adds the necessary code to support having five additional layers in EEPROM.
Also adds support for Focus, so these layers can be changed, and the default
layer set, too.
We also enable the EEPROM commands, which can be helpful in debugging and
backing up one's EEPROM contents.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>