Jesse Vincent
4914b24d85
Move key aliases to their own file and add back some aliases depended on
...
by the shortcut + obvious other items
7 years ago
Gergely Nagy
6aefb847cd
Merge pull request #183 from cdisselkoen/for-upstream
...
Improved documentation and clarity for keyswitch states
7 years ago
Craig Disselkoen
1ab2b45c2c
Clearer (and more failsafe) implementation of deprecated methods
7 years ago
Craig Disselkoen
0b3c80b5ee
Improved documentation for keyswitch states
7 years ago
Jesse Vincent
da79e1a91b
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
9ee2330b1a
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
5b72c95227
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
ad15c4798d
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
eb4bd2ad76
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
77a3f9a611
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
c761bf70a9
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
8c9acb2be5
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
74b79d60f6
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
b0701de771
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
50073dc27b
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
b9af46b1ef
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
50c92bddf7
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
c8c5cc0b02
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
32a85ec403
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
4cb2043729
Move Kaleidoscope builder back into Kaleidoscope
7 years ago
Jesse Vincent
c21b88043b
Merge pull request #182 from keyboardio/f/live-composite-keymap-update-on-setup
...
Update the live composite keymap too at setup time
7 years ago
Gergely Nagy
580f945270
Update the live composite keymap too at setup time
...
We want to start with a pre-cached state, so we have both less work to do when
keys are first pressed, and so that plugins that rely on the live composite
state will work reliably too.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
96a8fa6c9e
Merge pull request #181 from keyboardio/f/layer.highest-to-top
...
Rename Layer.highest() to Layer.top()
7 years ago
Gergely Nagy
53a1a2e361
Rename Layer.highest() to Layer.top()
...
For all cases outside of Kaleidoscope itself, we are good with the value of
`highestLayer`, and do not need to re-scan the layer state. For this reason -
upon @obra's suggestion - rename `Layer.highest()` to `Layer.top()`, and the old
`Layer.top()` to `Layer.updateHighestLayer()`, and make the latter private, and
update the `highestLayer` member variable instead of returning the number.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
146ab40b9d
Merge pull request #2 from algernon/f/hook-interface-update
...
Stop using deprecated interfaces
7 years ago
Jesse Vincent
a54dd140e1
Merge pull request #179 from keyboardio/f/Layer.highest
...
Layer: Add Layer.highest() to access the cached highestLayer
7 years ago
Gergely Nagy
9144701933
layers: Remove an unused & unimplemented function
...
`layer_getKey` was introduced in 6d641e7fc5
, by
mistake, it was never implemented. Remove it now to avoid any possible
confusion.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
acbb9a8e26
examples/AppSwitcher: Use Kaleidoscope.use instead of USE_PLUGINS
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
4aa7dbe0b5
Stop using deprecated interfaces
...
Use `Kaleidoscope.useLoopHook` instead of `loop_hook_use` (which is getting
deprecated).
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
532b1129de
Stop using deprecated interfaces
...
As `USE_PLUGINS` and `loop_hook_use` are getting deprecated, use the newer APIs:
`Kaleidoscope.use` and `Kaleidoscope.useLoopHook`.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
3e2812889e
Stop using deprecated interfaces
...
Use `Kaleidoscope.useEventHandlerHook` instead of `event_handler_hook_use`,
which is getting deprecated.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
a4daa45e49
Use `Kaleidoscope.use` in the README too
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
1b6dc98703
Use `Kaleidoscope.use` instead of `USE_PLUGINS`
...
The latter is being obsoleted, so use the former, newer API.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
119d021e6a
Layer: Add Layer.highest() to access the cached highestLayer
...
Sometimes we would like to know the highest active layer, which is available in
the `highestLayer` private variable, and via `.top()` too. We do not want to
make `highestLayer` public, because we want to be the only ones changing it. And
while `top()` gets us roughly the same information, it does so at a cost. For a
lot of purposes, the cached `highestLayer` would be perfectly adequate.
The new `Layer.highest()` accessor does just this.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
4dbc5d5707
Update the example to work with the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
b9e2d3a27d
Merge pull request #3 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
be10584f52
Merge pull request #1 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
dafb257e42
Merge pull request #1 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
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
25fcd12402
Merge pull request #1 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
a451ed8383
Merge pull request #11 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
4781af907b
Merge pull request #7 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
8829c32fb7
Merge pull request #11 from keyboardio/f/led-mode/api-redesign
...
Major update of how LED modes work
7 years ago
Gergely Nagy
75edd6425e
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
25cb263e6a
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
7f705c43b5
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
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
Gergely Nagy
a7f9207cec
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
8bb7a5b1e4
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
0d22199cac
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago