Michael Richters
cd0073f0ae
Prettier formatting of keymap; astyle off for that section
7 years ago
Michael Richters
d33deda114
astyle
7 years ago
Michael Richters
99988e4c76
Call toggle() only when the macro key toggles on ( fixes #11 )
7 years ago
Michael Richters
17d61518c2
Fix example toggle-qukeys macro
7 years ago
Michael Richters
6e57b9868f
Added a macro to toggle Qukeys in the example
...
- also updated the keymaps definition
7 years ago
Michael Richters
f603e6d8d3
astyle
7 years ago
Michael Richters
d12a4870fe
Added `setTimeout()` function to set the time limit in sketch
7 years ago
Michael Richters
cb16b32215
Fixed `QUKEYS()` macro for defining qukeys in sketch
7 years ago
Michael Richters
2fba5c4541
First working version
...
Too many bug fixes to list them all. Luckily, at this early stage,
that doesn't matter.
7 years ago
Michael Richters
721baeca78
Fixed lots of compilation errors
7 years ago
Michael Richters
5bfe5c07eb
Version 1 of the Qukeys implementation
...
I think everything is there. This probably doesn't even compile yet,
and it certainly hasn't been debugged.
7 years ago
Michael Richters
bba6cf878f
Empty example sketch
7 years ago
Michael Richters
195d6bc413
Better compliance with coding style guide
...
* s/LayerCount/layer_count/
* s/CREATE_KEYMAP/KEYMAPS/
7 years ago
Michael Richters
de39e20d78
Define keymap layers with CREATE_KEYMAP macro
...
This macro allows the definition of the LayerCount variable and the
keymaps[] array together. It shouldn't break old sketches, but this is
probably not all that's necessary; LayerCount still doesn't get
initialized outside the macro.
7 years ago
Michael Richters
50ac31d0f5
Added a "sketch-trailer.h" header file
...
This file is meant to be included in sketch files in order to make
data available to Kaleidoscope functions. In particular, the size of
the keymaps[] array (i.e. the number of defined layers), which is
needed in order to prevent reading uninitialized memory past the end
of that array due to Key_KeymapNext_Momentary.
7 years ago
Michael Richters
7ddc0249bb
Added `LayerCount` variable to the example sketches
...
This took some trial and error to figure out, but once I determined
that the example sketches were being built, I made this change to keep
the build working. Hopefully this will satisfy Travis-CI.
7 years ago
Simon Lydell
4d6e1a770d
Make the example more complete
7 years ago
Gergely Nagy
51b28577db
Show an example of how to override defaults
...
Fixes #8 .
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
a4dfe289b3
Update the example to match the new numlock api
7 years ago
Ben Gemperline
a2feb2f780
Updated examples and documentation
7 years ago
Ben Gemperline
51f0acbb94
Ran astyle on code
7 years ago
Ben Gemperline
4ca7664442
Updated variable naming to fit style guide and fixed compilation error in example file
7 years ago
Ben Gemperline
f3969ba614
Updated example file with new keymap
7 years ago
Gergely Nagy
219f28ba99
Initial import
...
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
f1cb65b6d8
Stop using USE_PLUGINS
...
`USE_PLUGINS` is getting deprecated, use `Kaleidoscope.use` instead.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
0c9ff2f22b
Stop using deprecated interfaces
...
Use `Kaleidoscope.use` and `Kaleidoscope.useEventHandlerHook` instead of the
deprecated `USE_PLUGINS` and `event_handler_hook_use` interfaces.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
9082741e97
Stop using deprecated interfaces
...
Use `Kaleidoscope.use` and `Kaleidoscope.useEventHandlerHook` instead of the
deprecated `USE_PLUGINS` and `event_handler_hook_use` interfaces.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
2c27bf8476
Stop using deprecated interfaces
...
Use `Kaleidoscope.use`, `Kaleidoscope.useEventHandlerHook`, and
`Kaleidoscope.useLoopHook` instead of the deprecated `USE_PLUGINS`,
`event_handler_hook_use` and `loop_hook_use` interfaces.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
068c33d18c
Stop using deprecated interfaces
...
Use `Kaleidoscope.use` and `Kaleidoscope.useEventHandlerHook` instead of the
deprecated `USE_PLUGINS` and `event_handler_hook_use` interfaces.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
a74169961c
Stop using deprecated interfaces
...
Use `Kaleidoscope.use` and `Kaleidoscope.useEventHandlerHook` instead of the
deprecated `USE_PLUGINS` and `event_handler_hook_use` interfaces.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
62c1672bf3
Stop using deprecated interfaces
...
Use `Kaleidoscope.use`, `Kaleidoscope.useEventHandlerHook`, and
`Kaleidoscope.useLoopHook` instead of the deprecated `USE_PLUGINS`,
`event_handler_hook_use`, and `loop_hook_use` interfaces.
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
df4a6f58cf
Stop using deprecated interfaces
...
Use `Kaleidoscope.use` instead of `USE_PLUGINS`, which is getting deprecated.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
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
Gergely Nagy
b0c5876100
Stop using USE_PLUGINS
...
Use `Kaleidoscope.use` instead, because `USE_PLUGINS` is getting deprecated.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
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
Gergely Nagy
c7bc3ad04c
Stop using USE_PLUGINS
...
The `USE_PLUGINS` macro is getting obsoleted, use `Kaleidoscope.use` instead.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
a57679c014
Stop using obsolete functions
...
Use `Kaleidoscope.use` and `Kaleidoscope.useEventHandlerHook` instead of the
obsolete `USE_PLUGINS` and `event_handler_hook_use` interfaces.
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
bd1f7dfe36
Stop using obsolete functions
...
`USE_PLUGINS` and `event_handler_hook_use` are obsolete, use the proper APIs
instead.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
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
Gergely Nagy
72630bd326
Update the example to use Kaleidoscope.use
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
a8fdb3a5f0
Really fix the example this time...
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
bbf5ae3a08
Updated the example to work with the new LEDControl APIs
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
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
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
40c843958a
README & example update
...
Use `Kaleiodscope.use` instead of `USE_PLUGINS` in both README and the example.
Also create a separate "Plugin properties" section in the former.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
7 years ago
Gergely Nagy
3518ba605a
Documentation & example update
...
Make it clear that layer keys are considered modifiers by the plugin.
While in that area, use `Kaleidoscope.use` instead of the now deprecated
`USE_PLUGINS` macro.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
7 years ago
Gergely Nagy
b7415039cb
make astyle
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Selene Scriven
dde7e6a0d0
Forgot to update the example earlier.
8 years ago
Selene Scriven
8cc00c119e
updated README and example
8 years ago
Selene Scriven
b0f6e350d3
Early working version of wavepool effect... is buggy.
8 years ago
Selene Scriven
f402fb2ead
copied algernon's LED Stalker effect as a code base
8 years ago
Gergely Nagy
dd63d76369
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
6b6cbd4803
port to new hid facade
8 years ago
Craig Disselkoen
1cf8d9afdb
Update for changes to Kaleidoscope-Macros no longer requiring END
8 years ago
Jesse Vincent
769470fbd6
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
0235d41ae0
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
2582441523
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent
0f2bae7db7
keyToggledO* camelcasing
8 years ago
Jesse Vincent
842fa737d6
keyToggledO* camelcasing
8 years ago
Jesse Vincent
4550941ff9
keyToggledO* camelcasing
8 years ago
Jesse Vincent
e6de144198
keyToggledO* camelcasing
8 years ago
Jesse Vincent
72cd5f7db8
Update to work with new simpler Nulock API
8 years ago
Gergely Nagy
9317ec61e2
Migrate from USE_PLUGINS to Kaleidoscope.use
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
efa9cdf291
Migrate to Kaleidoscope.use()
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
98b389411b
Use Kaleidoscope.use instead of USE_PLUGINS
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
150e39b87d
Migrate from USE_PLUGINS to Kaleidoscope.use
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a3f7ab082d
Instead of using a list, augment the keymap directly.
...
This is a little bit user-friendlier, more efficient (both space- and
performance-wise).
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4e5e579da4
Fix some more search & replace bugs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9d9ef489be
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e5a8a77a4a
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8be191fe9b
Kaleidoscope Style Guide conformance
...
...and an update to use the newest Ranges APIs.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6e8b932c0d
Kaleidoscope Style Guide conformance
...
...and an update to use the new Ranges APIs.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
184e705b3a
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8d00a83a44
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f79b3b5f7d
Kaleidoscope Style Guide conformance
...
Also updated to use the new Ranges APIs, while there.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e8f3495f7c
Kaleidoscope Style Guide conformance
...
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
7ddb1130b4
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c20732257b
examples/AppSwitcher: Update to use newest HostOS APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
dd7c20a4ee
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cc4d86a98d
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9e6b7e22f6
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8f0cfb753c
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
588e332d12
Update to use the newest HostOS version
...
Also cleaned up the documentation a little, while there.
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
Gergely Nagy
129272883a
Kaleidoscope Style Guide conformance
...
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
Gergely Nagy
d8d4ed7809
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3a1342b38b
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
523cb38ff5
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
da90c342fb
Some more linter-triggered fixes
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6b2263cfa7
Add an .activate() method
...
To make things friendlier to the end-user, add an `.activate()` alias to
`.nextState()`, and document that.
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
5d5d8747eb
Fixes to make cpplint partially happy
8 years ago
Jesse Vincent
f23ce58644
Fixes to make cpplint happy
8 years ago
Jesse Vincent
c91db9c565
Fixes to make cpplint happy
8 years ago
Jesse Vincent
0f09130069
fixes to make cpplint happy
8 years ago
Jesse Vincent
34ca05501d
Fixes to make cpplint happy
8 years ago
Jesse Vincent
57cf6cbab7
cpplint and astyle fixes
8 years ago
Jesse Vincent
f4b49c30b6
make astyle
8 years ago
Jesse Vincent
d515f0088b
Make the linter happy
8 years ago
Jesse Vincent
f4d2efce5c
astyle with current project style guidelines
8 years ago
Jesse Vincent
df5c08d5d5
astyle with current project style guidelines
8 years ago
Jesse Vincent
a0b2d400db
astyle with current project style guidelines
8 years ago
Jesse Vincent
7ec1fe2908
astyle with current project style guidelines
8 years ago
Jesse Vincent
17487f9c26
astyle with current project style guidelines
8 years ago
Jesse Vincent
e597957ab9
astyle with current project style guidelines
8 years ago
Jesse Vincent
1822c6e3c4
astyle with current project style guidelines
8 years ago
Jesse Vincent
5273b43ba0
astyle with current project style guidelines
8 years ago
Jesse Vincent
ecef342f1f
astyle with current project style guidelines
8 years ago
Jesse Vincent
3865bd8793
astyle with current project style guidelines
8 years ago
Jesse Vincent
fcd1743f3b
astyle with current project style guidelines
8 years ago
Jesse Vincent
b75b3ac960
astyle with current project style guidelines
8 years ago
Jesse Vincent
798fb5e0f0
astyle with current project style guidelines
8 years ago
Jesse Vincent
a6983c5c4d
astyle with current project style guidelines
8 years ago
Jesse Vincent
32adec8aa9
astyle with current project style guidelines
8 years ago
Jesse Vincent
e29a9454ba
astyle with current project style guidelines
8 years ago
Jesse Vincent
3097fd0745
astyle to get us closer to cpplint-clean
8 years ago
Jesse Vincent
a0db8238ff
astyle and lint
8 years ago
Jesse Vincent
d77b1a5c41
make astyle
8 years ago
Gergely Nagy
8220369f6f
Kaleidoscope Style Guide conformance
...
Also updated to work with the newest `EEPROM-Keymap` API.
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
Jesse Vincent
5215e95249
make astyle
8 years ago
Gergely Nagy
cfd80f3f69
Conform to the latest Kaleidoscope Style Guide
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
8c6b8433cc
astyle pass
8 years ago
Gergely Nagy
ba6128dddc
Kaleidoscope Style Guide conformance
...
Updated the code to conform to the latest style guide. And added a bit of
documentation too, while there.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
88fc70f90a
Update whitespace per new astyle rules
8 years ago
Gergely Nagy
38cf866870
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
66c8a19f21
Re-run make astyle, with a recent astyle
...
Use astyle 3.0 (included in Kaleidoscope-Plugin) to apply styling, instead of
whatever came with Debian Stretch.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
70e4d15e60
More Style Guide fixes
...
Drop the namespace terminating comment, it is not neccessary, and run astyle
again.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3e982ba5f6
Kaleidoscope Style Guide conformance
...
Rearranged both in style, and in naming conventions to match the Kaleidoscope
Style Guide, and please the linter too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
09ba7dd756
Port over to LED-Palette-Theme
...
Fixes #6 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
947019733d
Rename to Kaleidoscope-Colormap
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7b8ae3c9c0
examples: Fix the example build
...
Include Focus, so the example will build.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b81cc12708
Initial import
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
437a349288
make astyle
8 years ago
Jesse Vincent
3b32197829
make astyle
8 years ago
Jesse Vincent
26e7e187df
make astyle
8 years ago
Jesse Vincent
a16411ff93
make astyle
8 years ago
Jesse Vincent
ae6aeec44d
make astyle
8 years ago
Jesse Vincent
b661511a1a
make astyle
8 years ago
Jesse Vincent
80e27ef57a
make astyle
8 years ago
Jesse Vincent
ad09f54c0d
make astyle
8 years ago
Jesse Vincent
e23f014f1c
make astyle
8 years ago
Jesse Vincent
69f244b43b
make astyle
8 years ago
Jesse Vincent
f148a4c7e7
make astyle
8 years ago
Jesse Vincent
1f8fc546e5
make astyle
8 years ago
Jesse Vincent
e1fd94e4ff
make astyle
8 years ago
Jesse Vincent
46d40dd3d5
make astyle
8 years ago
Jesse Vincent
3adb8c28af
make astyle
8 years ago
Jesse Vincent
1a9f3e1a33
make astyle
8 years ago
Jesse Vincent
e3dc58f384
make astyle
8 years ago
Jesse Vincent
c069df3919
make astyle
8 years ago
Jesse Vincent
0489fd9196
make astyle
8 years ago
Jesse Vincent
f2ee554ce6
make astyle
8 years ago
Jesse Vincent
849c87606f
make astyle
8 years ago
Jesse Vincent
517636d479
make astyle
8 years ago
Jesse Vincent
14d236ed39
make astyle
8 years ago
Jesse Vincent
d75939d456
make astyle
8 years ago
Jesse Vincent
97008a28f0
"make astyle
8 years ago
Jesse Vincent
da2adaf96d
Remove "Key_" prefix from ConsumerCtl and Sysctl key defs.
...
It was redundant, made things less readable and lest clear
8 years ago
Jesse Vincent
d9706f6d0d
Bring up to new API
8 years ago
Jesse Vincent
195331d1e8
Bring up to new keymap api
8 years ago
Jesse Vincent
6d232fb7c7
Update to new key api
8 years ago
Jesse Vincent
c3dbe52f72
Bring example up to new API
8 years ago
Jesse Vincent
d3b7467c6f
ShapeShifter doesn't knwo about LEDs
8 years ago
Jesse Vincent
647e15a4bc
Fix example to match new key definitions
8 years ago
Jesse Vincent
998ff7c753
Update to new Key definitions
8 years ago
Jesse Vincent
07b3f9a9cd
Update example to new keymap
8 years ago
Jesse Vincent
43a952574a
Bright up to new keymap api
8 years ago
Jesse Vincent
f4e9b476a0
Update to new Key API
8 years ago
Jesse Vincent
4b7091a87f
KEymap update
8 years ago
Jesse Vincent
543c3b09f2
Update example to match new keymap
8 years ago
Jesse Vincent
a5a3bb6521
Update to new Keymap
8 years ago
Jesse Vincent
308f889313
Update for new Key names
8 years ago
Jesse Vincent
fac7d3fe5e
Bring up to new Key API
8 years ago
Jesse Vincent
18aa5eadab
Update to new Key names
8 years ago
Jesse Vincent
0238bd29ed
Bring Space Cadet up to new Key API
8 years ago
Jesse Vincent
7c3d6644b7
Update to match new Key tables
8 years ago
Jesse Vincent
30a490d218
Update example to match new Key defs
8 years ago
Jesse Vincent
c7eb22c3ec
Update example to match the new Keymap
8 years ago
Jesse Vincent
b8be8d9fe1
Update example for new key defs
8 years ago
Jesse Vincent
b8225c7d2e
Bring example up to new key defs
8 years ago
Jesse Vincent
92f0395284
Update example
8 years ago
Jesse Vincent
5b1068065c
Fix typo
8 years ago
Jesse Vincent
4a52b76553
Fix Control key definition
8 years ago
Jesse Vincent
24f6c8abd4
Updating to new keycodes
8 years ago
Jesse Vincent
63f30ac35e
Bring Syster up to the new key names
8 years ago
Jesse Vincent
c892b4a30a
Update OneShot library to use new key defs
8 years ago
Jesse Vincent
6b75519501
Fixing a number of other key definitions in the example
8 years ago
Jesse Vincent
b0e1554af8
Remove unused key layouts from example
8 years ago
Jesse Vincent
a19f9d1b29
Fix Key definitions in Macro example
8 years ago
Jesse Vincent
ad93cc0a83
Fix spelling of "Control" keys
8 years ago
Jesse Vincent
c726326c8c
First pass at updating key definitions in examples
8 years ago
Gergely Nagy
107d51ce5a
Initial import
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8b6653d3c8
Fix the example
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
249437d6e7
Initial import
...
There are some issues here and there, and this saw minimal testing only. But it
is okay-ish for an initial attempt.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
79f543734f
Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent
e3b5ae4012
Update to new handle_keyswitch_event API naming
8 years ago
Gergely Nagy
06131ed468
Update AppSwitcher, following up on HostOS changes
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
379a2d483b
Add a `getKeyOverride` method
...
This method uses the EEPROM only to augment the PROGMEM keymap: if EEPROM is
transparent, then PROGMEM is used. As such, the keymap in EEPROM is only an
overlay in this case.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7f261084ef
Update the example so it works as it should
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0fadb782ca
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7c42b8e07b
Fix the example
...
Had to follow up on HostOS changes...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
2da55a2793
Fix the example
...
Have to follow up on HostOS changes...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7b890d8deb
Fix the example
...
Don't use `OneShot.enableAuto()`, it has been removed.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0c387ce1c3
Focus: Lift out keymap.transfer
...
The keymap.transfer command is only useful if we have both PROGMEM & EEPROM
keymaps, which will rarely be a case, and likely only temporarily, too. As such,
lift that out of the `focusKeymap` function, into its own. This makes the
command optional, and can save us some 140 bytes of program space (even more if
documentation is enabled).
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3831b1661f
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b4759decf2
Optional, extra symbols
...
This adds the Kaleidoscope::AlphaSquareSymbols namespace, for symbols that fall
outside of the normal alphanumerics. The first such symbol is `λ`.
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6230a331c4
Make it possible again to choose between variants
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
5a7601bb30
Update to use the new EEPROM-Settings library
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c0d2c51730
Rework how the whole thing operates
...
Allows other plugins to request a slice of EEPROM, and returns the starting
location of their area. Makes a CRC out of the slice sizes, so that it can
detect when the EEPROM and the Sketch become out of sync. Handling that case is
left up to the user.
As a consequence, we no longer reserve a big chunk of EEPROM for the keymap,
that just becomes another slice of it, which can be anywhere. This makes it a
bit harder to adjust the size of it, but as far as this plugin goes, playing
with the EEPROM layout will usually mean having to update its contents from
scratch, anyway.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a91048b8c6
Drop the on/off functions
...
Having function to turn a plugin on and off is not the right way, remove
them.
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9d71850535
Drop the on/off functions
...
There are - and will be - better ways to turn a plugin on and off, than
having to implement on/off methods on the plugin itself. As such, remove
them.
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
55f57bdcfe
Drop the on/off functions
...
The on/off functions were meant to make it easier to experiment, but
there are - and will be - better ways to achieve the same thing. So
remove them, lest anyone ends up using them.
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fbb5dcb359
Fix the example to not use obsolete functions
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c01e7d864a
Add LEDOff too, so turning Stalker off can be tested too
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b1c0f1fc1b
Convert the plugin to a LEDMode
...
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
29841ec02e
Add a LEDMode based on AlphaSquare.
...
The new singleton objects implements a LED mode where each pressed key
will light up the appropriate symbol on the LEDs, on the side it was
pressed on. We use different timers for each half.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
03ab5f1a47
Updated to support newest Focus
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
db09b35be3
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fcde978862
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
71d49dee51
Don't try to load the saved layer on setup()
...
If we want to allow plugins to implement EEPROM storage, it is best if we don't
do anything with EEPROM in the core firmware. As such, remove the
`Layer.defaultLayer` call from `Kaleidoscope.setup`.
With that gone, the `keymap_count` argument is obsolete, so drop it from
`Kaleidoscope.setup()` - but we keep an temporary `setup()` with the old arity,
so that plugins can be updated at a slower pace.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
11c7c7db8d
Minor cleanup in the Kaleidoscope example
...
Drop the `primary_keymap` and `temporary_keymap` variables, they've been
long unused.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ddd6b766fd
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
c0d66cee1a
Move the sample layouts into the firmware sketch
8 years ago
Gergely Nagy
e305e51455
The Big Rename
...
Rename the firmware from KeyboardioFirmware to Kaleidoscope.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
d5d3b46e31
The Big Rename
...
Renamed the library to Kaleidoscope-LED-ActiveModColor, and followed up with
other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fec26a9413
The Big Rename
...
Rename the library to Kaleidoscope-SpaceCadet, and follow up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fc026f59af
The Big Rename
...
Rename the library to Kaleidoscope-Unicode, and follow up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
204d450239
The Big Rename
...
Rename the library to Kaleidoscope-TopsyTurvy, and follow up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b867f80ca2
The Big Rename
...
Rename the library to Kaleidoscope-TapDance, and follow up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
29d45e8850
The Big Rename
...
Renamed the plugin to Kaleidoscope-Syster, and followed up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
eabc4a9872
The Big Rename
...
Rename the library to Kaleidoscope-ShapeShifter, and follow up with other
renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
28228d07c7
The Big Rename
...
Renamed the library to Kaleidoscope-OneShot, and followed up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
92205513de
The Big Rename
...
Renamed the library to Kaleidoscope-MagicCombos, and followed up with other
renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
68b3e2c5f2
The Big Rename
...
Renamed the library to Kaleidoscope-LED-Stalker, and followed up with other
renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
02cb499154
The Big Rename
...
Renamed the library to Kaleidoscope-LEDEffects, and followed up with other
renames.
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
d2d0193129
The Big Rename
...
Renamed the library to Kaleidoscope-HostOS, and followed up with other renames.
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
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
916f69889e
The Big Rename
...
Rename the library to Kaleidoscope-Escape-OneShot, and follow up with other
renames.
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
bae049583d
Correct the tapDanceAction prototype in the example
...
With the wrong prototype, we do not override the default, and the callback never
triggers.
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
Jesse Vincent
ef1089d5ad
Tune down the default LED Effects to use less power.
...
(Trying to stay under 0.5A in the default config)
8 years ago
Jesse Vincent
66f61cad78
Add in indentation guards around the AppSwitcher stacked keylayout example
8 years ago