Commit Graph

229 Commits (dd1376978e13523cc55859f52f6259ec9f58949c)

Author SHA1 Message Date
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
Jesse Vincent 4293ac533d
Lift HID Tables to Kaleidoscope to make it easier for implementations
8 years ago
Jesse Vincent af3aeaff4f
First pass at mapping full HID key tables, including back-compat for
8 years ago
Jesse Vincent b5a776c341
Add "Menu" key definintiojn
8 years ago
Jesse Vincent 66bf02cb45
Add a print screen macro.
8 years ago
Jesse Vincent aa274edd43
Revert "add header with rgb struct definition"
8 years ago
Jesse Vincent 338c5c6551 Merge pull request #131 from wez/rgb
8 years ago
Wez Furlong f2c5e3ae9d add header with rgb struct definition
8 years ago
Gergely Nagy 3ee483b2cb Move the WDT calls to the hardware plugins
8 years ago
Wez Furlong 4e5259f424 and this is needed to allow building with the Teensy USB core
8 years ago
Wez Furlong 173a422439 basic support for non-avr, non-usb boards
8 years ago
Jesse Vincent 19c63e6a8b Merge pull request #122 from algernon/f/focus-layer-hook
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
Jesse Vincent a492d3182e Add some doc for UNKNOWN_KEYSWITCH_LOCATION
8 years ago
Gergely Nagy b66c17c77d Add an optional Focus hook
8 years ago
Gergely Nagy 69bc303828 Add an UNKNOWN_KEYSWITCH_LOCATION helper
8 years ago
Gergely Nagy ff4dfad195 Support for holding Consumer/SystemControl keys
8 years ago
Jesse Vincent b2fd8d148a Merge pull request #114 from algernon/f/no-layer-restore
8 years ago
Gergely Nagy 6d641e7fc5 Make the lookup of a key pluggable
8 years ago
Gergely Nagy 71d49dee51 Don't try to load the saved layer on setup()
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 d1a14b6d32 Add a USE_PLUGINS() macro
8 years ago
Gergely Nagy 5d46660bef Workaround for the compiler optimizing things out...
8 years ago
Gergely Nagy 9a48b83290 Include Kaleidoscope.h in layers.cpp
8 years ago
Gergely Nagy f7834f05fc Merge the hooks into the Kaleidoscope object
8 years ago
Gergely Nagy 361146bf4a Merge plugin.h into Kaleidoscope.h
8 years ago
Gergely Nagy 67e906bc15 Another mergeLayers optimization
8 years ago
Gergely Nagy 0bdbe7385a Minor improvement for mergeLayers
8 years ago
Gergely Nagy 3dc51b233a Cache the keymap when changing layers
8 years ago
Gergely Nagy e305e51455 The Big Rename
8 years ago
Gergely Nagy 4b110b517d Speed up Layer.lookup considerably
8 years ago
Gergely Nagy eb8f9443f9 Fix the momentary layers
8 years ago
Jesse Vincent f3b786dade "make astyle" - no functionality changes
8 years ago
Gergely Nagy 8d768e12a7 Move Storage to the hardware library too
8 years ago
Gergely Nagy f0a191d6b1 Drop keymap_metadata.h
8 years ago
Gergely Nagy c71011a520 Use the Keyboardio-Hardware-Model01 library
8 years ago
Gergely Nagy 8fc1d14630 hooks: Drop the deprecated functions
8 years ago
Jesse Vincent 84d7a3ccb0 Merge pull request #90 from algernon/f/LEDs/lift-off
8 years ago
Jesse Vincent 06e5a2b981 Merge pull request #92 from algernon/h/layers/toggle-fix
8 years ago
Jesse Vincent 572f3407da Merge pull request #91 from algernon/f/hooks/double-register-protection
8 years ago
Gergely Nagy 2c24a5163e key_defs: Add Key_NumLock
8 years ago
Gergely Nagy 361df26094 layers: Fix the layer toggle behaviour
8 years ago
Gergely Nagy 452f3bfc28 hooks: Make the _add functions emit a deprecation warning
8 years ago
Gergely Nagy e349f882e7 hooks: Add some documentation about the various hook functions
8 years ago
Gergely Nagy eb02ca5fe6 hooks: Double-registration protection
8 years ago
Gergely Nagy eaf3991f38 Move the LED stuff into a plugin
8 years ago
Gergely Nagy fab76c9fd4 Fix the modifier macros after the flags/keyCode swap
8 years ago
Gergely Nagy 52a1e96f0d Swap flags and keyCode in the Key struct
8 years ago
Jesse Vincent 743c6e45d3 Remove references to the Wire library, which the KeyboardioScanner no longer uses
8 years ago
Jesse Vincent 8dbf70e278 remove unused breathe state structure
8 years ago
Jesse Vincent b230c1f27d Removing additional use of 'float'
8 years ago
Jesse Vincent 84613fbd4d Switch the "breathe" effect to use integer math
8 years ago
Jesse Vincent 27f77b978f Merge pull request #79 from algernon/f/Key/operators
8 years ago
Gergely Nagy 5b99952c67 Sync the LEDs at the end of the loop
8 years ago