Gergely Nagy
28dc505ef0
Override onSetup when using a compatibility layer
...
The default `onSetup` will call `.begin`, to support initializing plugins using
the V1 plugins while using `KALEIDOSCOPE_INIT_PLUGINS`. However, plugins that
implement a compatibility layer so that they can be used with both the new API,
and with `Kaleidoscope.use()` will have a `.begin` method too. Which the default
`onSetup` will call, and we'll register the compatibility layer too, in addition
to the new-style event handlers. This results in many things running twice,
which leads to all kinds of problems.
For this reason, override `onSetup`, so that it does not call `begin`. When used
with `Kaleidoscope.use()`, the plugin will still work, so compatibility is
maintained. But the bug is now gone.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
2021f527e7
Merge pull request #1 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
191ecdb000
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
8431bed1ed
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
0cb75c5e7f
Stop using obsolete functions
...
`USE_PLUGINS` and `event_handler_hook_use` are being phased out, stop using them.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
997b3a58e0
Update Makefile to fix OS X build
7 years ago
Jesse Vincent
e5f9929ed0
Port to new kaleidoscope::hid facade
7 years ago
Jesse Vincent
0f3e63f8be
CamelCase of handle_*_key*
7 years ago
Jesse Vincent
cad621194f
CamelCase of KeyIsPressed and KeyWasPressed
7 years ago
Jesse Vincent
855ac5fa19
keyToggledO* camelcasing
7 years ago
Gergely Nagy
e6543b2011
Updated to use the newest Ranges APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
492c4a2c5a
README.md: Minor style adjustment
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3b4e2add7d
Conform to the latest Kaleidoscope Style Guide
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
38cf866870
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
14d236ed39
make astyle
8 years ago
Jesse Vincent
903230ec14
Update to new build infrastructure
8 years ago
Jesse Vincent
7c3d6644b7
Update to match new Key tables
8 years ago
Jesse Vincent
4a45dc2faf
Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent
b34180f4c7
Update to new handle_keyswitch_event API naming
8 years ago
Gergely Nagy
efe2426961
README: Add a "Dependencies" section
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f479458b8c
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c03725e736
The Big Rename
...
Rename the library to Kaleidoscope-Cycle, and follow up with other renames, too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6a8eb4dd48
Use the new, double-add protected hook functions
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
19600d2ac1
Drop Key_LEDEffectNext from the example
...
The example does not use LEDs, drop the key, lest we'd need to pull in the
Keyboardio-LEDControl plugin, too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
09825b62d0
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f614532139
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c29a6772a4
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago