Commit Graph

836 Commits (0bb3928aea34f7698129a1b44aa99fd1efab496f)

Author SHA1 Message Date
Florian Bruhin 4a6aea650d Add keyIsInjected helper
3 years ago
Michael Richters 2cb5a1c172
Change default value of `KeyEvent` from `Key_NoKey` to `Key_Undefined`
3 years ago
Gergely Nagy 2305f49680
device::Base: Use the Base HID by default, rather than KeyboardioHID
3 years ago
Gergely Nagy 80e414ace8
driver::hid: Allow compiling base::Keyboard without KeyboardioHID
3 years ago
Gergely Nagy 894ca338de
driver::hid: Remove Mouse::getReport()
3 years ago
Gergely Nagy f496aaa5d5
hid: Move mouse::stop from base to the specific implementation
3 years ago
Gergely Nagy f7179fca7f
driver::hid::base: Add isKeyPressed() to the NoKeyboard classes
3 years ago
Michael Richters 9f1d5dc214
Remove vestigial `layer_state_` bitfield
3 years ago
Jesse Vincent 43de5b6eab
Shave 8 bytes by forcing isLayerShift inline
4 years ago
Jesse Vincent 0dd2ca17d8
Shave 20 bytes by foricing isKeyboardModifier inline
4 years ago
Michael Richters 92f2f582f1
Add `afterReportingState()` event handler function
4 years ago
Michael Richters 9ac4cc5a6f
Clear masked keys on release in `Runtime.handleKeyswitchEvent()`
4 years ago
Michael Richters 18a8e728f2
Fix timeout checker
4 years ago
Michael Richters 328edcfc64
Add `KeyAddrBitField::clear()` method
4 years ago
Michael Richters 73c9fa7e96
Standardize private variable names in LEDControl
4 years ago
Michael Richters 26f1972976
Deprecate public `LEDControl.syncDelay` variable
4 years ago
Michael Richters f6e9896697
Remove some unnecessary namespace qualifiers from LEDControl
4 years ago
Michael Richters e4b6499070
Adapt LEDControl to new KeyEvent handlers
4 years ago
Michael Richters 7756be1a6d
Add `beforeSyncingLeds()` event handler hook function
4 years ago
Michael Richters 015b8e3140
Add KeyEventTracker helper class
4 years ago
Michael Richters 1946e1de0b
Compile deprecated Layer code conditionally
4 years ago
Michael Richters 4c47ce1185
Terminate event handling after calling `Layer.handleLayerKeyEvent()`
4 years ago
Michael Richters 7d16958a7a
Replace `handleKeymapKeyswitchEvent()` with `handleLayerKeyEvent()`
4 years ago
Michael Richters 236281fa75
Rewrite top-level event handling functions
4 years ago
Michael Richters d5a8a6e201
Add new `KeyEvent` event handler functions
4 years ago
Michael Richters 3be5c0fce4
Generalize KeyAddrEventQueue type to store EventId values
4 years ago
Michael Richters 3be1ea6531
Add KeyEvent data type
4 years ago
Michael Richters d97221c5a1
Add `remove(n)` method to `KeyAddrEventQueue` class
4 years ago
Michael Richters bdfa7f5894
Fix a bug in `Key.isLayerShift()`
4 years ago
Michael Richters dc21cc2895
Rewrite OneShot plugin
4 years ago
Michael Richters add3ab4e83
Move KeyAddrEventQueue class from Qukeys to Kaleidoscope core
4 years ago
Michael Richters e984bc8a3a
Remove unused `EPHEMERAL` keyswitch state bit
4 years ago
Michael Richters 65f54d63d7
Deprecate `Layer.eventHandler()`
4 years ago
Michael Richters 4a63fe1440
Replace the keymap cache with a keyboard state array
4 years ago
Michael Richters 3c2175b062
Add aliases `Key_Unbound` & `Key_Masked`
4 years ago
Michael Richters 3508315aef
Add `EventHandlerResult::ABORT`
4 years ago
Michael Richters 9dd9c9557c
Abort hook functions on any result other than `OK`
4 years ago
Gergely Nagy fc1296395e
New hook: onNameQuery()
4 years ago
Michael Richters 5c12c8ee49
Add comments to handleKeymapKeyswitchEvent()
4 years ago
Michael Richters 08f45ba6a9
Allow deactivation of base layer
4 years ago
Gergely Nagy c924fb0dc6
Update a comment to reflect reality
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 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
Jesse Vincent b3ef48dcce
Migrate Kaleidoscope-Leader to the plugins directory
4 years ago
Jesse Vincent b573f37f15
Migrate Kaleidoscope-SpaceCadet to the plugins directory
4 years ago
Jesse Vincent 36cd49e8d4
Migrate Kaleidoscope-TopsyTurvy to the plugins directory
4 years ago
Jesse Vincent 3b30588fb0
Migrate Kaleidoscope-Unicode to the plugins directory
4 years ago
Jesse Vincent e98ea83a0a
Migrate Kaleidoscope-Redial to the plugins directory
4 years ago
Jesse Vincent 51f10ac3e9
Migrate Kaleidoscope-HostPowerManagement to the plugins directory
4 years ago
Jesse Vincent bc77d2e1f6
Migrate Kaleidoscope-IdleLEDs to the plugins directory
4 years ago
Jesse Vincent 21dc498e6c
Migrate Kaleidoscope-Heatmap to the plugins directory
4 years ago
Jesse Vincent 1d5ddbb0a5
Migrate Kaleidoscope-Turbo to the plugins directory
4 years ago
Jesse Vincent 51fddee9af
Migrate Kaleidoscope-TapDance to the plugins directory
4 years ago
Jesse Vincent d59503161a
Migrate Kaleidoscope-FirmwareDump to the plugins directory
4 years ago
Jesse Vincent 3998bdc15b
Migrate Kaleidoscope-Steno to the plugins directory
4 years ago