Gergely Nagy
7ddb1130b4
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
16ecc25dbe
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
b75b3ac960
astyle with current project style guidelines
8 years ago
Jesse Vincent
46d40dd3d5
make astyle
8 years ago
Jesse Vincent
90f5c51386
New build infrastructure
8 years ago
Jesse Vincent
07b3f9a9cd
Update example to new keymap
8 years ago
Gergely Nagy
5eb702ce1f
Delegate stepping to the computer functions, and fix BlazingTrail
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
bc201e5665
README: Add a "Dependencies" section
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
39e3c4bae0
BlazingTrail: Make sure the g component is not junk
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
67262add72
Don't use floats for the Haunt effect
...
Fixes #7 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f2ca23adc5
Minor README update
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ebe4edcc1b
Reset the map when switching to the effect
...
Since we keep the eventHandler on at all times, even when we are not active,
clear the map when switching to the layer. It's easier this way than trying to
turn the eventHandler off.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c01e7d864a
Add LEDOff too, so turning Stalker off can be tested too
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b1c0f1fc1b
Convert the plugin to a LEDMode
...
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
1dcccb0e37
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3d25b7be28
Improved timeout handling
...
Instead of calculating the time delta each time we check for a timeout,
pre-calculate the projected ending time, and compare against that.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
68b3e2c5f2
The Big Rename
...
Renamed the library to Kaleidoscope-LED-Stalker, and followed up with other
renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8aa753fe23
Add a timer, and expose stepLength
...
With the recent speedup of the scan cycle, we need some delays for the animation
to look nice.
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6497d3ae8f
Use the new, double-add protected hook functions
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
d73104de7f
Updated to use Keyboardio-LEDControl
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
80b8327442
Really, really fix the turn-off-at-the-end code
...
Only turn the LED off if it was on before. Otherwise we will turn off those too
that were not in the map yet.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
11535dd716
Turn the LED off at the end of the fade sequence
...
Instead of relying on the active effect to turn the LED off, do so
ourselves at the end.
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
44fb59eded
Add an example
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c458408356
README: Remove the old configure from the example
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7fc47a28da
Move to the keyboardio organization
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4177d0ae35
Rework the plugin, to have customisable effects
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
d78f8901cb
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago