Gergely Nagy
d77f6f8de0
Stop using obsolete interfaces
...
`USE_PLUGINS` and `loop_hook_use` are deprecated, use `Kaleidoscope.use` and
`Kaleidoscope.useLoopHook` instead.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
83351d0fc4
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
4a6fcb38ac
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
4550941ff9
keyToggledO* camelcasing
8 years ago
Gergely Nagy
f3e615ba80
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fbd21c0462
Updated the example to use the newest Stalker APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9f064411c2
Fix a case where we did not conform to the Style Guide
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
d8d4ed7809
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
4bbf55a948
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
7ec1fe2908
astyle with current project style guidelines
8 years ago
Jesse Vincent
c069df3919
make astyle
8 years ago
Jesse Vincent
a49830338c
New build infrastructure
8 years ago
Jesse Vincent
3740937865
Update to new handle_keyswitch_event API naming
8 years ago
Gergely Nagy
7c362a0709
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
1696b4eeb6
The Big Rename
...
Renamed the library to Kaleidoscope-GhostInTheFirmware, and followed up with
other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
128d0f4bda
Fix up to work better with timers
...
Also introduces an explicit `pressTime` and `delay`.
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ff2ef71db1
Use timers instead of loop counters
...
As loop counters are not reliable when it comes to timing, use timers instead.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
71815cd0f3
Use the new, double-add protected hook functions
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fcdc4e4b55
Use LEDControl in the example
...
Since the example deals with LEDs, use the LEDControl plugin too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
febf4a95bd
Fix the key holding case
...
For some delays, the holding was not long enough, or it never triggered. Do that
independently of the other cases, in a separate branch, instead of chaining it
into an else branch.
This makes the example work as desired.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7f94af85b7
example: Combine the example with Stalker for a better effect
...
Use Stalker and the BlazingTrail effect to go through all keys as an example.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4a4ea83121
Cut the timers back to 8 bits, that's more than enough
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
2aa03bed47
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago