Gergely Nagy
c748fcbb01
Remove files we do not need in the monorepo
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
1968a05f2a
Rearrange the file layout in preparation of becoming a monorepo
...
Move the documentation to `doc/plugin/LEDEffect-Breathe.md`, sources under
`src/kaleidoscope/plugin/` (appropriately namespaced). This is in preparation of
merging plugins into a single monorepo.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
aea9d29e53
README.md & Travis cleanup
...
Remove the IRC notifications from Travis (we're not using IRC anymore), and the
stable/experimental badge from README.md (because they aren't being kept up to date).
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
57f3ddd43a
Use Kaleidoscope.millisAtCycleStart()
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
4e8b738521
Coding style fix
...
Our coding style says that private properties should end with an underscore,
lets make it so.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
36a38b23b0
Merge pull request #7 from jamadagni/limit-refresh-rate
...
Limit refresh rate and don't update on every cycle
6 years ago
Jesse Vincent
9bab4e0bbf
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
5e9202d25d
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
dda8787cf4
Merge pull request #8 from keyboardio/f/license-update-and-contributing
...
License clarification & CONTRIBUTING.md
6 years ago
Gergely Nagy
895679f231
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
8e19770508
Relicense under GPLv3 (only), and add headers.
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Shriramana Sharma
8321009ea4
Limit refresh rate and don't update on every cycle
...
The breathe function is somewhat costly and is found to cause drag in
mouse movements. This commit seeks to fix this problem.
It is observed that the function doesn't change output value for every
input value. It only causes the output brightness to increase by 128
units (from 80 to 208) over 2048 ms (the half-period). This means 1 unit
for 16 ms. But a brightness change of 1 unit doesn't mean much visually
especially considering persistence of vision. A refresh rate of 20 per
second ie 50 ms between LED updates is found to be sufficient to avoid
the drag effect while maintaining smoothness in brightness changes.
6 years ago
Gergely Nagy
9e99d858ef
Merge pull request #6 from jamadagni/add-saturation
...
add saturation option
7 years ago
Shriramana Sharma
4674fe1f10
add saturation option
7 years ago
Jesse Vincent
31ccb5e83d
Merge pull request #4 from keyboardio/f/settable-hue
...
Make the hue configurable
7 years ago
Gergely Nagy
9592ef1ae8
Make the hue configurable
...
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
75cb920de6
Merge pull request #2 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
82cc3246fa
Updated the README to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
8c9acb2be5
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
b40874edfc
Merge pull request #1 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
de54b5b279
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
f364a389b1
Update Makefile to fix OS X build
8 years ago
Gergely Nagy
3276b97a2e
README.md: A few words about the plugin
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6b7bafc08f
library.properties: Fill out the paragraph too.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ea3ec5b19a
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
dda023cad8
Add build infrastructure
8 years ago
Jesse Vincent
0c8d6d3c2e
astyle with current project style guidelines
8 years ago
Gergely Nagy
d77b051e8f
Mark the class a descendant of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
805327533a
The Big Rename
...
Renamed the library to Kaleidoscope-LEDEffect-Breathe, and followed up with
other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7057b0864c
Minor code cleanup
...
Remove a stray "private", that is not used or needed anymore.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
04902c903c
Lifted out from Keyboardio-LEDControl
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago