Commit Graph

225 Commits (e7f9edba2d78a75e90747a00758915a055a7c654)

Author SHA1 Message Date
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
7 years ago
Gergely Nagy c05573ea40 Guard the key_is_pressed/key_was_pressed arguments better
7 years ago
Jesse Vincent 8c6b8433cc
astyle pass
7 years ago
Jesse Vincent e57cfbc0db
remove a bunch of semicolons that the linter says are superfluous
7 years ago
Jesse Vincent 37d0f1cb8c
Switch HIDTables.h to #pragma once to satisfy the linter.
7 years ago
Jesse Vincent 554b43c2b5
Remove an unneeded ; caught by cpplint.py
7 years ago
Jesse Vincent d75939d456
make astyle
7 years ago
Jesse Vincent da2adaf96d
Remove "Key_" prefix from ConsumerCtl and Sysctl key defs.
7 years ago
Jesse Vincent e4ecd42d11
Traditional capitialization of PrintScreen
7 years ago
Jesse Vincent 6209290164
Looks like we _do_ have to define this yere to get Keyboard included correctly
7 years ago
Jesse Vincent 944a15aa1c
Fixed a couple places where we were using the old key names
7 years ago
Jesse Vincent 40a597c9e6
Second attempt at disambiguating key definitions
7 years ago
Jesse Vincent 2418b6a3c3
Prefix Sysctl key definitions to avoid duplicate definitions
7 years ago
Jesse Vincent a6de8467b8
Embarassing naming issue
7 years ago
Jesse Vincent 1577bd6cec
remove some backcompat key definition names
7 years ago
Jesse Vincent 4293ac533d
Lift HID Tables to Kaleidoscope to make it easier for implementations
7 years ago
Jesse Vincent af3aeaff4f
First pass at mapping full HID key tables, including back-compat for
7 years ago
Jesse Vincent b5a776c341
Add "Menu" key definintiojn
7 years ago
Jesse Vincent 66bf02cb45
Add a print screen macro.
7 years ago
Jesse Vincent aa274edd43
Revert "add header with rgb struct definition"
7 years ago
Jesse Vincent 338c5c6551 Merge pull request #131 from wez/rgb
7 years ago
Wez Furlong f2c5e3ae9d add header with rgb struct definition
7 years ago
Gergely Nagy 3ee483b2cb Move the WDT calls to the hardware plugins
7 years ago
Wez Furlong 4e5259f424 and this is needed to allow building with the Teensy USB core
7 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
Gergely Nagy 4b76f12ba4 Rename Key.rawKey to Key.keyCode
8 years ago
Gergely Nagy 0cfa1f7adb key_defs: Add some operators
8 years ago
Gergely Nagy 2667b8a074 Keyboardio: Change from static to extern
8 years ago
Gergely Nagy 0d187af2c8 Prevent optimising out the hook functions
8 years ago