Gergely Nagy
c56c7791ba
Do not provide toggleLEDs
...
As this is a generic plugin, for keyboards that do not have LEDs, don't tie it
to LEDControl, and don't provide a `toggleLEDs` method. Instead, show an example
how to achieve the same thing from the sketch.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
810a69cf33
Rename the library to HostPowerManagement
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
539aa85d6a
Add a special `WakeupKeyboard`, to be able to wake the host up
...
At least on Linux, for a device to be considered capable of waking the host up,
it must be a boot keyboard. As we do not (yet) support a boot keyboard, we fake
one. An USB node that does nothing else than report itself as a boot keyboard,
and does the minimum amount of work to get recognised as such.
Because of this, Linux - and hopefully the other OSes too - will consider the
whole device capable of waking up the host.
This addresses keyboardio/Kaleidoscope#237 , if all goes well.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
24d06c7168
Initial import
...
Fixes keyboardio/Kaleidoscope#217 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
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
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
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>
7 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
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
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
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
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
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
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
b661511a1a
make astyle
8 years ago
Jesse Vincent
80e27ef57a
make astyle
8 years ago
Jesse Vincent
ad09f54c0d
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
647e15a4bc
Fix example to match 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
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