Commit Graph

57 Commits (462af972ae15c41c1d50f3e13627fde253013da6)

Author SHA1 Message Date
ejinks4 263f9a59c3
Update key_events.cpp (IS_INTERNAL Handling)
7 years ago
Craig Disselkoen 44ebeed109 Fix out-of-bounds memory accesses resulting from handleKeyswitchEvent()
7 years ago
Jesse Vincent b82b6910ea
Rename 'keymapCache' to 'activeLayers' to better describe what it is
7 years ago
Gergely Nagy 29a8b95615 layers: Implement a two-stage cache
7 years ago
Jesse Vincent c8e846247c
Rename 'keyCache' to 'keymapCache', as it's a little bit more
7 years ago
Gergely Nagy e3f1172244 Changed how key caching & lookup works
7 years ago
Gergely Nagy dc40c8e226 masking: Let the release event of a masked key through
8 years ago
Gergely Nagy ca8f586b2e Document the use of key masking a bit
8 years ago
Gergely Nagy f0b3ad2b14 Implement key masking for momentary layer keys
8 years ago
Jesse Vincent 8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
8 years ago
Jesse Vincent 7919922036
Move the hid facade out into its own namespace
8 years ago
Jesse Vincent 7e73341772
Move our hid facade into kaleidoscope::hid
8 years ago
Jesse Vincent c9734385c5
press/releaseKeyRaw -> press/releaseRawKey
8 years ago
Jesse Vincent 4ee9ca4e63
pressConsumer/releaseConsumer -> pressConsumerControl / releaseConsumerControl
8 years ago
Jesse Vincent f5aaedffd5
add an "isModifierActive" to the hid facade
8 years ago
Jesse Vincent 02695b8cea
Add a facde for KeyboardioHID's *.begin()
8 years ago
Jesse Vincent 8b187366c7
Create an abstraction on top of the KeyboardioHID interface
8 years ago
Jesse Vincent cb3a6d78c8
press_key-> pressKey
8 years ago
Jesse Vincent 396ae22a67
release_key->releaseKey
8 years ago
Jesse Vincent 210287684f
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 2582441523
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 0f2bae7db7
keyToggledO* camelcasing
8 years ago
Jesse Vincent 8c6b8433cc
astyle pass
8 years ago
Jesse Vincent d75939d456
make astyle
8 years ago
Jesse Vincent 944a15aa1c
Fixed a couple places where we were using the old key names
8 years ago
Jesse Vincent 826194a269 change "handle_key_event" to "handle_keyswitch_event" to make it clear that we're talking about something on the physical layer, rather than, say, a HID event
8 years ago
Gergely Nagy ff4dfad195 Support for holding Consumer/SystemControl keys
8 years ago
Jesse Vincent 6c190f26f1 System and Consumer keys really ought to be explicitly pressed and released using their internal support. This fixes volume keys
8 years ago
Gergely Nagy f7834f05fc Merge the hooks into the Kaleidoscope object
8 years ago
Jesse Vincent f3b786dade "make astyle" - no functionality changes
8 years ago
Gergely Nagy eaf3991f38 Move the LED stuff into a plugin
8 years ago
Gergely Nagy 4b76f12ba4 Rename Key.rawKey to Key.keyCode
8 years ago
Gergely Nagy fd36e602ad Layers: Don't use hooks for the layer event handler
8 years ago
Gergely Nagy aed2fc8d98 Event hooks reworked, again
8 years ago
Gergely Nagy 7adf80dacc Layer handling reworked
8 years ago
Gergely Nagy adf67f7d60 Always call the default handler
8 years ago
Gergely Nagy 1acc23063e Rearrange the SYNTHETIC bits, and their handling
8 years ago
Gergely Nagy 4aa6e14021 Add an explicit release event
8 years ago
Gergely Nagy d2ba853594 Move all macro handling into separate files
8 years ago
Gergely Nagy 8b3b321c0e Use an overridable macroAction function for macro actions
8 years ago
Gergely Nagy be7f1de66f keyswitch_state: Rename the state arguments to keyState
8 years ago
Gergely Nagy 0de09ffc97 Use a single byte for keyswitch state
8 years ago
Gergely Nagy 3a2665aed4 Use the new INJECTED flag in the default handlers
8 years ago
Gergely Nagy 28aa497452 Move mouse keys to a library
8 years ago
Jesse Vincent 4cc81b6c69 Merge pull request #40 from algernon/f/hooks/additional-helpers
8 years ago
Gergely Nagy 67bc556c66 key_events: look up mappedKey earlier
8 years ago
Gergely Nagy 2734edb2b0 hooks: Add a way to replace hooks
8 years ago
Gergely Nagy 477dcb5aed A way to restart the event handler with a different code
8 years ago
Gergely Nagy 58f6b18076 Separate the keymap layout from the core firmware
8 years ago
Gergely Nagy 7396a8bd1d Add the default key event handler in Keyboardio_::setup
8 years ago