Bart Nagel
a3a5cfbc6a
Fix code typo in blazing trail decay
...
A number was given as 0xf0 instead of 0xff, leading to a noticeable
sudden snap from blood-orange to orange.
7 years ago
Jesse Vincent
ad15c4798d
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
a4daa45e49
Use `Kaleidoscope.use` in the README too
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
a451ed8383
Merge pull request #11 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
8bb7a5b1e4
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
0c1b723650
Explicitly set LEDs that aren't active to zero. Otherwise, plugins like numlock won't get de-initialized
7 years ago
Jesse Vincent
1a5717d838
Update Makefile to fix OS X build
7 years ago
Jesse Vincent
082b409054
CamelCaseifcation of LED related functions
...
s/led_set_crgb_at/setCrgbAt/
s/hsv_to_rgb/hsvToRgb/
s/led_get_crgb_at/getCrgbAt/
s/led_sync/syncLeds/
s/get_led_index/getLedIndex/
s/send_led_data/sendLedData/
s/led_power_fault/ledPowerFault/
7 years ago
Jesse Vincent
b3f1371fb5
CamelCase of KeyIsPressed and KeyWasPressed
7 years ago
Gergely Nagy
b3cb09268b
README.md: Clarify how colors can be specified
...
While technically one can specify colors otherwise, for the sake of simplicity,
mention only `CRGB`, but do mention it explicitly, so the reader does not need
to look at the example to figure this out.
Fixes #9 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
efa9cdf291
Migrate to Kaleidoscope.use()
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8055b0936e
Merge pull request #10 from jamesnvc/patch-1
...
Minor copy edits
8 years ago
James Cash
d0546744a9
Minor copy edits
8 years ago
Gergely Nagy
ac1b302ea0
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
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