Commit Graph

2064 Commits (ca216b53089cfb057627c4aa0536ad71480e5575)

Author SHA1 Message Date
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