Commit Graph

182 Commits (b82b6910ea76a5f819b6f6e737a169cbba76988c)

Author SHA1 Message Date
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
Gergely Nagy b8f8c9b3d5 Smarter Layer.on / Layer.off
7 years ago
Gergely Nagy 75fb3ac14a Make cpplint happy
7 years ago
Jesse Vincent 89e59ab628
astyle fix for a trailing newline
7 years ago
Jesse Vincent c8e846247c
Rename 'keyCache' to 'keymapCache', as it's a little bit more
7 years ago
Jesse Vincent 6778581bcf
add a more descriptive comment
7 years ago
Gergely Nagy 130845f897 Add a few comments explaining why we call Layer.updateKeyCache()
7 years ago
Gergely Nagy 3748fe7669 Update the key cache on layer change and at keyboard setup
7 years ago
Jesse Vincent 491dca3a4d
lint fix
7 years ago
Gergely Nagy 96b1979ca5 Layer: Make the repeating behaviour the default and only variant
7 years ago
Gergely Nagy 84768d505c Layer_::updateKeyCache: Guard against out of bounds key coordinates
7 years ago
Gergely Nagy 8b9fdaa90f Don't init `Layer.repeat_first_press` to true yet.
7 years ago
Gergely Nagy 5ccdfcf6c7 Switch the layer repeating behaviour
7 years ago
Gergely Nagy f0c1c35e8f Significant speed improvement in key lookup code
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
7 years ago
Gergely Nagy ca8f586b2e Document the use of key masking a bit
7 years ago
Gergely Nagy f0b3ad2b14 Implement key masking for momentary layer keys
7 years ago
Jesse Vincent e9c532509f
Switch AbsoluteMouse to use its own HID endpoint
7 years ago
Jesse Vincent 8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
7 years ago
Jesse Vincent 7919922036
Move the hid facade out into its own namespace
7 years ago
Jesse Vincent 7e73341772
Move our hid facade into kaleidoscope::hid
7 years ago
Jesse Vincent c9734385c5
press/releaseKeyRaw -> press/releaseRawKey
7 years ago
Jesse Vincent 4ee9ca4e63
pressConsumer/releaseConsumer -> pressConsumerControl / releaseConsumerControl
7 years ago
Jesse Vincent f5aaedffd5
add an "isModifierActive" to the hid facade
7 years ago
Jesse Vincent 02695b8cea
Add a facde for KeyboardioHID's *.begin()
7 years ago
Jesse Vincent 8b187366c7
Create an abstraction on top of the KeyboardioHID interface
7 years ago
Jesse Vincent cb3a6d78c8
press_key-> pressKey
7 years ago
Jesse Vincent 396ae22a67
release_key->releaseKey
7 years ago
Jesse Vincent e29e220416
camelCasing of _matrix functions
7 years ago
Jesse Vincent 210287684f
CamelCase of handle_*_key*
7 years ago
Jesse Vincent 2582441523
CamelCase of KeyIsPressed and KeyWasPressed
7 years ago
Jesse Vincent 0f2bae7db7
keyToggledO* camelcasing
7 years ago
Jesse Vincent 3154f7c997
Add "correct" camelCase versions of the keyswitch state macros to ease transition to the new API
7 years ago
Gergely Nagy 636dfc3ba6 Rework Kaleidoscope.use to be a compile-time recursive function
8 years ago
Gergely Nagy c05573ea40 Guard the key_is_pressed/key_was_pressed arguments better
8 years ago
Jesse Vincent 8c6b8433cc
astyle pass
8 years ago
Jesse Vincent e57cfbc0db
remove a bunch of semicolons that the linter says are superfluous
8 years ago
Jesse Vincent 37d0f1cb8c
Switch HIDTables.h to #pragma once to satisfy the linter.
8 years ago
Jesse Vincent 554b43c2b5
Remove an unneeded ; caught by cpplint.py
8 years ago
Jesse Vincent d75939d456
make astyle
8 years ago
Jesse Vincent da2adaf96d
Remove "Key_" prefix from ConsumerCtl and Sysctl key defs.
8 years ago
Jesse Vincent e4ecd42d11
Traditional capitialization of PrintScreen
8 years ago
Jesse Vincent 6209290164
Looks like we _do_ have to define this yere to get Keyboard included correctly
8 years ago
Jesse Vincent 944a15aa1c
Fixed a couple places where we were using the old key names
8 years ago
Jesse Vincent 40a597c9e6
Second attempt at disambiguating key definitions
8 years ago
Jesse Vincent 2418b6a3c3
Prefix Sysctl key definitions to avoid duplicate definitions
8 years ago
Jesse Vincent a6de8467b8
Embarassing naming issue
8 years ago
Jesse Vincent 1577bd6cec
remove some backcompat key definition names
8 years ago