Jesse Vincent
5d13898b89
Merge pull request #5 from gedankenexperimenter/bug/out-of-bounds
...
Fix for all out of bounds LED addressing
6 years ago
Jesse Vincent
c738e6b991
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
020a67a413
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
1dfffc5ce6
Merge pull request #7 from keyboardio/f/license-update-and-contributing
...
License clarification & CONTRIBUTING.md
6 years ago
Gergely Nagy
03739d27b0
Add CONTRIBUTING.md
...
Copied from Kaleidoscope, as it is applicable here too.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
0e30f74210
Relicense under GPLv3 (only), and add headers.
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
a7fae41a3e
Merge pull request #6 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
673fe3c304
Updated the README to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Michael Richters
bd4acf3984
Better explanation of the in-bounds code
...
I also reversed the sense of the `if...else` block to make it easier to follow.
7 years ago
Michael Richters
1f2d32ed79
Fix for all out of bounds LED addressing
...
This is a somewhat unwieldy fix for all the out of bounds (attempted) array addressing at
both ends. When `pos` goes out of bounds in either direction, the test is the same because
it's an unsigned integer. However, after the change of direction, the trailing LED will
still be out of bounds, so we check that every time we call `setCrgbAt()` for `pos2`.
It's rather ugly, but it does ensure that we don't call `setCrgbAt()` with an
out-of-bounds address.
7 years ago
Jesse Vincent
0cd6634f95
Merge pull request #3 from gedankenexperimenter/slowdown
...
Slow down the chase to reflect the recent optimizations
7 years ago
Jesse Vincent
70e1082352
Merge pull request #4 from gedankenexperimenter/upper-bound-red
...
Change the upper bound to match the lower bound
7 years ago
Michael Richters
b908d2ec69
Change the upper bound to match the lower bound
...
This causes the red light to stop when in gets to the last key, rather than continuing on
past the end of the array before turning around.
7 years ago
Michael Richters
3be7859783
Slow down the chase to reflect the recent optimizations
...
Really, this should probably use a timer, but simply changing the `chase_threshold` value
is simpler for now.
7 years ago
Jesse Vincent
c761bf70a9
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
dafb257e42
Merge pull request #1 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
7f705c43b5
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
9b46680240
Update Makefile to fix OS X build
7 years ago
Jesse Vincent
6c723bee32
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
Gergely Nagy
bbd155fa94
README.md: A few more words about the plugin
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
40c9575183
library.properties: Fill out the paragraph.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
2c569de478
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
0c645e957b
astyle to pad operators
8 years ago
Jesse Vincent
286bafae49
Add build infrastructure
8 years ago
Jesse Vincent
b0dbab8848
astyle with current project style guidelines
8 years ago
Gergely Nagy
5ba8fe34bb
Mark the class a descendant of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4611026d35
The Big Rename
...
Renamed the library to Kaleidoscope-LEDEffect-Chase, and followed up with other
renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7a903afb69
Lifted out from Keyboardio-LEDControl
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago