Dean Scarff
104697ec40
Use eager reporting when debouncing
...
If a key has been in a stable state and then changes, report that change
immediately and then wait for a cooldown period before reporting any
additional changes. This reduces latency for registering initial
keypresses.
It would be unusual for this to introduce chatter, since mechanical
switches only tend to be noisy immediately after a key press or release.
This change does not introduce any additional persistent state, although
it does add an additional parameter to the debouncer to distinguish
between the last raw state and the last debounced state.
It also fixes a bug whereby all rows in the matrix would be rewritten
for every row that changed due to a mis-nesting of loops. However,
it now writes to the matrix state unconditionally.
Signed-off-by: Dean Scarff <dos@scarff.id.au>
4 years ago
Gergely Nagy
c924fb0dc6
Update a comment to reflect reality
...
The `INSTANTIATE_WEAK_HOOK_FUNCTION` claimed that it's there for v1 API
compatibility alone - it is not. It allows us to have sketches that use no
plugins too, without them having to use `KALEIDOSCOPE_INIT_PLUGINS()` with a
dummy plugin.
We'd need a dummy plugin because `KALEIDOSCOPE_INIT_PLUGINS()` does not support
being invoked with an empty plugin list, due to technical reasons. From an
end-user point of view, not using the macro is much preferable to using it with
a dummy plugin. We can't automatically inject a dummy plugin either, again, due
to technical reasons.
Fixes #1005 .
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
4 years ago
Jesse Vincent
3bfd045065
Remove deprecated Key Masking system on schedule
4 years ago
Jesse Vincent
3227a2dcf4
Remove deprecated Layer API functions as per the schedule
4 years ago
Jesse Vincent
944e41bc6f
fixup Model 01 extraction
4 years ago
Jesse Vincent
440fdd2b9e
Extract keyboardio keyboards to plugins
4 years ago
Jesse Vincent
e39a5b0810
Extract Technomancy Atreus to a plugin
4 years ago
Jesse Vincent
ee526315f6
Extract SOFTHRUF Splitography
4 years ago
Jesse Vincent
5c9e827918
Extract Dygma Raise out to a plugin
4 years ago
Jesse Vincent
74986b6757
Extract KBDFans KBD4x out to a plugin
4 years ago
Jesse Vincent
cedfc0b935
extract the planck out to a plugin dir
4 years ago
Jesse Vincent
5b5bf237e1
move the ErgoDox EZ out to a plugin
4 years ago
Jesse Vincent
d82bc7b154
extract gHeavy boards to plugins
4 years ago
Jesse Vincent
54cae3365d
Extract Kaleidoscope-Ranges back to a plugin
4 years ago
Jesse Vincent
af336b55dc
Migrate Kaleidoscope-LEDEffects to the plugins directory
4 years ago
Jesse Vincent
171146e405
Migrate Kaleidoscope-HardwareTestMode to the plugins directory
4 years ago
Jesse Vincent
17d09b7fe9
Migrate Kaleidoscope-LED-AlphaSquare to the plugins directory
4 years ago
Jesse Vincent
c6d26f47e9
Migrate Kaleidoscope-LED-ActiveModColor to the plugins directory
4 years ago
Jesse Vincent
c8c4ea7e6a
Migrate Kaleidoscope-LED-ActiveLayerColor to the plugins directory
4 years ago
Jesse Vincent
9d958025c3
Migrate Kaleidoscope-EEPROM-Settings to the plugins directory
4 years ago
Jesse Vincent
da75121d9b
Migrate Kaleidoscope-EEPROM-Keymap to the plugins directory
4 years ago
Jesse Vincent
110da0e334
Migrate Kaleidoscope-EEPROM-Keymap-Programmer to the plugins directory
4 years ago
Jesse Vincent
86268c56dc
Migrate Kaleidoscope-PersistentLEDMode to the plugins directory
4 years ago
Jesse Vincent
285afc6858
Migrate Kaleidoscope-Model01-TestMode to the plugins directory
4 years ago
Jesse Vincent
4a57e09a9c
Migrate Kaleidoscope-OneShot to the plugins directory
4 years ago
Jesse Vincent
58e33f5903
Migrate Kaleidoscope-LEDEffect-SolidColor to the plugins directory
4 years ago
Jesse Vincent
8478ed971e
Migrate Kaleidoscope-LEDEffect-Rainbow to the plugins directory
4 years ago
Jesse Vincent
36574517ad
Migrate Kaleidoscope-LEDEffect-Chase to the plugins directory
4 years ago
Jesse Vincent
c87cdc9555
Migrate Kaleidoscope-LEDEffect-Breathe to the plugins directory
4 years ago
Jesse Vincent
5bb7f4b592
Migrate Kaleidoscope-LEDEffect-BootGreeting to the plugins directory
4 years ago
Jesse Vincent
bed33a4ad7
Migrate Kaleidoscope-LEDEffect-BootAnimation to the plugins directory
4 years ago
Jesse Vincent
7918065ddb
Migrate Kaleidoscope-LED-Palette-Theme to the plugins directory
4 years ago
Jesse Vincent
593e31919f
Migrate Kaleidoscope-LED-Stalker to the plugins directory
4 years ago
Jesse Vincent
3eb5bf96ed
Migrate Kaleidoscope-LED-Wavepool to the plugins directory
4 years ago
Jesse Vincent
1efbf31baf
Migrate Kaleidoscope-Escape-OneShot to the plugins directory
4 years ago
Jesse Vincent
2995e87bdf
Migrate Kaleidoscope-Colormap to the plugins directory
4 years ago
Jesse Vincent
3201833153
Migrate Kaleidoscope-Qukeys to the plugins directory
4 years ago
Jesse Vincent
8a6bd8023b
Migrate Kaleidoscope-LayerFocus to the plugins directory
4 years ago
Jesse Vincent
bd9dcc0c1f
Migrate Kaleidoscope-MouseKeys to the plugins directory
4 years ago
Jesse Vincent
f12a07c249
Migrate Kaleidoscope-NumPad to the plugins directory
4 years ago
Jesse Vincent
3299a3b361
Migrate Kaleidoscope-Macros to the plugins directory
4 years ago
Jesse Vincent
eb238e7b75
Migrate Kaleidoscope-MagicCombo to the plugins directory
4 years ago
Jesse Vincent
73178c7229
Migrate Kaleidoscope-ShapeShifter to the plugins directory
4 years ago
Jesse Vincent
8ea60fb414
Migrate Kaleidoscope-GhostInTheFirmware to the plugins directory
4 years ago
Jesse Vincent
ad07aeee97
Migrate Kaleidoscope-FocusSerial to the plugins directory
4 years ago
Jesse Vincent
da1318cfaa
Migrate Kaleidoscope-FingerPainter to the plugins directory
4 years ago
Jesse Vincent
8d3cb76f7e
Migrate Kaleidoscope-DynamicTapDance to the plugins directory
4 years ago
Jesse Vincent
b9633a4916
Migrate Kaleidoscope-DynamicMacros to the plugins directory
4 years ago
Jesse Vincent
b9f6a1b1eb
Migrate Kaleidoscope-Cycle to the plugins directory
4 years ago
Jesse Vincent
a2775565e5
Migrate Kaleidoscope-CycleTimeReport to the plugins directory
4 years ago