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
8 years ago
Jesse Vincent
0467521354
astyle
8 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
8 years ago
Gergely Nagy
6aefb847cd
Merge pull request #183 from cdisselkoen/for-upstream
...
Improved documentation and clarity for keyswitch states
8 years ago
Craig Disselkoen
1ab2b45c2c
Clearer (and more failsafe) implementation of deprecated methods
8 years ago
Craig Disselkoen
0b3c80b5ee
Improved documentation for keyswitch states
8 years ago
Jesse Vincent
dcb7141c42
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
dde21a0c32
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
74bd0d88a2
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
4b3aa0127a
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
da79e1a91b
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
9ee2330b1a
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
5b72c95227
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
ad15c4798d
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
cbf651f8bd
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
eb4bd2ad76
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
387cc95109
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
77a3f9a611
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
c761bf70a9
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
8c9acb2be5
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
74b79d60f6
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
b0701de771
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
50073dc27b
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
1f97689ff1
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
3b249dc1b3
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
b9af46b1ef
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
75663c4896
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
186a5c0182
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
50c92bddf7
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
500ffc25fc
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
c8c5cc0b02
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
475fc4c2ae
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
8431bed1ed
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
6749727510
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
32a85ec403
Update Makefile with OSX fixes and new paths
8 years ago
Jesse Vincent
4cb2043729
Move Kaleidoscope builder back into Kaleidoscope
8 years ago
Gergely Nagy
3fdbc72f81
Limit layers we work on to max_layers_
...
The plugin should not try to set the colors of a layer higher than
`max_layers_`, because the colormap for that would be coming from an EEPROM area
that is not ours, and result in weird colors at best.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
8 years ago
Gergely Nagy
26b07ba67a
Revert "Add a way to optimize for a one-shot-only setup."
...
This reverts commit b3e1f73546
, because it broke
more things than it fixed.
8 years ago
Gergely Nagy
b3e1f73546
Add a way to optimize for a one-shot-only setup.
...
OneShot has a convenient way to tell us if any OneShot keys are active:
`OneShot.isActive()`. Thus, if we are using oneshots only, we can skip scanning
the whole keymap if no one-shots are active, saving us a whole lot of time per
cycle we would be spending needlessly.
The optimization is off by default, and must be turned on by the user's sketch.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
8 years ago
Gergely Nagy
f233cf470f
make astyle
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
8 years ago
Gergely Nagy
150b4395bd
Add a Travis CI control file
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
8 years ago
Gergely Nagy
219f28ba99
Initial import
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
8 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
8 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>
8 years ago
Jesse Vincent
96a8fa6c9e
Merge pull request #181 from keyboardio/f/layer.highest-to-top
...
Rename Layer.highest() to Layer.top()
8 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>
8 years ago
Gergely Nagy
7a582f3c4b
Revert "Use Layer.highest() instead of Layer.top()"
...
This reverts commit f78a355760
, because we are
renaming `Layer.highest()` to `Layer.top()`.
8 years ago
Gergely Nagy
7f48bf7cff
Make cpplint happy
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
8 years ago