Gergely Nagy
15345af37a
Merge pull request #7 from Kethku/patch-2
...
Changed function types to match example
7 years ago
Kethku
f6fe0183b7
Changed function types to match example
7 years ago
Jesse Vincent
329c133638
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
f27a3a46ec
Stop using deprecated interfaces
...
Use `Kaleidoscope.use`, `Kaleidoscope.useEventHandlerHook`, and
`Kaleidoscope.useLoopHook` instead of `USE_PLUGINS`, `event_handler_hook_use`,
and `loop_hook_use`, which are getting deprecated.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
8556552d9b
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
39dc5fe349
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent
d70059ce4a
keyToggledO* camelcasing
8 years ago
Gergely Nagy
4d1a73f0b7
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
853712eec1
Use the newest Ranges APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6839c3ca36
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
bbc7ddaeff
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
1822c6e3c4
astyle with current project style guidelines
8 years ago
Jesse Vincent
f148a4c7e7
make astyle
8 years ago
Jesse Vincent
126b14d6c6
New build infrastructure
8 years ago
Jesse Vincent
c3dbe52f72
Bring example up to new API
8 years ago
Gergely Nagy
9287dbb774
README: Add a "Dependencies" section
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0f65281703
Restrict the max sequence length to 4
...
Using a max length of 16 is a huge waste of resources, restrict it to 4 instead.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a1af698eb6
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
15000dd694
Improved timeout handling
...
Instead of calculating the time delta every time we want to check if the
timer elapsed, calculate the projected ending time at the start, and
compare against that.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b737fe947e
The Big Rename
...
Renamed the library to Kaleidoscope-Leader, and followed up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
db87474e16
Use a timer instead of a loop counter
...
As loop counters are not a reliable substitute for timers, because they are
unreliable, use proper timers instead.
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cb732da530
Expose the timeOut
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
df28f6db57
Use 20 instead of DEFAULT_TIMEOUT
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c2fa06994b
Fix the library name in library.properties
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
bb2df55e09
Use the new, double-add protected hook functions
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8ebac50a8b
Do not use Key_LEDEffectNext in the example
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0abf80a499
Don't abort early on partial matches
...
If we find a partial match, do not abort, but continue until we either find a
full match, a mismatch, or until we time out. This make it possible to have gaps
in the sequence, where a partial sequence has no explicit handler.
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4070116b2a
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
32d5cc6ae4
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fe06702a59
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago