Commit Graph

1672 Commits (b33f4b5fc4ca7a6e363cec50af5e35631d97ca7f)

Author SHA1 Message Date
Gergely Nagy 33dc593151 layers: Add a comment about the momentary layer handling
7 years ago
Gergely Nagy c88062a243 layers: Code refactoring
7 years ago
Gergely Nagy b218143faf When a momentary layer is held, reactivate the layer if it turns off
7 years ago
Jesse Vincent 9fa29b709d
Turn off the LEDs when exiting NumLock mode.
7 years ago
Jesse Vincent 6dc23db20b
When figuring out which keys to light up with LEDs: Switch to looking up the numpad keys based on the currently active layer
7 years ago
Jesse Vincent 0c1b723650
Explicitly set LEDs that aren't active to zero. Otherwise, plugins like numlock won't get de-initialized
7 years ago
Jesse Vincent 3199594181
astyle
7 years ago
Jesse Vincent f738c4ea1e
rename lookupUncached to lookupOnActiveLayer
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
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
Gergely Nagy afce335f30 Drop the getKeyColor function from the header
7 years ago
Gergely Nagy 453e30038f isLayerKeyActive: Check for flag equality, not just two bits set
7 years ago
Gergely Nagy 5cd5eab50d Use non-deprecated functions for event handler & loop hook registration
7 years ago
Gergely Nagy e64f489845 Make it possible to disable the double-tap-sticky feature
7 years ago
Gergely Nagy f25480730e When checking for normal layer keys, make sure the RESERVED bit isn't set
7 years ago
Gergely Nagy 810acd9842 When cancelling after hold timeout, turn should_cancel_ off too.
7 years ago
Gergely Nagy a0dad6bf0e Use Kaleidoscope.useLoopHook() instead of loop_hook_use()
7 years ago
Gergely Nagy 8becec569e Add support for highlighting layer keys too
7 years ago
Gergely Nagy de3d793b40 Move the modifier activity check into `isModifierActive`
7 years ago
Gergely Nagy b60937f9db Combine modifier & modifier activeness checking
7 years ago
Gergely Nagy 58d07f1e06 Lift out `isModifier` into its own function
7 years ago
Jesse Vincent 491dca3a4d
lint fix
8 years ago
Gergely Nagy 96b1979ca5 Layer: Make the repeating behaviour the default and only variant
8 years ago
Gergely Nagy 84768d505c Layer_::updateKeyCache: Guard against out of bounds key coordinates
8 years ago
Selene Scriven ff95f30ade Fix style issue pointed out by travis
8 years ago
Selene Scriven 5f4ee21790 Upgraded mouse acceleration.
8 years ago
Gergely Nagy 8b9fdaa90f Don't init `Layer.repeat_first_press` to true yet.
8 years ago
Gergely Nagy 5ccdfcf6c7 Switch the layer repeating behaviour
8 years ago
Gergely Nagy f0c1c35e8f Significant speed improvement in key lookup code
8 years ago
Gergely Nagy e3f1172244 Changed how key caching & lookup works
8 years ago
Gergely Nagy b1953f07a2 OSL: Flip the `should_mask_on_interrupt_` bit on OSL release, not press
8 years ago
Gergely Nagy 0afa12c7af Make cpplint happy too
8 years ago
Gergely Nagy d9e7536221 Fix the range
8 years ago
Gergely Nagy b7415039cb make astyle
8 years ago
Gergely Nagy 89fce67998 Use the new kaleidoscope::ranges::STENO_START values
8 years ago
Gergely Nagy 155b7639ad Introduce kaleidoscope::ranges::FIRST & ::SAFE_START
8 years ago
Gergely Nagy 072f7a3896 Add the Steno range
8 years ago
Gergely Nagy 23fec81b28 Allow type() to take any number of arguments
8 years ago
Gergely Nagy 306e450496 Make the .type method return MACRO_NONE
8 years ago
Gergely Nagy 87fbf85995 eventHandlerHook: Compute the one-shot index early
8 years ago
Gergely Nagy 2e48ea3a0e masking: Use keydata_t instead of uint8_t[4]
8 years ago
Gergely Nagy 7e09236306 masking: Follow the hand state bit layout more closely
8 years ago
Gergely Nagy 8e98e30f62 masking: use 4 8-bit uints instead of one 32bit one
8 years ago
Gergely Nagy 52c8402006 Do not mask one-shot modifiers, only layers
8 years ago
Gergely Nagy 37ac11bb49 Remove some unnecessary code
8 years ago
Gergely Nagy 0a566eb58f Fix masking of the right-hand side.
8 years ago
Craig Disselkoen a120c63e96 Avoid duplicated effects in LEDMode rotation
8 years ago
Gergely Nagy dc40c8e226 masking: Let the release event of a masked key through
8 years ago
Gergely Nagy 2fe4ef3aee Held + normal key should prevent oneshot from firing
8 years ago
Gergely Nagy 281db87abc Fix kaleidoscope::steno::END
8 years ago
Gergely Nagy 85336c5172 Use the KeyboardHardware-provided key masking functions
8 years ago
Gergely Nagy ca8f586b2e Document the use of key masking a bit
8 years ago
Gergely Nagy 14197de8e6 Add a few words about masking as in-code comments.
8 years ago
Gergely Nagy a31d686911 When interrupting a tap-dance sequence, make sure no extras are sent
8 years ago
Jesse Vincent c575fd0d52
When in numlock, we should only light up the numpad keys, not everything else
8 years ago
Gergely Nagy f14e31fdd6 Limit the layer checking to `max_layers_`
8 years ago
Gergely Nagy dd63d76369 Initial import
8 years ago
Jesse Vincent 1206a3cafb
astyle
8 years ago
Jesse Vincent a9068d16d4
Unify repeated code to a codepath. Saves us 16 bytes
8 years ago
Jesse Vincent cd847a7ead
extract our ascii lookup table function. (saves 16 bytes)
8 years ago
Gergely Nagy f0b3ad2b14 Implement key masking for momentary layer keys
8 years ago
Gergely Nagy 40e6656f6e Add helpers to aid in implementing key masking
8 years ago
Gergely Nagy 92050c2ab7 Highlight only those keys that have no flag set
8 years ago
Gergely Nagy 65fee12dad Move Mouse & AbsoluteMouse initialization to MouseWrapper.begin
8 years ago
Gergely Nagy 23b341e2b3 Skip layer switching keys when it comes to highlighting
8 years ago
Jesse Vincent e9c532509f
Switch AbsoluteMouse to use its own HID endpoint
8 years ago
Gergely Nagy 4f7e60ec52 Highlight changed keys on the NumLock layer, not just NumPad ones
8 years ago
Jesse Vincent 5e79b16923
switch around our constants so we have more room for mouse buttons in the bit vector
8 years ago
Jesse Vincent ef47dc5447
switch mouse button constants to those defined in the HID library.
8 years ago
Jesse Vincent 8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
8 years ago
Jesse Vincent 13646a6581
port to new hid facade
8 years ago
Jesse Vincent a38f033e2b
port to hid facade
8 years ago
Jesse Vincent 271aba9373
port to new hid facade
8 years ago
Jesse Vincent 9957fca651
Update to new hid facade
8 years ago
Jesse Vincent 6b6cbd4803
port to new hid facade
8 years ago
Jesse Vincent e5f9929ed0
Port to new kaleidoscope::hid facade
8 years ago
Jesse Vincent 93e83ed75a
Port to new hid facade
8 years ago
Jesse Vincent 189c2781dc
Port to new hid facade
8 years ago
Jesse Vincent b19fd73f1f
astyle
8 years ago
Jesse Vincent cf08f96d1c
Port to new HID facade
8 years ago
Jesse Vincent b87014c544
Port to the new HID facade
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 42cabcfa6f
camelCasing wait_for_keypress
8 years ago
Jesse Vincent 2c08dd867b
camelCasing press_button to pressButton
8 years ago
Jesse Vincent cb3a6d78c8
press_key-> pressKey
8 years ago
Jesse Vincent 396ae22a67
release_key->releaseKey
8 years ago
Jesse Vincent 9573630c19
camelCasing of internal functions in Hardware file
8 years ago
Jesse Vincent d0e85633b8
camelCasing of _matrix functions
8 years ago
Jesse Vincent 4712aabfd4
camelCasing of _matrix functions
8 years ago
Jesse Vincent e29e220416
camelCasing of _matrix functions
8 years ago
Jesse Vincent c4fccab55b
get_key_color -> getKeyColor
8 years ago
Jesse Vincent 137ff37610
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 978d04625d
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 082b409054
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 9ae181f65c
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent e8901c55a0
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 2e428d8ccc
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 6c723bee32
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent a84060e8d1
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 769470fbd6
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 9953d874a6
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 8c35edcfb5
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent b65f175343
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 727ce67321
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent bb72deed23
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 5fb304851f
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 0235d41ae0
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 63e616099e
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 061047c52e
CamelCase of handle_*_key*
8 years ago
Jesse Vincent ee0ccdd91d
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 6b850c140d
Switch Macros to use an API rather than doing its own bitmath
8 years ago
Jesse Vincent 66ff95877d
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 09e596a8a2
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 4a6fcb38ac
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 0f3e63f8be
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 210287684f
CamelCase of handle_*_key*
8 years ago
Jesse Vincent cad621194f
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 08501e59e0
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent b3f1371fb5
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 39dc5fe349
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent c09fcd9e67
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 45f14d77da
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent b93d18811e
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 68b0112939
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 2582441523
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 0f2bae7db7
keyToggledO* camelcasing
8 years ago
Jesse Vincent 855ac5fa19
keyToggledO* camelcasing
8 years ago
Jesse Vincent 842fa737d6
keyToggledO* camelcasing
8 years ago
Jesse Vincent 100c6f16fc
keyToggledO* camelcasing
8 years ago
Jesse Vincent 9f78a825b7
keyToggledO* camelcasing
8 years ago
Jesse Vincent df3e79a56a
keyToggledO* camelcasing
8 years ago
Jesse Vincent d70059ce4a
keyToggledO* camelcasing
8 years ago
Jesse Vincent f30af4d85d
keyToggledO* camelcasing
8 years ago
Jesse Vincent b244cec410
keyToggledO* camelcasing
8 years ago
Jesse Vincent 6d2af8cdac
keyToggledO* camelcasing
8 years ago
Jesse Vincent 25cd093f18
keyToggledO* camelcasing
8 years ago
Jesse Vincent 41683449ec
keyToggledO* camelcasing
8 years ago
Jesse Vincent 28b3bb2f9b
keyToggledO* camelcasing
8 years ago
Jesse Vincent 792cae2fe2
keyToggledO* camelcasing
8 years ago
Jesse Vincent a8faa2d594
Switch to new key toggle API
8 years ago
Jesse Vincent 2d7388e42f
Update to 'new' keyswitch state API
8 years ago
Jesse Vincent 3154f7c997
Add "correct" camelCase versions of the keyswitch state macros to ease transition to the new API
8 years ago
Jesse Vincent ff4b316f76
REC became PROG and LED and PROG switched places for mass production
8 years ago
Jesse Vincent 4e46843f32
LED_G was missing. Caught by @cdisselkoen++
8 years ago
Craig Disselkoen c6af9a17e3 Remove internal usage of END macro, in favor of MACRO_ACTION_END
8 years ago
Craig Disselkoen ebd9f35d62 Automatically add END to invocations of MACRO() and friends
8 years ago
Gergely Nagy f2d3d91a73 Simplify the API
8 years ago
Gergely Nagy 40328cd342 Re-init the active LED mode when NumLock is turned off
8 years ago
Gergely Nagy b6461e5f40 Add LEDControl.init_mode()
8 years ago
Gergely Nagy 98bf56d097 Instead of acting as a strange LED mode, use a loop hook instead
8 years ago
Jesse Vincent 51f37933f3 astyle 3.0 caught this style violation
8 years ago
Jesse Vincent 95bd188a54 Make cpplint-noisy happy
8 years ago
Jesse Vincent c8586985fd Add toggling on of the on-board green status LEDs.
8 years ago
Gergely Nagy df8a2d1a50 Revert "Turn the LED off if the modifier is inactive"
8 years ago
Gergely Nagy 9317ec61e2 Migrate from USE_PLUGINS to Kaleidoscope.use
8 years ago
Gergely Nagy 500973eaf9 Fix ALPHASQUARE_SYMBOL_1 in the 3x4 font
8 years ago
Jesse Vincent beb159e860 brighten up the LEDs for testing
8 years ago
Gergely Nagy 98b389411b Use Kaleidoscope.use instead of USE_PLUGINS
8 years ago
Gergely Nagy 150e39b87d Migrate from USE_PLUGINS to Kaleidoscope.use
8 years ago
Gergely Nagy f3d4961578 Turn the LED off if the modifier is inactive
8 years ago
Jesse Vincent 953b58702c cpplint-noisy cleanup
8 years ago
Jesse Vincent 85b96e0e85 destaticify
8 years ago
Jesse Vincent d1fc67e45d deconstify things we think we might want to let users configure
8 years ago
Jesse Vincent 0dabbc6f95 typo
8 years ago
Jesse Vincent 41ddb76fa8 indent error
8 years ago
Jesse Vincent 80c6e1f26c 0 was duplicated
8 years ago
Jesse Vincent ae8407016b wrong var name
8 years ago
Jesse Vincent ea90ca09b0 Add a brightness API for the rainbow effects
8 years ago
Jesse Vincent af3cfba124 astyle didn't catch this whitespace issue
8 years ago
Jesse Vincent ee4265ad77 fixes for cpplint, including a really embarssing mistake
8 years ago
Jesse Vincent a7622eff04 Correct the description of 3x4 font
8 years ago
Jesse Vincent 23a890dd7f Add a first pass at a 3x4 font.
8 years ago
Jesse Vincent 891bab11ec Extract the typeface out into its own file
8 years ago
Jesse Vincent bddcc4912b extract out the key combo
8 years ago
Jesse Vincent d309ff3285 cpplint
8 years ago
Gergely Nagy d010846280 Instead of repeating the highest index, repeat the last one
8 years ago
Gergely Nagy 684db7bd02 Handle one TopsyTurvy key / cycle
8 years ago
Gergely Nagy 74ccc848a8 Add the TopsyTurvy ranges.
8 years ago
Gergely Nagy a3f7ab082d Instead of using a list, augment the keymap directly.
8 years ago
Gergely Nagy 4c2b9e8e55 Add a way to type ASCII strings, as if pressing keys
8 years ago
Gergely Nagy 636dfc3ba6 Rework Kaleidoscope.use to be a compile-time recursive function
8 years ago
Gergely Nagy 0b4fb8dc6f updateHandler should look up from the theme, not from base
8 years ago
Gergely Nagy c3eb1af9da reboot_bootloader: Use reinterpret_cast<> instead of C-style casting
8 years ago
Gergely Nagy 82a7ceb75a Augment a TODO item to make the linter happier
8 years ago
Gergely Nagy c05573ea40 Guard the key_is_pressed/key_was_pressed arguments better
8 years ago
Gergely Nagy c564d298c7 Make the linter happy
8 years ago
Gergely Nagy 07d919069d Make the linter happy
8 years ago
Gergely Nagy 2c569de478 Make the linter happy
8 years ago
Gergely Nagy ea3ec5b19a Make the linter happy
8 years ago
Gergely Nagy 823f73f026 Fix a silly search & replace bug
8 years ago
Gergely Nagy 8d071acde2 Update to work with the latest Ranges APIs
8 years ago
Gergely Nagy 53435e0556 Update to work with the latest OneShot APIs
8 years ago
Gergely Nagy 9d9ef489be Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy e5a8a77a4a Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 8be191fe9b Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 6e8b932c0d Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 184e705b3a Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 8d00a83a44 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy f79b3b5f7d Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy e8f3495f7c Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 853712eec1 Use the newest Ranges APIs
8 years ago
Gergely Nagy e6543b2011 Updated to use the newest Ranges APIs
8 years ago
Gergely Nagy 22088a6546 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 7ddb1130b4 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 3b5363fea1 bootAnimation: Just do it
8 years ago
Gergely Nagy aea3f224b6 Updated to use the latest LEDPaletteTheme APIs
8 years ago
Gergely Nagy e6ff4ed151 Updated to use the latest LEDPaletteTheme APIs
8 years ago
Gergely Nagy e54dc2a4fd Make the linter happy
8 years ago
Gergely Nagy dd7c20a4ee Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 3e1a3e0f3a TriColor: Fix the keydap subtract/devide range
8 years ago
Gergely Nagy cc4d86a98d Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 9e6b7e22f6 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 8f0cfb753c Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 588e332d12 Update to use the newest HostOS version
8 years ago
Gergely Nagy 583e916590 Fix a typo
8 years ago
Gergely Nagy 3a3af164d9 Focus: Fix the focusHook
8 years ago
Gergely Nagy 6839c3ca36 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 129272883a Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 33a19c3b51 Fix the Focus hooks
8 years ago
Gergely Nagy 95b34d4eb0 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 9f064411c2 Fix a case where we did not conform to the Style Guide
8 years ago
Gergely Nagy d8d4ed7809 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy ae8cd514a2 Focus hooks shall follow the style guide more closely
8 years ago
Gergely Nagy c5980dc5a6 Local variables shall follow the style guide too
8 years ago
Gergely Nagy 3a1342b38b Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 523cb38ff5 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy da90c342fb Some more linter-triggered fixes
8 years ago
Gergely Nagy 202860575b Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 407a30f5fd Add an optional Focus hook
8 years ago
Gergely Nagy 6b2263cfa7 Add an .activate() method
8 years ago
Jesse Vincent 6521013ca5
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 7da1fe702a
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 16ecc25dbe
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 06056f9a59
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent bbc7ddaeff
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 54d6241e67
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent be19287112
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 4bbf55a948
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 24cbb5fcb4
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 31e2151cf7
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent 49887a2805
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent f23ce58644
Fixes to make cpplint happy
8 years ago
Jesse Vincent c91db9c565
Fixes to make cpplint happy
8 years ago
Jesse Vincent 57cf6cbab7
cpplint and astyle fixes
8 years ago
Jesse Vincent f4b49c30b6
make astyle
8 years ago
Jesse Vincent 4ae6bff15d
astyle to pad operators
8 years ago
Jesse Vincent d790a01bb2
astyle to pad operators
8 years ago
Jesse Vincent 0c645e957b
astyle to pad operators
8 years ago
Jesse Vincent 0308c89cb4
astyle to pad operators
8 years ago
Jesse Vincent 36a0632d6d
astyle to pad operators
8 years ago
Jesse Vincent 9dc8703308
astyle to pad operators
8 years ago
Jesse Vincent 5de9053fd2
Make cpplint happy
8 years ago
Jesse Vincent 78b3739a4e
partially satisfying the cpplint complaints
8 years ago
Jesse Vincent d515f0088b
Make the linter happy
8 years ago
Jesse Vincent 91da0ae68e
Make the linter happy
8 years ago
Jesse Vincent 42c833c81a
linter cleanup
8 years ago
Jesse Vincent 468996e6c8
fix missing ; at end of class
8 years ago
Jesse Vincent 92a140a32c
missing semicolon
8 years ago
Jesse Vincent f4d2efce5c
astyle with current project style guidelines
8 years ago
Jesse Vincent df5c08d5d5
astyle with current project style guidelines
8 years ago
Jesse Vincent a0b2d400db
astyle with current project style guidelines
8 years ago
Jesse Vincent 7ec1fe2908
astyle with current project style guidelines
8 years ago
Jesse Vincent 17487f9c26
astyle with current project style guidelines
8 years ago
Jesse Vincent e597957ab9
astyle with current project style guidelines
8 years ago
Jesse Vincent 959e20b678
astyle with current project style guidelines
8 years ago
Jesse Vincent 1822c6e3c4
astyle with current project style guidelines
8 years ago
Jesse Vincent 5273b43ba0
astyle with current project style guidelines
8 years ago
Jesse Vincent ecef342f1f
astyle with current project style guidelines
8 years ago
Jesse Vincent b32d2737b8
astyle with current project style guidelines
8 years ago
Jesse Vincent 89c79ef6fe
astyle with current project style guidelines
8 years ago
Jesse Vincent 3865bd8793
astyle with current project style guidelines
8 years ago
Jesse Vincent 0c8d6d3c2e
astyle with current project style guidelines
8 years ago
Jesse Vincent b0dbab8848
astyle with current project style guidelines
8 years ago
Jesse Vincent 90d21fb627
astyle with current project style guidelines
8 years ago
Jesse Vincent 1ef902c27e
astyle with current project style guidelines
8 years ago
Jesse Vincent fcd1743f3b
astyle with current project style guidelines
8 years ago
Jesse Vincent a9f59b131e
astyle with current project style guidelines
8 years ago
Jesse Vincent b75b3ac960
astyle with current project style guidelines
8 years ago
Jesse Vincent 8786adbc84
astyle with current project style guidelines
8 years ago
Jesse Vincent 18fe127ac2
astyle with current project style guidelines
8 years ago
Jesse Vincent b6824423f6
astyle with current project style guidelines
8 years ago
Jesse Vincent 798fb5e0f0
astyle with current project style guidelines
8 years ago
Jesse Vincent a6983c5c4d
astyle with current project style guidelines
8 years ago
Jesse Vincent 32adec8aa9
astyle with current project style guidelines
8 years ago
Jesse Vincent 3097fd0745
astyle to get us closer to cpplint-clean
8 years ago
Gergely Nagy 3f78f20125 Make things compile again
8 years ago
Jesse Vincent a0db8238ff
astyle and lint
8 years ago
Jesse Vincent d77b1a5c41
make astyle
8 years ago
Jesse Vincent 5609a40db3
revert this change. it doesn't pass the linter, but it does actually
8 years ago
Jesse Vincent 2d87a3888f
fixups from astyling and linting
8 years ago
Gergely Nagy 8220369f6f Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 3b4e2add7d Conform to the latest Kaleidoscope Style Guide
8 years ago
Jesse Vincent 5215e95249
make astyle
8 years ago
Gergely Nagy cfd80f3f69 Conform to the latest Kaleidoscope Style Guide
8 years ago
Jesse Vincent 8c6b8433cc
astyle pass
8 years ago
Gergely Nagy 8782cea7c1 Focus: When printing the keymap, use the effective layout
8 years ago
Gergely Nagy ba6128dddc Kaleidoscope Style Guide conformance
8 years ago
Jesse Vincent 88fc70f90a
Update whitespace per new astyle rules
8 years ago
Gergely Nagy 38cf866870 Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy b8f47755ab Yet more styling fixes
8 years ago
Jesse Vincent fcff6f3d20
Make the linter happy
8 years ago
Jesse Vincent a497d67267
Make the linter happy
8 years ago
Gergely Nagy 70e4d15e60 More Style Guide fixes
8 years ago
Jesse Vincent 1d8c3040f1
Fix issues found by the linter.
8 years ago
Jesse Vincent 1d47c216aa
whitespace fix
8 years ago
Jesse Vincent a49b987d5c
Make the linter happy
8 years ago
Gergely Nagy 3e982ba5f6 Kaleidoscope Style Guide conformance
8 years ago
Jesse Vincent 2e3b93d03d
Changes to make the linter happy
8 years ago
Jesse Vincent a02fc71a3b
add some comments to make the linter happy
8 years ago
Jesse Vincent 7c1124af2c
remove a virtual demanded by the linter
8 years ago
Jesse Vincent 6138e2f5be
Remove unneeded ;
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
Gergely Nagy 09ba7dd756 Port over to LED-Palette-Theme
8 years ago
Gergely Nagy 733511fc37 Add a `get_led_index` function
8 years ago
Gergely Nagy 0fc32dbd94 Add a number of helper functions
8 years ago
Gergely Nagy 9e10c9e686 make astyle
8 years ago
Gergely Nagy 947019733d Rename to Kaleidoscope-Colormap
8 years ago
Gergely Nagy 34c5297875 Only request a palette slice, if we haven't already
8 years ago
Gergely Nagy f7196ef26d Migrate to LED-Palette-Theme
8 years ago
Gergely Nagy b81cc12708 Initial import
8 years ago
Jesse Vincent 356dd681f9
astyle 3.0 fixups
8 years ago
Jesse Vincent ede5fdba6c
astyle with astyle 3.0, which matters for this code
8 years ago
Jesse Vincent 437a349288
make astyle
8 years ago
Jesse Vincent 3b32197829
make astyle
8 years ago
Jesse Vincent 26e7e187df
make astyle
8 years ago
Jesse Vincent a16411ff93
make astyle
8 years ago
Jesse Vincent ae6aeec44d
make astyle
8 years ago
Jesse Vincent b661511a1a
make astyle
8 years ago
Jesse Vincent 80e27ef57a
make astyle
8 years ago
Jesse Vincent ad09f54c0d
make astyle
8 years ago
Jesse Vincent e23f014f1c
make astyle
8 years ago
Jesse Vincent 69f244b43b
make astyle
8 years ago
Jesse Vincent f148a4c7e7
make astyle
8 years ago
Jesse Vincent 1f8fc546e5
make astyle
8 years ago
Jesse Vincent e1fd94e4ff
make astyle
8 years ago
Jesse Vincent 46d40dd3d5
make astyle
8 years ago
Jesse Vincent 3adb8c28af
make astyle
8 years ago
Jesse Vincent 1a9f3e1a33
make astyle
8 years ago
Jesse Vincent e3dc58f384
make astyle
8 years ago
Jesse Vincent c069df3919
make astyle
8 years ago
Jesse Vincent 0489fd9196
make astyle
8 years ago
Jesse Vincent f2ee554ce6
make astyle
8 years ago
Jesse Vincent 849c87606f
make astyle
8 years ago
Jesse Vincent 517636d479
make astyle
8 years ago
Jesse Vincent 14d236ed39
make astyle
8 years ago
Jesse Vincent d75939d456
make astyle
8 years ago
Jesse Vincent 97008a28f0
"make astyle
8 years ago
Jesse Vincent da2adaf96d
Remove "Key_" prefix from ConsumerCtl and Sysctl key defs.
8 years ago
Jesse Vincent e0f3dd0cea
Further updates for new key labels
8 years ago
Jesse Vincent 3d00ef6641
Missed a modifier name
8 years ago
Jesse Vincent 998ff7c753
Update to new Key definitions
8 years ago
Jesse Vincent 381d1460f4
missed one
8 years ago
Jesse Vincent fac7d3fe5e
Bring up to new Key API
8 years ago
Jesse Vincent 0238bd29ed
Bring Space Cadet up to new Key API
8 years ago
Jesse Vincent 7ee320bdab
Typo on Spacebar
8 years ago
Jesse Vincent 24f6c8abd4
Updating to new keycodes
8 years ago
Jesse Vincent 63f30ac35e
Bring Syster up to the new key names
8 years ago
Jesse Vincent 2ea24ad84c
Update for new Key defs
8 years ago
Jesse Vincent 55e5068cfc
Update for new modifier names
8 years ago
Jesse Vincent c892b4a30a
Update OneShot library to use new key defs
8 years ago
Jesse Vincent e4ecd42d11
Traditional capitialization of PrintScreen
8 years ago
Jesse Vincent ca71ff2c75
Fix the name of the numlock key
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 59aaa0cc6f
Add KeyboardioHID to the Model 01 hardware definition
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
Gergely Nagy ca74d9b6b7 Do gamma correction elsewhere
8 years ago
Gergely Nagy b673b51b2b Fix a pair of think-os
8 years ago
Jesse Vincent ecacf871ad
Update to use new Focus.printColor API
8 years ago
Jesse Vincent 63835fa1bd
Update to use new Focus.printColor API
8 years ago
Jesse Vincent 12a1b09a4f
Update to use new Focus.printColor API
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 da4c057fba Moved the wdt_disable() call to the hardware plugins
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
Gergely Nagy 2f7c38a15d Focus: Fix the `keymap.transfer` docs
8 years ago
Gergely Nagy 55c42928f9 Add a `led.theme` Focus command
8 years ago
Gergely Nagy 347bd3aa59 Add a Solarized palette too
8 years ago
Gergely Nagy 3069fbab81 Focus: Do no formatting in the palette dumper
8 years ago
Gergely Nagy 84b5e94440 Focus: Less formatting in the dump commands
8 years ago
Gergely Nagy e07f00e947 Focus: keymap.map should work with raw keycodes
8 years ago
Gergely Nagy 1432015235 Focus: Merge keymap.dump and keymap.upload into keymap.map
8 years ago
Gergely Nagy a83d61e280 Focus: Fix the command list
8 years ago
Gergely Nagy 78836fd091 Focus: Less formatting in the dump output
8 years ago
Gergely Nagy cdd6b811f9 Focus: Allow partial eeprom upload
8 years ago
Gergely Nagy fc59d1f64b Focus: Merge the eeprom.dump and eeprom.upload commands
8 years ago
Gergely Nagy 0bfb773619 Focus: Don't format the eeprom.dump output
8 years ago
Gergely Nagy a880eea367 Add a way to hook into the lock/unlock mechanism
8 years ago
Gergely Nagy c72c7a5fe9 Drop some debugging stuff. Oops.
8 years ago
Gergely Nagy 1feb474a62 EEPROM & Focus support
8 years ago
Gergely Nagy 6e49fb4481 Move the configurable settings into a struct
8 years ago
Gergely Nagy 107d51ce5a Initial import
8 years ago
Gergely Nagy 656c2934f3 Add a Pastel palette
8 years ago
Gergely Nagy 8a5b13673a Focus: Add a "clear" sub-command
8 years ago
Gergely Nagy cd8a87ec47 Restart the cycle early if the palette does not change
8 years ago
Gergely Nagy f83ac78605 Add an (optional) default palette
8 years ago
Gergely Nagy 406410a735 Focus: add fingerpainter.toggle
8 years ago
Gergely Nagy 249437d6e7 Initial import
8 years ago
Gergely Nagy 19b5655770 Add a way to figure out the used & free EEPROM amount
8 years ago
Gergely Nagy 26d7af1b96 Fix the `settings.version` Focus command
8 years ago
Jesse Vincent 19c63e6a8b Merge pull request #122 from algernon/f/focus-layer-hook
8 years ago
Jesse Vincent d73b27eea7 Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent 37fa269ecb Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent 79f543734f Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent e3b5ae4012 Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent e008887261 Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent 14ed3a2b18 Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent a3def769a0 Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent fbee5854ee Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent 7d6225f724 Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent 5d4fef2f66 Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent 3740937865 Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent 4a45dc2faf Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent b34180f4c7 Update to new handle_keyswitch_event API naming
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 215d7de8ce Use UNKNOWN_KEYSWITCH_LOCATION instead of magic numbers
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 c07288cc5e Add an (optional) Focus hook
8 years ago
Gergely Nagy dede93e0fd Instead of full docs, only document the commands
8 years ago
Gergely Nagy f1e7ab05eb Instead of full docs, only document the commands
8 years ago
Gergely Nagy cdbbc0cd0a Instead of full docs, only document the commands
8 years ago
Gergely Nagy a407ac3fea Instead of full docs, only document the commands
8 years ago
Gergely Nagy de6cfa7f1c Rename readAndPlay to readKeyCodeAndPlay
8 years ago
Gergely Nagy 7418eb92b6 Code optimalization
8 years ago
Gergely Nagy f86700bdc3 Introduce new step variants
8 years ago
Gergely Nagy 55b035be86 Introduce a way to describe a tap step
8 years ago
Gergely Nagy 3ac9b54ca9 Make `programmerMode` (now `mode`) public
8 years ago
Gergely Nagy 98650dae19 Support copying a key from PROGMEM to EEPROM
8 years ago
Gergely Nagy 379a2d483b Add a `getKeyOverride` method
8 years ago
Gergely Nagy b1f20fadb7 More reliable state transitions
8 years ago
Gergely Nagy af56e5b5a5 Fix compile errors & drop the END state
8 years ago
Gergely Nagy 0fadb782ca Initial import
8 years ago
Gergely Nagy 0f3dddae98 Make the `updateKey` method public
8 years ago
Jesse Vincent 2fbeb322d8 Switch from a hardcoded structure that's in BGR order to using a cRGB and getting our color (red) correct
8 years ago
Gergely Nagy 5eb702ce1f Delegate stepping to the computer functions, and fix BlazingTrail
8 years ago
Gergely Nagy 39e3c4bae0 BlazingTrail: Make sure the g component is not junk
8 years ago
Gergely Nagy 0c387ce1c3 Focus: Lift out keymap.transfer
8 years ago
Gergely Nagy 3648c6687c No need to consume the trailing \n anymore
8 years ago
Gergely Nagy 035c95a207 No need to consume the trailing \n anymore
8 years ago
Gergely Nagy 22529940d0 No need to consume the trailing \n anymore
8 years ago
Gergely Nagy 6b1bcd2522 Use the new Focus helpers
8 years ago
Gergely Nagy a747d6c8cf Use the new Focus helpers
8 years ago
Gergely Nagy ff46d8eede Use the new Focus helpers
8 years ago
Gergely Nagy 0f04e75df6 Optimize some of the loops
8 years ago
Gergely Nagy 3831b1661f Initial import
8 years ago
Gergely Nagy 67262add72 Don't use floats for the Haunt effect
8 years ago
Gergely Nagy f184177ec3 Instead of releasing immediately, delay it until loop()
8 years ago
Gergely Nagy 51f0e4bcd6 timeout: Do not clear the timer
8 years ago
Gergely Nagy ff29bce43e Focus: Add an EEPROM dump, and an upload command
8 years ago
Gergely Nagy b4759decf2 Optional, extra symbols
8 years ago
Gergely Nagy 4615c048d1 Simplify the Focus commands
8 years ago
Gergely Nagy 63abe0de78 Restrict DualUse Layer keys to 8 max, too
8 years ago
Gergely Nagy bab09065ac Limit the number of tap-dance keys to 16 max
8 years ago
Gergely Nagy eccc19e03d Restrict TapDance to 16 keys, too
8 years ago
Gergely Nagy c063db7301 OneShot: Decrease the amount of one-shot layers
8 years ago
Gergely Nagy 8bf7ec9dc8 Migrate to a state struct, for future proofness
8 years ago
Gergely Nagy 7534c13475 Reduce the amount of supported OneShot layers
8 years ago
Gergely Nagy d9da70c2f4 Add Focus support helpers
8 years ago
Gergely Nagy fa01f2acb1 Move the extern to HostOS-Base.h
8 years ago
Gergely Nagy 6230a331c4 Make it possible again to choose between variants
8 years ago
Gergely Nagy 0f6f095be2 Use the EEPROM-Settings plugin
8 years ago
Gergely Nagy 5a7601bb30 Update to use the new EEPROM-Settings library
8 years ago
Gergely Nagy 4e1a579136 Do not treat 0xffff as NoKey
8 years ago
Gergely Nagy c0d2c51730 Rework how the whole thing operates
8 years ago
Gergely Nagy e3481be6ed Fix the `keymap.dump` Focus command
8 years ago
Gergely Nagy ff4dfad195 Support for holding Consumer/SystemControl keys
8 years ago
Gergely Nagy a3cca30e1f Implement mouse wheel support
8 years ago
Gergely Nagy dbbc80190a Reuse the button bit for WARP_END
8 years ago
Gergely Nagy e1e443e42c LEDOff: Always set everything to off
8 years ago
Gergely Nagy a91048b8c6 Drop the on/off functions
8 years ago
Gergely Nagy 9d71850535 Drop the on/off functions
8 years ago
Gergely Nagy 55f57bdcfe Drop the on/off functions
8 years ago
Gergely Nagy 188b4bc02c Drop on, off, and enableAuto
8 years ago
Gergely Nagy d805d50d22 Only apply the effect, if the LED mode is active
8 years ago
Gergely Nagy 10fc737169 Start with isLEDChanged set
8 years ago
Gergely Nagy ebe4edcc1b Reset the map when switching to the effect
8 years ago
Gergely Nagy b1c0f1fc1b Convert the plugin to a LEDMode
8 years ago
Gergely Nagy 397c08ec9f Up the effect length to 1 second
8 years ago
Gergely Nagy 91380a81c8 Clear the previous key when a new one is pressed
8 years ago
Gergely Nagy 49720378bd Fix the right hand clearing
8 years ago
Gergely Nagy 29841ec02e Add a LEDMode based on AlphaSquare.
8 years ago
Gergely Nagy ca1cd7c590 Implement a set of .clear() methods
8 years ago
Gergely Nagy e48d23c0ea Add a way to display symbols in different colors
8 years ago
Gergely Nagy 46bf755e7c Implement gamma correction for the LEDs
8 years ago
Gergely Nagy 0f65281703 Restrict the max sequence length to 4
8 years ago
Gergely Nagy 18d8a31338 Drop the getPos & setPos commands
8 years ago
Gergely Nagy 33f5d8d9de Some small code optimizations
8 years ago
Gergely Nagy 807d18ab31 Nicer dump output
8 years ago
Gergely Nagy 45391388db Move the Focus hook into a separate file
8 years ago
Gergely Nagy 00b836d0ac Code optimalization
8 years ago
Gergely Nagy 73c0f86d37 Add a missing #pragma once
8 years ago
Gergely Nagy ef832250f0 Add (optional) Focus hooks
8 years ago
Gergely Nagy 212861173c Add a version to the settings struct
8 years ago
Gergely Nagy eca8be7b57 Add a missing #pragma once
8 years ago
Gergely Nagy 03ab5f1a47 Updated to support newest Focus
8 years ago
Gergely Nagy db09b35be3 Initial import
8 years ago
Gergely Nagy fcde978862 Initial import
8 years ago
Gergely Nagy 8be09348a0 Instead of calling macroAction only on keydown, call it every time
8 years ago
Gergely Nagy f2773e1444 Mark the class a descendant of public LEDMode
8 years ago
Gergely Nagy 7686f58715 Mark the class a descendant of public LEDMode
8 years ago
Gergely Nagy 69a8a8830f Mark the classes descendants of public LEDMode
8 years ago
Gergely Nagy d77b051e8f Mark the class a descendant of public LEDMode
8 years ago
Gergely Nagy 5ba8fe34bb Mark the class a descendant of public LEDMode
8 years ago
Jesse Vincent 3e70f5f181 Merge pull request #1 from keyboardio/f/led-sync/isChanged
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
Gergely Nagy 7729d5b282 Drop the layer save/load methods
8 years ago
Gergely Nagy 0bfd633cfa Only sync the LEDs, if there is a change
8 years ago
Gergely Nagy 78e55c75af Improved timer handling
8 years ago
Gergely Nagy 3d0903af41 Improved timer handling
8 years ago
Gergely Nagy 839d5c298b Improved timer handling
8 years ago
Gergely Nagy 3d25b7be28 Improved timeout handling
8 years ago
Gergely Nagy 15000dd694 Improved timeout handling
8 years ago
Gergely Nagy 7a5a1b2b33 Improved timer handling
8 years ago
Gergely Nagy 09afa0ec72 Improved timer checking code
8 years ago
Gergely Nagy 559eab96ae Don't sync every cycle
8 years ago
Jesse Vincent 64ac98dcbf When the key is pressed, turn it green
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 161401b22f Add a CRGB macro
8 years ago
Gergely Nagy d1a14b6d32 Add a USE_PLUGINS() macro
8 years ago
Gergely Nagy 14e03cd598 TriColor: Remove a useless optimisation
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 ddd6b766fd Initial import
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
Jesse Vincent c1d25174bc Add a missing paren.
8 years ago
Jesse Vincent 23aba78402 Add some missing prototypes to the class definition
8 years ago
Jesse Vincent 6b0623d3f2 Step two of the rename
8 years ago
Jesse Vincent d31530d579 start to refactor the code to be a Kaleidoscope plugin
8 years ago
Gergely Nagy e305e51455 The Big Rename
8 years ago
Gergely Nagy d5d3b46e31 The Big Rename
8 years ago
Gergely Nagy fec26a9413 The Big Rename
8 years ago
Gergely Nagy fc026f59af The Big Rename
8 years ago
Gergely Nagy 204d450239 The Big Rename
8 years ago
Gergely Nagy b867f80ca2 The Big Rename
8 years ago
Gergely Nagy 29d45e8850 The Big Rename
8 years ago
Gergely Nagy eabc4a9872 The Big Rename
8 years ago
Gergely Nagy 856968815a The Big Rename
8 years ago
Gergely Nagy 28228d07c7 The Big Rename
8 years ago
Gergely Nagy 5fe8ff28cb The Big Rename
8 years ago
Gergely Nagy 4ec2c5888a The Big Rename
8 years ago
Gergely Nagy 92205513de The Big Rename
8 years ago
Gergely Nagy e38836a7bb The Big Rename
8 years ago
Gergely Nagy 68b3e2c5f2 The Big Rename
8 years ago
Gergely Nagy 02cb499154 The Big Rename
8 years ago
Gergely Nagy c53b67fbea The Big Rename
8 years ago
Gergely Nagy dd734adb1c The Big Rename
8 years ago
Gergely Nagy 4611026d35 The Big Rename
8 years ago
Gergely Nagy 805327533a The Big Rename
8 years ago
Gergely Nagy 1a8ce8cab1 The Big Rename
8 years ago
Gergely Nagy b737fe947e The Big Rename
8 years ago
Gergely Nagy d2d0193129 The Big Rename
8 years ago
Gergely Nagy ce45b212d7 The Big Rename
8 years ago
Gergely Nagy 5bdd12e533 The Big Rename
8 years ago
Gergely Nagy 1696b4eeb6 The Big Rename
8 years ago
Gergely Nagy 916f69889e The Big Rename
8 years ago
Gergely Nagy c03725e736 The Big Rename
8 years ago
Gergely Nagy dddc014619 BootAnimation: Make this part Model01-specific
8 years ago
Gergely Nagy 7a2804250c Add support for the Shortcut, too
8 years ago
Gergely Nagy a33621e867 Introducing the tuning knobs
8 years ago
Gergely Nagy 74070edcf1 Use timers instead of loop counters
8 years ago
Gergely Nagy 128d0f4bda Fix up to work better with timers
8 years ago
Gergely Nagy f2787a5692 Use a timer instead of a loop counter
8 years ago
Gergely Nagy e7e4ba0690 Move the static globals into the Heatmap object
8 years ago
Gergely Nagy 35918a91a0 Use a timer instead of a loop counter
8 years ago
Gergely Nagy db87474e16 Use a timer instead of a loop counter
8 years ago
Gergely Nagy 8a4a4e79c5 Use a timer instead of a loop counter
8 years ago
Gergely Nagy 8aa753fe23 Add a timer, and expose stepLength
8 years ago
Gergely Nagy ff2ef71db1 Use timers instead of loop counters
8 years ago
Gergely Nagy 4396a9f405 Use proper timers instead of a loop counter
8 years ago
Gergely Nagy 4b110b517d Speed up Layer.lookup considerably
8 years ago
Gergely Nagy 05c80e632a Implement a way to slow down the acceleration
8 years ago
Gergely Nagy eb8f9443f9 Fix the momentary layers
8 years ago
Jesse Vincent c2a398f7ab Add initial support for reading the "power fault" line
8 years ago
Jesse Vincent 518dda8e57 add a way to get out of test mode
8 years ago
Jesse Vincent c407c9608b move matrix test setup to one place
8 years ago
Jesse Vincent fcd0c8025d Switch our LED testing to use a helper function that waits for a keypress
8 years ago
Jesse Vincent 0e71744c01 astyle. no code changes
8 years ago
Jesse Vincent f3b786dade "make astyle" - no functionality changes
8 years ago
Jesse Vincent 5c59ea650f Actually jump into the test mode when you tap left prog, left led, left fn.
8 years ago
Jesse Vincent 0ec9767232 reorganziation to remove unused functions from the api
8 years ago
Jesse Vincent 8f0976219a Remove vestiges of timers from Akela::MagicCombo
8 years ago
Jesse Vincent 82ae004159 Fixes so the code compiles. It doesn't, like, work yet or anything.
8 years ago
Jesse Vincent eae20c72de Initial commit
8 years ago
Gergely Nagy 8d768e12a7 Move Storage to the hardware library too
8 years ago
Gergely Nagy a691a949ab Merge Storage into Model01
8 years ago
Gergely Nagy f0a191d6b1 Drop keymap_metadata.h
8 years ago
Gergely Nagy cb25a04493 Moved COLS and ROWS over from core
8 years ago
Gergely Nagy c71011a520 Use the Keyboardio-Hardware-Model01 library
8 years ago
Gergely Nagy c7a622f0cc Lifted out from the core firmware
8 years ago
Gergely Nagy d0182ad2bb Instead of including KeyboardConfig.h, include KeyboardioFirmware.h
8 years ago
Gergely Nagy 34923f8f75 Minor mouse movement optimalisation
8 years ago
Gergely Nagy 16a4f0013a Don't pass all INJECTED keys through
8 years ago
Gergely Nagy a0a8025b52 Add Akela::Ranges::SYSTER for the newest plugin
8 years ago
Gergely Nagy f456e6aba8 Initial import
8 years ago
Gergely Nagy ce734dbd37 MouseWrapper: static-ification
8 years ago
Gergely Nagy ba1a8604a0 Some small code cleanups
8 years ago
Gergely Nagy 41d57b598a Use a single accel counter
8 years ago
Gergely Nagy c782eb7275 Make diagonal mouse movement considerably smoother
8 years ago
Gergely Nagy e183d12c2d Drop updateFrequency to 50 cycles
8 years ago
Gergely Nagy 9aced5ccbd Update heatColors to look a bit nicer on the keyboard
8 years ago
Gergely Nagy 54538b42dd Fix the cap computation
8 years ago
Gergely Nagy fa1e3e3669 computeColor: Fix the color order
8 years ago
Gergely Nagy 3d07ca4614 Fix the key counting
8 years ago
Gergely Nagy c7994fb33c Separate effect and held timeouts
8 years ago
Gergely Nagy 0a8f8f97a1 Drop the AKELA_KEYBOARDIO_MODEL01 define
8 years ago
Gergely Nagy 2f422dc0ce Drop DEFAULT_TIMEOUT
8 years ago
Gergely Nagy da2bc4d656 Expose a way to set the timeOut
8 years ago
Gergely Nagy d2fcb75844 Expose the timeOut variable
8 years ago
Gergely Nagy 014d7f69be Expose the timeOut
8 years ago
Gergely Nagy 263b12151c Expose the timeOut (and rename it)
8 years ago
Gergely Nagy cb732da530 Expose the timeOut
8 years ago
Gergely Nagy df28f6db57 Use 20 instead of DEFAULT_TIMEOUT
8 years ago
Gergely Nagy 89b92927e4 Rename to Keyboardio-Numlock
8 years ago
Gergely Nagy 17046f281e Introduce two helper macros
8 years ago
Gergely Nagy 4d22c27e8d Use Macros.row/.col instead of macroAction params
8 years ago
Gergely Nagy 051778048d Turn the plugin into a macro
8 years ago
Gergely Nagy ace478116f Make the macros aware of the row/col they were pressed at
8 years ago
Gergely Nagy 1c8487c77a Adjust hexToKey for the keyCode/flags swap in Key
8 years ago
Gergely Nagy 8431e3a48a Make LED modes automatically use LEDControl
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
Gergely Nagy 975cd0bf04 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy dcd8d8405e Use the new, double-add protected hook functions
8 years ago
Gergely Nagy fbe6293655 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 2ba371c9e6 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy e5fabbce79 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 84b2b6ad62 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 6a8eb4dd48 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 6497d3ae8f Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 71815cd0f3 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy ba0b69bb89 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 5394fc834f Use the new, double-add protected hook functions
8 years ago
Gergely Nagy dd266fd27d Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 9a2f79e42d Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 7dbb5b39e0 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy bb2df55e09 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 93bd914296 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy a2ce233531 Use the new, double-add protected hook functions
8 years ago
Jesse Vincent 572f3407da Merge pull request #91 from algernon/f/hooks/double-register-protection
8 years ago
Gergely Nagy 7057b0864c Minor code cleanup
8 years ago
Gergely Nagy 2c24a5163e key_defs: Add Key_NumLock
8 years ago
Gergely Nagy ed92d5109c Fix the LED mode handling
8 years ago
Gergely Nagy 361df26094 layers: Fix the layer toggle behaviour
8 years ago
Gergely Nagy 563a9e9ad3 Lifted out from Keyboardio-LEDControl
8 years ago
Gergely Nagy 86eaa90abd Lifted out from Keyboardio-LEDControl
8 years ago
Gergely Nagy 5df5b209d7 Lifted out from Keyboardio-LEDControl
8 years ago
Gergely Nagy 7a903afb69 Lifted out from Keyboardio-LEDControl
8 years ago
Gergely Nagy 04902c903c Lifted out from Keyboardio-LEDControl
8 years ago
Gergely Nagy 2a35a350f1 Moved the effects to separate libraries
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 d73104de7f Updated to use Keyboardio-LEDControl
8 years ago
Gergely Nagy a8abf11b11 Updated to use Keyboardio-LEDControl
8 years ago
Gergely Nagy 23368b2161 Updated to use the Keyboardio-LEDControl library
8 years ago
Gergely Nagy 386f893829 Updated to use Keyboardio-LEDControl
8 years ago
Gergely Nagy eaf3991f38 Move the LED stuff into a plugin
8 years ago
Gergely Nagy 53e36c13e2 Lift out the LED control & effect parts from the core
8 years ago
Gergely Nagy 59bc052301 Mask out interruptors
8 years ago
Gergely Nagy fab76c9fd4 Fix the modifier macros after the flags/keyCode swap
8 years ago
Gergely Nagy e1cee252d5 Fix isActive to be less strict
8 years ago
Gergely Nagy 7d024cabc0 Add an .isModifierActive method
8 years ago
Gergely Nagy 417ff1a07e OneShot: Allow chaining one-shots
8 years ago
Gergely Nagy 9657eed64a Remove some debugging code accidentally left in...
8 years ago
Gergely Nagy 6d2587f7af Adjust for the flags/keyCode swap
8 years ago
Gergely Nagy 6337d878bb Adjusted the M() macro to reflect the flags/keyCode swap
8 years ago
Gergely Nagy bceb05148c Adjust to the flags/keyCode swap
8 years ago
Gergely Nagy 52a1e96f0d Swap flags and keyCode in the Key struct
8 years ago
Gergely Nagy 675cbc6cb6 Lifted out of KeyboardioFirmware
8 years ago
Gergely Nagy 0850834196 Lifted out of core KeyboardioFirmware
8 years ago
Gergely Nagy febf4a95bd Fix the key holding case
8 years ago
Gergely Nagy 4a4ea83121 Cut the timers back to 8 bits, that's more than enough
8 years ago
Gergely Nagy 2aa03bed47 Initial import
8 years ago
Gergely Nagy 80b8327442 Really, really fix the turn-off-at-the-end code
8 years ago
Gergely Nagy 11535dd716 Turn the LED off at the end of the fade sequence
8 years ago
Gergely Nagy 561eb7a53d Fix the isModifier helper macro
8 years ago
Gergely Nagy 4177d0ae35 Rework the plugin, to have customisable effects
8 years ago
Gergely Nagy d78f8901cb Initial import
8 years ago
Gergely Nagy d3d51fd266 Record and use the position of the tap-dance key, too
8 years ago
Gergely Nagy e44aa0daee Drop the `inject` method
8 years ago
Gergely Nagy 0abf80a499 Don't abort early on partial matches
8 years ago
Gergely Nagy c1d540988d Initial import
8 years ago
Gergely Nagy fc0a16651f Initial import
8 years ago
Gergely Nagy e112ea3d69 Decrease the timeout to 5 cycles
8 years ago
Gergely Nagy 3dc12f29e3 actionKeys: Improved overflow handling
8 years ago
Gergely Nagy a41c3dabc0 More reliable Shift pressing & releasing
8 years ago
Gergely Nagy cbec7c1b1a More reliable modifier tracking
8 years ago
Gergely Nagy 926c3ddddc Drop the idea of supporting multiple firmware
8 years ago
Gergely Nagy 504f7ea870 Unicode: Add a bit of delay when typing in codes
8 years ago
Gergely Nagy 9adf73db87 Fix cancellation on interrupt
8 years ago
Gergely Nagy b8088abbe1 Initial import
8 years ago
Gergely Nagy e5842ecc13 Initial import
8 years ago
Gergely Nagy 17e17810dd Initial import
8 years ago
Gergely Nagy 6bcc8ee562 Initial import
8 years ago
Gergely Nagy 980c58da36 Initial import
8 years ago
Gergely Nagy 47906e7f49 Initial import
8 years ago
Gergely Nagy e12606e330 Initial import
8 years ago
Gergely Nagy 928cd41fa9 Initial import
8 years ago
Gergely Nagy 51756fa4d6 Initial import
8 years ago
Gergely Nagy a722fea88d Initial import
8 years ago
Gergely Nagy c29a6772a4 Initial import
8 years ago
Gergely Nagy fe06702a59 Initial import
8 years ago
Gergely Nagy 31f2c40625 Initial import
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
Jesse Vincent 8d9ca8040c Merge pull request #76 from algernon/f/Layers/no-hook
8 years ago
Jesse Vincent c34522126a Merge pull request #75 from algernon/h/LED/set-mode-fix
8 years ago
Gergely Nagy fd36e602ad Layers: Don't use hooks for the layer event handler
8 years ago
Gergely Nagy 675fd32f3f Fix LEDControl_::set_mode()
8 years ago
Gergely Nagy 8f5b9ece19 Add a sentinel attribute to Keyboardio.use()
8 years ago
Jesse Vincent 7268eefb93 Merge pull request #72 from algernon/h/no-LED-effect-fix
8 years ago
Gergely Nagy 61e015ce4f Do not crash if there are no LED effects
8 years ago
Gergely Nagy aed2fc8d98 Event hooks reworked, again
8 years ago
Gergely Nagy e78b63deae Loop hooks: Run the loop hooks twice
8 years ago
Gergely Nagy e72867fe68 Introduce ___ and XXX aliases
8 years ago
Gergely Nagy 12710d6cc0 Layer: Fix the momentary layer changing
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 afac5ed6f2 Rework the hook handling
8 years ago
Gergely Nagy 74ee68dc34 Make modifier macros safer, and use them
8 years ago
Gergely Nagy 5289373f82 key_defs: Helpers for holding mods with keys
8 years ago
Gergely Nagy 48ef882bf4 Call the loop hooks after doing the other loop actions
8 years ago
Jesse Vincent 8fc7eb7727 Test mode: speed up color cycling and implement matrix testing
8 years ago
Jesse Vincent b5cfe95e51 Update LED layout to match the Model 01 production hardware
8 years ago
Gergely Nagy 4aa6e14021 Add an explicit release event
8 years ago
Gergely Nagy 516d617cce Move macros to a separate library
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 6a02fa8380 Drop the single-aritiy keyswitch state helpers
8 years ago
Gergely Nagy 61e3697d40 Use a macro for checking pressed state
8 years ago
Gergely Nagy 3a2665aed4 Use the new INJECTED flag in the default handlers
8 years ago
Gergely Nagy ad7f645e01 Add an INJECTED flag for keyswitch states
8 years ago
Gergely Nagy b7c9287d0f Introduce a helper macro to compute the keymap size
8 years ago
Jesse Vincent 08acf2ef17 Merge pull request #50 from algernon/f/mouse-plugin
8 years ago
Gergely Nagy eb3ad072b5 BootAnimation: Only display the animation once
8 years ago
Gergely Nagy 28aa497452 Move mouse keys to a library
8 years ago
Gergely Nagy e077ff68bc LED-Off: A new "effect" that simply turns LEDs off
8 years ago
Gergely Nagy 83a77bc544 BootAnimation shall not be a LED effect
8 years ago
Gergely Nagy 0e065885ed Add KEYMAP macros for more readable keymap definitions
8 years ago
Jesse Vincent 54fb40fd73 Merge pull request #48 from algernon/f/LED/activate
8 years ago
Jesse Vincent 3c69881157 Merge pull request #47 from algernon/f/LED/crgb-at-pos
8 years ago
Gergely Nagy 37f5d1d1b8 LEDControl: Add a way to activate a mode by pointer
8 years ago
Gergely Nagy 5b9e34636d Implement Model01::led_set_crgb_at(row, col, color)
8 years ago
Gergely Nagy 5af362dbc4 LEDUtils: Fix the BreathState typedef
8 years ago
Jesse Vincent 2d142e3c4f Merge branch 'f/LED/pluginification' of https://github.com/algernon/KeyboardioFirmware into algernon-f/LED/pluginification
8 years ago
Jesse Vincent 4cc81b6c69 Merge pull request #40 from algernon/f/hooks/additional-helpers
8 years ago
Jesse Vincent 179188129a Merge pull request #42 from algernon/h/testmode/handler-fix
8 years ago
Jesse Vincent 87ce165f8b Merge branch 'master' of ssh://github.com/keyboardio/KeyboardioFirmware
8 years ago
Jesse Vincent 9de46822cd Fix a paste error
8 years ago
Jesse Vincent dd62680ee9 Merge pull request #41 from algernon/h/key-lookup-in-the-looper
8 years ago
Gergely Nagy 4b7354a342 Split out LED effects into smaller "plugins"
8 years ago
Gergely Nagy 3b175f9bbf Fix a warning in led_get_crgb_at
8 years ago
Gergely Nagy 978a160c6b TestMode: return false in the event handler hook
8 years ago
Jesse Vincent 2c6dc72da3 Merge branch 'master' of ssh://github.com/keyboardio/KeyboardioFirmware
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 128d263916 Add a bit of docs to key_events.h
8 years ago
Gergely Nagy 477dcb5aed A way to restart the event handler with a different code
8 years ago
Jesse Vincent 50e2a83050 Merge pull request #37 from algernon/f/layout-separation
8 years ago
Gergely Nagy 58f6b18076 Separate the keymap layout from the core firmware
8 years ago
Gergely Nagy 35538ec6f0 Fix the SCANBIT macro by forcing it to use 32 bits
8 years ago
Jesse Vincent 3f5a3f9106 Ditch Arduino standard pinMode and digitalWrite. Saves a few hundred bytes
8 years ago
Jesse Vincent 00a21663bc Merge branch 'master' of ssh://github.com/keyboardio/KeyboardioFirmware
8 years ago
Gergely Nagy 03b4e0e325 Add helper macros to access keys in a bitfield
8 years ago
Gergely Nagy 7396a8bd1d Add the default key event handler in Keyboardio_::setup
8 years ago
Jesse Vincent 24f693a69f Slightly smoother rainbow effects
8 years ago
Jesse Vincent 597d2acae5 simplify a bit of logic
8 years ago
Jesse Vincent 785ada3559 Move keymap changes into the synthetic space.
8 years ago
Jesse Vincent 13e26d053d Embarassingly, the right hand layout still matched the beta hardware
8 years ago
Jesse Vincent ad18518871 ralt should be 100, not 10
8 years ago
Jesse Vincent a907c70f3d rename SYNTHETIC_KEY to SYNTHETIC
8 years ago
Jesse Vincent d882c14158 Revert "The various types of synthetic keys never overlap."
8 years ago
Jesse Vincent 2cd59048d1 Continuing to sketch out the test mode. This should probably be on a branch
8 years ago
Jesse Vincent a9088e9179 The various types of synthetic keys never overlap.
8 years ago
Jesse Vincent 8f06a7f41e Clean up merge bugs
8 years ago
Jesse Vincent cd9bfa4126 Merge branch 'f/lib/dir-rearrangement' of https://github.com/algernon/KeyboardioFirmware into algernon-f/lib/dir-rearrangement
8 years ago
Gergely Nagy bd35e8dfed Source code rearrangement
8 years ago