Gergely Nagy
65c21842e9
astyle
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
4248c894ad
make cpplint happy
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
4b8951d67c
gd32: Add a "bootloader"
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
17ba4fb8e8
gd32: Add a GD32Flash storage driver
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
a524bd21a6
gd32: Add a dummy GD32 device
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
8730e242e4
kaleidoscope::device::Base: Add a few dummy functions to NoOpSerial
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Jesse Vincent
53cfa962bf
Remove historical makefile targets
3 years ago
Jesse Vincent
0260b48864
Merge pull request #1085 from keyboardio/f/remove-kaleidoscope-builder
...
Remove historical 'kaleidoscope-builder'
3 years ago
Jesse Vincent
79d2d46a19
Remove historical 'kaleidoscope-builder'
...
- It was supposed to have been fully removed six months ago
3 years ago
Jesse Vincent
dbdc743dc3
Merge pull request #1076 from gedankenexperimenter/plugin-guide-part-2
...
Add more sections to plugin authors' guide
3 years ago
Michael Richters
c13fea5705
Add section on physical keyswitch events
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
14dcc700e9
Add section on creating additional events
...
This fills out one of the missing sections of the plugin author's guide
document.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
e1da425e4c
Remove some old debugging comments
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Jesse Vincent
e56e4e4ed5
Merge pull request #1082 from The-Compiler/key-injected-helper
...
Add keyIsInjected helper
3 years ago
Jesse Vincent
dbfdca4d15
Merge pull request #1083 from The-Compiler/update-gtest
...
Update embedded googletest to 1.11.0
3 years ago
Jesse Vincent
afa3243531
Remove leading zeros from month and day components of date based version to comply with semver spec
...
Thanks to @The-Compiler for catching the issue
3 years ago
Jesse Vincent
086246c4c9
Merge pull request #1080 from The-Compiler/patch-1
...
Atreus: Add build date/time to version info
3 years ago
Florian Bruhin
231ebad36f
Update embedded googletest to 1.11.0
...
Fixes #1081
Signed-off-by: Florian Bruhin <me@the-compiler.org>
3 years ago
Florian Bruhin
4a6aea650d
Add keyIsInjected helper
...
So that the bits don't have to be masked and checked manually, like with the other helpers.
Signed-off-by: Florian Bruhin <me@the-compiler.org>
3 years ago
Florian Bruhin
1aea770054
Atreus: Add build date/time to version info
...
Example output:
Keyboardio Atreus - Kaleidoscope locally built on Sep 3 2021 at 09:40:27
Signed-off-by: Florian Bruhin <me@the-compiler.org>
3 years ago
Jesse Vincent
5b876f3e0f
Merge pull request #1079 from justincmoy/escape-oneshot-ranges
...
Add ranges import to escape-oneshot plugin
3 years ago
Justin Moy
b927b0d397
Add ranges import to escape-oneshot plugin
...
Signed-off-by: Justin Moy <justincmoy@users.noreply.github.com>
3 years ago
Jesse Vincent
c25f86455e
Merge pull request #1075 from gedankenexperimenter/issue-1074
...
Fix AutoShift queue overflow problem
3 years ago
Michael Richters
18705a660d
Add warning about Qukeys/SpaceCadet compatibilty to AutoShift docs
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
7f8175e493
Fix typos in AutoShift docs
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
9475788eee
Add comment explaining AutoShiftConfig usage
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
d1d8d5a41c
Update testcase for cancelled AutoShift
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
c66d252cae
Cancel pending AutoShift key if another key toggles on
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
cb955c7d09
Prevent AutoShift queue from overflowing
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
23a45c9502
Add testcase for issue #1074
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Gergely Nagy
acb1f077e1
Merge pull request #1073 from tpope/master
...
Use POSIX compatible shell read
3 years ago
Tim Pope
5094f584e5
Use POSIX compatible shell read
...
With Dash, and presumably other shells that aren't Bash, calling read
with no arguments produces the error:
/bin/sh: 1: read: arg count
Passing a dummy argument produces the desired behavior.
Signed-off-by: Tim Pope <code@tpope.net>
3 years ago
Jesse Vincent
2907bdeeaa
Merge pull request #1072 from GazHank/master
3 years ago
Gareth Hancock
d28a9fdcf1
Merge branch 'master' of https://github.com/GazHank/Kaleidoscope
3 years ago
Gareth Hancock
2e42f52c38
Fix minor typos in Tap Dance documentation
...
Signed-off-by: Gareth Hancock <gazhank@gmail.com>
3 years ago
Jesse Vincent
3dfb4934fb
Merge pull request #1040 from gedankenexperimenter/plugin/unshifter
...
Add CharShift plugin
3 years ago
Michael Richters
46bc0c5dca
Add NEWS.md entry for CharShift plugin
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
fb5a1c6723
Add example sketch for CharShift plugin
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
537f73792f
Add testcases for CharShift plugin
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
d400c9bad9
Update key ranges stability testcase for CharShift keys
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
f7264f9f4d
Add CharShift plugin
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Gergely Nagy
c4e6da0e40
Merge pull request #1054 from gedankenexperimenter/key-unknown
...
Change default value of `KeyEvent::key` from `Key_NoKey` to `Key_Undefined`
3 years ago
Gergely Nagy
eaa0999c28
Merge pull request #1062 from gedankenexperimenter/plugin/oneshot-meta-keys
...
Move handling of OneShot "meta" keys to a new `OneShotMetaKeys` plugin
3 years ago
Michael Richters
2cb5a1c172
Change default value of `KeyEvent` from `Key_NoKey` to `Key_Undefined`
...
This lets us remove some awkward code from `handleKeyswitchEvent()`, because as
long as the default value (which triggers a keymap lookup) was the same as
`Key_Masked`, it wasn't sufficient for an `onKeyswitchEvent()` handler to change
`event.key` to `Key_Masked`, because that would be interpreted by
`handleKeyEvent()` as a signal to do a keymap lookup.
This also makes it more consistent with other parts of the code. The values
`Key_Undefined`, `Key_Inactive`, and `Key_Transparent` are all the same, and
with this change they are each interpreted the same way by code that encounters
them. In a keymap lookup, if an active layer has a `Key_Transparent` value, we
continue searching for a different value on another layer. In the live keys
array, if we find a `Key_Inactive` entry, we look for a value from the keymap.
And with this change, when processing a key event, if it has a `Key_Undefined`
value, we look for a value from `active_keys` (and then from the keymap layers,
if nothing is found there).
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
55af2fd031
Comment `isStickableDefault()` to explain default stickability
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Jesse Vincent
735f019e20
Merge pull request #1068 from keyboardio/hostos/macos
3 years ago
Jesse Vincent
da684d40f4
Merge pull request #1065 from keyboardio/unicode/setLinuxKey
3 years ago
Jesse Vincent
5490da6e81
Merge pull request #1066 from keyboardio/unicode/numpad-linux
3 years ago
Jesse Vincent
f0274ef90f
Merge pull request #1067 from keyboardio/unicode/windows-docs
3 years ago
Gergely Nagy
e576b78ba7
Switch from using hostos::OSX to hostos::MACOS
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago