Jesse Vincent
7a2de238c4
Replace deprecated syntax for bitfield
3 years ago
Jesse Vincent
a021528b04
WIP porting to the Model100 / GD32
3 years ago
Jesse Vincent
b62a689fd0
Remove vim swapfile
3 years ago
Jesse Vincent
8d0e619957
astyle
3 years ago
Jesse Vincent
cc313d6d57
Check in non-working renamed plugin with the first little bit of work on
...
porting
3 years ago
Jesse Vincent
81ff231683
Check in a (non-working) Keyboardio Model 100 plugin, currently a copy of the Model 01 plugin
3 years ago
Gergely Nagy
7fcad59ed5
fixups
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
801ebee116
gd32: timer-based scanning
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
3463c000fb
gd32: Restore some functionality
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
541e77cfc9
gd32: matrix-based keyscanner
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
ce9f14cf71
astyle
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
3149a781ae
gd32: a pretty dumb key scanner
...
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
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
Justin Moy
b927b0d397
Add ranges import to escape-oneshot plugin
...
Signed-off-by: Justin Moy <justincmoy@users.noreply.github.com>
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
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
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
Michael Richters
f7264f9f4d
Add CharShift plugin
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
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
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
Gergely Nagy
e576b78ba7
Switch from using hostos::OSX to hostos::MACOS
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
8328bd7be2
HostOS: Migrate from OSX to macOS
...
Apple started calling their operating system macOS, rather than OSX a while ago,
and as such, we should follow suit. This introduces `::hostos::MACOS`, and makes
`::OSX` an alias of it.
All internal users were updated to refer to `::hostos::MACOS`, but the `::OSX`
alias is being kept indefinitely.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
d34aef1456
Unicode: Update the README with Windows instructions
...
Under Windows, we use an input method that requires a registry edit, mention
that in the README, and describe how to do it.
Fixes #1031 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
ec3acc3d66
Unicode: Use the numpad to input digits on Linux too
...
When there are different input methods available on Linux (Chinese, Japanese,
etc), using the numpad is more reliable than the number row. As both work,
rather than making it configurable, just switch to numpad on Linux.
Fixes #1064 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Gergely Nagy
a7f537cb84
Unicode: Allow setting the key used for starting Unicode input on Linux
...
To account for non-qwerty host-side layouts, we want to be able to easily set
the last part of the sequence used to start Unicode input on Linux. The newly
introduced `Unicode.setLinuxKey(Key_S)` function does just that.
Fixes #1063 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Michael Richters
03c086f34f
Update references to inactive and masked keys
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
c78ff257ba
Include OneShotMetaKeys in the headers for ActiveModColor
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
727d0ba23e
Remove OneShot meta key handling from the OneShot plugin
...
The handling of these keys has been shifted to a separate OneShotMetaKeys
plugin.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
d0b6f5a21b
Add Kaleidoscope-OneShotMetaKeys plugin
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
c04542759f
Add public functions to set OneShot key(addr) state
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
f96b5b25f4
Make OneShot.isStickable() overridable by user code
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
8667549029
Make OneShot stickability default to true
...
This makes any non-modifier, non-layer shift key stickable by default.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Gergely Nagy
2305f49680
device::Base: Use the Base HID by default, rather than KeyboardioHID
...
To allow us to use any other HID than KeyboardioHID, the base device _must_ use
something else (practically, the Base HID), otherwise we'll get a compile error
when building on a platform that KeyboardioHID does not support, even if we do
not use KeyboardioHID. We get that error, because the base class references it
anyway.
As such, lets use the base HID as default, and adjust all users of KeyboardioHID
to explicitly set that: Virtual, Dygma Raise, and ATmega32U4Keyboard. Everything
else derives from the last one, so they're covered with just the change to
ATmega32U4Keyboard.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
3 years ago
Michael Richters
ada92fa028
Add removal dates for deprecated plugin functions and variables
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Gergely Nagy
72d4ac8124
Merge pull request #1036 from gedankenexperimenter/plugin/autoshift
...
Add AutoShift plugin
3 years ago
Gergely Nagy
a1abdf0b83
Merge pull request #1037 from gedankenexperimenter/spacecadet-no-delay
...
Add SpaceCadet "no-delay" mode
3 years ago
Gergely Nagy
f4de545390
Merge pull request #1035 from gedankenexperimenter/hook/afterReportingState
...
Add `afterReportingState()` event handler
3 years ago
Michael Richters
1ff881a86b
Add `afterReportingState()` handler to OneShot
...
If multiple events are processed in a single cycle, we want a OneShot key whose
release is triggered by the first one to only affect that key, and not
subsequent ones. For example, if we tap `OSM(LeftShift)`, then `TD(0)`, then
`Key_X`, the OneShot shift should only apply to the output of the TapDance key,
not the `x`.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
2404a81c5a
Add AutoShift plugin
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago
Michael Richters
d8be455c7a
Fix Syster handling of `Key_0`
...
Fixes #1032
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
3 years ago