Gergely Nagy
fb787d59ac
Merge pull request #7 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
bfe38620bd
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
56f85a7607
Make astyle happy
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
40ba21df0f
Merge pull request #8 from UniversalTimeCodeGit/master
...
Implement Heatmap Reset Method
7 years ago
UniversalTimeCodeGit
c33ec4ba7e
Implement Heatmap Reset Method
...
This commit includes the resetMap method which is used to start the heatmap from 0. I also use it as a workaround for my map starting up with an "infinitely hot" key
7 years ago
Gergely Nagy
03a388c286
Merge pull request #6 from tchernomax/perso
...
major rewrite: allow the user to set his own heat_colors
7 years ago
Maxime de Roucy
a6ad9ab2aa
major rewrite: allow the user to set his own heat_color
...
Change the algorithm so the hotest key is always at the hotest color.
Add comments.
Other changes.
7 years ago
Gergely Nagy
b1fc8d7cb1
Merge pull request #5 from milkypostman/timerfix
...
Fix update check was always checking.
7 years ago
Donald Curtis
35c8352ef0
Fix update check was always checking.
...
LED update should happen when the timer is past the end_time_, not it is
less than the end_time_.
7 years ago
Jesse Vincent
bb5c89c76d
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
a5d3a9ff37
Updated to use Kaleidoscope.use instead of USE_PLUGINS
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
dc0b2a2b91
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
c263665f3e
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
8c35edcfb5
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/
8 years ago
Jesse Vincent
df3e79a56a
keyToggledO* camelcasing
8 years ago
Gergely Nagy
751ce314fe
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
95b34d4eb0
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
be19287112
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
17487f9c26
astyle with current project style guidelines
8 years ago
Jesse Vincent
0489fd9196
make astyle
8 years ago
Jesse Vincent
8e3f0ac20e
New build infrastructure
8 years ago
Jesse Vincent
647e15a4bc
Fix example to match new key definitions
8 years ago
Gergely Nagy
d7ec8fd842
README: Add a "Dependencies" section
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f1e8f93f39
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7a5a1b2b33
Improved timer handling
...
Instead of calculating the elapsed time every time we check the timer,
calculate the projected end-time when we start the timer, and just
compare millis() against that.
Also removes the `.configure()` method, in favour of making the
`timeOut` property public.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ce45b212d7
The Big Rename
...
Rename the library to Kaleidoscope-Heatmap, and follow up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f2787a5692
Use a timer instead of a loop counter
...
Loop counters are an unreliable way to track time, use a timer instead.
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e7e4ba0690
Move the static globals into the Heatmap object
...
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
bf4fc0de5b
Mark the plugin experimental
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e183d12c2d
Drop updateFrequency to 50 cycles
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9aced5ccbd
Update heatColors to look a bit nicer on the keyboard
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
54538b42dd
Fix the cap computation
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fa1e3e3669
computeColor: Fix the color order
...
The order is BGR, not RGB.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3d07ca4614
Fix the key counting
...
Bail out if the key did NOT toggle on, instead of bailing out only if it did.
This addresses the key count computation part of #1 . (Shifting looks fine, after
this change)
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ba0b69bb89
Use the new, double-add protected hook functions
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
386f893829
Updated to use Keyboardio-LEDControl
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ace73a9449
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
42e819d39a
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a722fea88d
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago