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
6 years ago
Shriramana Sharma
4674fe1f10
add saturation option
6 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
7 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