Csilla Nagyné Martinák
f05d9c817f
Introduce two layer-switch helper functions
...
This introduces `ToggleLayer(n)` and `MomentaryLayer(n)`, which make it
easier to switch to layers higher than five, and allow one to use enum
values in place of `n`, such as: `ToggleLayer(NUMPAD)`,
`MomentaryLayer(FUNCTION)`.
Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
7 years ago
Jesse Vincent
a4dfe289b3
Update the example to match the new numlock api
7 years ago
Jesse Vincent
edbe32333e
split out keymap key definitions to their own file
7 years ago
Jesse Vincent
86ebc8de02
Revert f3094e1538
...
Chatter detection wasn't actually detecting chatter.
We may reinistate similar code in the future
7 years ago
Jesse Vincent
ad94e4dade
Merge pull request #9 from keyboardio/f/no-macro
...
Use an event loop hook instead of requiring a macro to detect NumLock
7 years ago
Gergely Nagy
1d1affb71b
Use an event loop hook instead of requiring a macro to detect NumLock
...
Requiring the end-user to use a macro to have the NumLock effect is a bit
confusing. We can do better than that, by using an event handler hook, and
catching `Keypad_NumLock` presses, and toggle on keypress.
This way, the macro is not necessary, and all the user has to do, is to use the
plugin, configure `numPadLayer`, and done.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
5121412a26
Merge pull request #189 from cdisselkoen/bounds-check
...
Fix out-of-bounds memory accesses resulting from handleKeyswitchEvent()
7 years ago
Craig Disselkoen
44ebeed109
Fix out-of-bounds memory accesses resulting from handleKeyswitchEvent()
7 years ago
Jesse Vincent
5facda8a65
Merge pull request #188 from cdisselkoen/virtual-hardware
...
Support for Kaleidoscope-Hardware-Virtual plugin
7 years ago
Craig Disselkoen
374a3e136c
Support for Kaleidoscope-Hardware-Virtual plugin
7 years ago
Jesse Vincent
8e026fead0
Merge pull request #187 from cdisselkoen/typo-fix
...
Fix typo in keyswitch_state.h comments
7 years ago
Jesse Vincent
e181aa4b58
Merge pull request #186 from cdisselkoen/better-error
...
kaleidoscope-builder: Better error message for sketch-not-found
7 years ago
Craig Disselkoen
9955491971
Fix typo in keyswitch_state.h comments
7 years ago
Craig Disselkoen
b6150cb175
kaleidoscope-builder: Better error message for sketch-not-found
...
Currently, if kaleidoscope-builder fails to find a sketch file, the
resulting error message is very confusing and unhelpful. This commit
makes it more straightforward and helpful.
7 years ago
Jesse Vincent
5015b4e9eb
make doxygen not complain about big tables of macros in the Model 01
...
hardware
7 years ago
Jesse Vincent
0467521354
astyle
7 years ago
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
Jesse Vincent
634425d87f
Merge pull request #4 from advisoray/master
...
Add support for dynamic mappings
7 years ago
Ben Gemperline
f5cb8760dd
formatting in README
7 years ago
Ben Gemperline
a2feb2f780
Updated examples and documentation
7 years ago
Ben Gemperline
5d4d7820ae
astyle
7 years ago
Ben Gemperline
1a73d22da7
Updated sources to use newer method and remove map_size variable requirement
7 years ago
Ben Gemperline
90c1f7cc13
Updated spacing in the comments
7 years ago
Ben Gemperline
9655f2254c
First try at converting to get rid of the map_size variable
7 years ago
Ben Gemperline
0597bb2a1d
Added macro to the header file and rearranged definitions.
7 years ago
Ben Gemperline
6b948dcb46
Updated ambiguous paragraph on additional mappings
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
Ben Gemperline
3d19d9544e
Removed variable that was set but not used in SpaceCadet.cpp:158
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
7808eba436
Added .DS_Store to .gitignore
7 years ago
Ben Gemperline
6806fd9720
Updated readme file
7 years ago
Gergely Nagy
a5883b4b2e
isActive() should take pressed & sticky states into consideration
...
If a one-shot key is held, or is sticky, then we do not care about the timeout.
The `isActive()` method was adjusted to do so.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
dcb7141c42
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
dde21a0c32
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
649289319a
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
c914d3d86a
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
9694ce9221
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
117f96cbdf
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
2f50776689
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
a6ffae6a3c
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
e3b6fa04e7
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
1ef65294ed
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
74bd0d88a2
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
4b3aa0127a
Update Makefile with OSX fixes and new paths
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