Commit Graph

831 Commits (63df0c60b6a7f4e91bc8bd761bcfcaea1927c6fb)

Author SHA1 Message Date
Jesse Vincent dfb710f705
Move key def sections into a subdirectory to make the codebase a bit cleaner.
4 years ago
Gergely Nagy 83c5e127ce
Integrate KeyboardioScanner as a driver
4 years ago
Gergely Nagy dc21d751e2
device/dygma/raise: Rename raise::Hand to raise::RaiseSide
4 years ago
Michael Richters 0519efcfd2
Make key variant test methods const-correct
4 years ago
Jesse Vincent e066c388c8
Slightly reduce the number of color change cycles. By doing so, fit the for loop into an 8 bit int, saving us 6 bytes compiled
4 years ago
Michael Richters 3db2779b23
Use new builtin `Key` variant test functions in Qukeys
4 years ago
Michael Richters 1f61183dba
Add common utility methods for builtin `Key` variant checking
4 years ago
Michael Richters 6bc31cf7cb
Helper constants for upcoming functionality to test key types
4 years ago
Michael Richters 1b2c72431a
Import helper constants from KeyboardioHID
4 years ago
Michael Richters d7db7c2670
Add `KeyAddr::none()` constant & `KeyAddr::clear()` method
4 years ago
Michael Richters a393f4778e
Suppress idle keyswitch events from virtual hardware device
4 years ago
Michael Richters 0d788bb718
Fix Qukeys minimum prior interval problem
4 years ago
Jesse Vincent 268af21836
Revert "Fix key macros"
4 years ago
Jesse Vincent bc7de50fd8
Merge pull request #921 from WildlyManifest/atreus-key-macros-fix
4 years ago
Jesse Vincent edb218a826
Merge pull request #929 from gedankenexperimenter/qukeys-rollover-925
4 years ago
Jesse Vincent cf8021e1f8
Merge pull request #684 from gedankenexperimenter/bug/qukeys-rollover-682
4 years ago
Michael Richters 3ccbd1ceeb
Remove stale commented definition of IS_MACRO
4 years ago
Michael Richters ec7cdbcecb
Standardize Macros to use Kaleidoscope-Ranges
4 years ago
Michael Richters ef126a267e
Add Macros.isMacroKey() function
4 years ago
Michael Richters 83a0037971
Use Qukeys min prior interval only after printable characters
4 years ago
Michael Richters 32aa6374ec
Improve Qukeys protection against unintended modifiers
4 years ago
Jesse Vincent b3af380e48
Merge pull request #952 from keyboardio/layers/initial-state-fix
4 years ago
Michael Richters a1267c04e6
Astyle indentation
4 years ago
Gergely Nagy 60b5b24bd6
Layers: Fix the initial state of layer 0
4 years ago
Michael Richters d5e4cd3ba0
Prevent rollover to a qukey from causing unintended repeats
4 years ago
Michael Richters fcd7f25998
Add removal dates to Qukeys deprecation warnings
4 years ago
Jesse Vincent ed61bb1bea Remove direct raw key access, as we're passed the removal date
4 years ago
Jesse Vincent c46df89dcc Remove the deprecated HID Facade, as we've passed the promise date of 2020-09-16
4 years ago
Gergely Nagy ab3b661cd5
Switch to activation-order for Layers
4 years ago
Jason Koh da0944be12 Add missing commas
4 years ago
Jason Koh 719b2e8127 Fix key macros
4 years ago
Michael Richters 9b70161a9b
Add minimum hold time for Qukeys
4 years ago
Florian Fleissner 040ce8d1bb
Added to-Key conversion functions
4 years ago
Florian Fleissner 87373803ed
Refactor KEYMAPS(...) macro
4 years ago
Michael Richters 493c258d4d
Update Consumer control definitions to remove KEY_FLAGS, which has no semantic meaning
4 years ago
Michael Richters c846e1eee6
Add new Consumer control keys from USB HID HUT v1.2
4 years ago
Michael Richters eeb54c93eb
Correct the construction of Consumer Control Key objects
4 years ago
Michael Richters 3eafa32e0e
Fix a few typos in our consumer key definitions
4 years ago
Michael Richters 88b600a1e1
Switch sysctl keys to use the new SYSTEM_KEY macro
4 years ago
Jesse Vincent b16c5381a1
Import USB HID Usage Tables v1.2 SystemControl additions.
4 years ago
Jesse Vincent 080c530651
Correct the flags on one sysctl key that was misdefined
4 years ago
Michael Richters 5cecf381c3
Correct the construction of Consumer Control Key objects
4 years ago
Michael Richters ad5031f64a
Add a new SYSTEM_KEY definition helper macro to match CONSUMER_KEY
4 years ago
Michael Richters 455548b59a
Correct HID usage type for one Consumer key
4 years ago
Michael Richters dcbab5da8d
Add missing HID Usage Type comments
4 years ago
Jesse Vincent 4681589821
Correct modifier flag removal logic. The previous logic was unlikely to break in production, but was technically incorrect, as it -could- actually add the flag. (XOR was the wrong construct to use when clearing a flag.)
4 years ago
Gergely Nagy 577fb1c51d
cpplint: Constructors where we want explicit conversion, should be explicit
4 years ago
Gergely Nagy 24a1d38eb1
cpplint: Mark some single-parameter constructors up for implicit conversion
4 years ago
Gergely Nagy e9d2fd9637
cpplint: Ignore some casting warnings
4 years ago
Gergely Nagy b0586f3fc8
DynamicMacros: Stop using the `using namespace` directive
4 years ago
Gergely Nagy ab535fc039
cpplint: Ignore some false-positives for variable-sized arrays
4 years ago
Gergely Nagy 24c3747ce6
cpplint: Get rid of some C-style castings
4 years ago
Gergely Nagy 1f9f46d9f3
cpplint: Ignore some uses of `using namespace`
4 years ago
Jesse Vincent 16a87e149f
cpplint header guard style
4 years ago
Jesse Vincent 6970c59ff6
cpplint header guard fixups
4 years ago
Jesse Vincent cf4f9dab6d
cpplint: convert our TODOs to cpplint style
4 years ago
Jesse Vincent 6724317991
remove a historical todo
4 years ago
Jesse Vincent 58146b8f45
Let's try that again
4 years ago
Jesse Vincent 7ed7d98657
cpplint fixes for "Single-parameter constructors should be marked explicit. [runtime/explicit] "
4 years ago
Jesse Vincent e950aa1830
Resolve all cpplint readability/braces errors
4 years ago
Jesse Vincent cc135a7eb7
cpplint fix for " "virtual" is redundant since function is already declared as "final" [readability/inheritance] [4]"
4 years ago
Jesse Vincent dc51b0f63a
GCC did not like how I coded up the fall through comments
4 years ago
Jesse Vincent 0f1e35d42f
Explicitly tag fall throughs to try to help gcc not warn
4 years ago
Gergely Nagy 1497001f7a
device/virtual: Drop HID_::getShortName()
4 years ago
Jesse Vincent 4a0d5b3466
Merge pull request #892 from gedankenexperimenter/system-control-rollover-fix
4 years ago
Jesse Vincent 3f4be68fbe
astyle
4 years ago
Michael Richters 9404dcc048
Update HID Usage Tables to v1.2, cleaning up formatting and adding new entries
4 years ago
Michael Richters 56a1554c83
Fix System Control rollover bug
4 years ago
Gergely Nagy 680278bb78
Update the recently added gHeavy devices for new APIs
4 years ago
Jesse Vincent 68dabacc7f
Merge pull request #875 from keyboardio/gheavy/faunchpad-and-butterstick
4 years ago
Gergely Nagy 8d4dfa877b
Deprecate the key masking API
4 years ago
Gergely Nagy 9dfe51a238
Escape-OneShot: Change the key mapping instead of masking
4 years ago
Gergely Nagy c797a95fb2
TapDance: Do not mask interrupting keys anymore
4 years ago
Jesse Vincent c85233b7c0
Astyle.
5 years ago
Jesse Vincent 45ffbd9118
ADd some docs for the scan cycle timer
5 years ago
Jesse Vincent ad83388ef9
Set our default debounce cycle time to bottom out at approximately 1500uS instead of 17000us. Measured, this gets us a 5ms debounce pretty reliably.
5 years ago
Gergely Nagy 8157580b52
keyscanner::ATmega: Rename a few internal things again
5 years ago
Jesse Vincent 281594029e
Switch back to a slightly less efficient, but more trivial way to toggle pins
5 years ago
Gergely Nagy 0216ce8587
keyscanner::ATmega: Pull out readCols from readMatrix again
5 years ago
Gergely Nagy 89ea860bfa
Update all devices & docs with regards to the keyscanner::ATmega API change
5 years ago
Gergely Nagy 7c040b355c
keyscanner::ATmega: Rename a few things
5 years ago
Gergely Nagy 0436a50563
keyscanner::ATmega: Introduce BaseProps::RowState
5 years ago
Gergely Nagy adb93ed152
keyscanner::ATmega: Merge the static props into a struct
5 years ago
Jesse Vincent 985facf111
keyscanner::ATmega: Switch to a different debouncer
5 years ago
Gergely Nagy 6779e0d8e7
device/keyboardio/twi.c: Adjust a comment to help GCC
5 years ago
Gergely Nagy 87048be5f2
Initial support for g Heavy Industries' FaunchPad
5 years ago
Gergely Nagy c8e6a99c5f
Initial support for g Heavy Industries' ButterStick
5 years ago
Jesse Vincent ca216b5308
Make the Atreus' keyscan interval more conservative by default to help smooth out perceived chatter issues with Speed Copper switches.
5 years ago
Jesse Vincent 89fb57c724
Make the default keyscan interval configurable from the device's props
5 years ago
Jesse Vincent 973eb7e089
Merge pull request #871 from keyboardio/virtual/atmega-fix
5 years ago
Gergely Nagy ab8aa7f189
driver/mcu/ATmega32U4: Fix the class declaration for virtual builds
5 years ago
Gergely Nagy 8555978e93
technomancy/Atreus: Use the correct bootloader for A* pinouts
5 years ago
Jesse Vincent 3564667986
Fixup a whitespace issue that astyle doesn't like
5 years ago
Gergely Nagy fb1706a42c
Remove a number of opaque macros
5 years ago
Gergely Nagy c69efc8103
keyboardio/Imago: Stop using opaque macros
5 years ago
Gergely Nagy 05e9ae16de
technomancy/Atreus: Stop using opaque macros
5 years ago
Gergely Nagy 76c559995a
softhruf/Splitography: Stop using opaque macros
5 years ago
Gergely Nagy 2ae8f31e7d
olkb/Planck: Stop using opaque macros
5 years ago
Gergely Nagy 7dbf1d4c20
kbdfans/KBD4x: Stop using opaque macros
5 years ago
Jesse Vincent 07213d9f7e
Clarity improvement to Keyboardio Atreus init.
5 years ago
Gergely Nagy 11468b3c6c
Merge pull request #844 from keyboardio/driver/mcu-props
5 years ago
Jesse Vincent a76d1773f1
Merge pull request #865 from keyboardio/atreus2-remove-macros
5 years ago
Gergely Nagy b27433f9ee
keyboardio/Atreus: Add some explanatory comments
5 years ago
Gergely Nagy 4f1929b043
keyboardio/Atreus: Simplify the hardware plugin a bit
5 years ago
Jesse Vincent 058ce5c42c
astyle
5 years ago
Jesse Vincent 6b44b4ff8d
Remove use of ATMEGA_KEYSCANNER_BOILERPLATE for Atreus2
5 years ago
Jesse Vincent 499f0fca3a
Atreus2: remove use of ATMEGA_KEYSCANNER_PROPS
5 years ago
Jesse Vincent 4f45ec13d7
Remove use of ATMEGA32U4_DEVICE_PROPS for Atreus
5 years ago
Jesse Vincent 521fea77ee
Atreus: remove use of ATMEGA32U4_DEVICE macro
5 years ago
Jesse Vincent 90b086137c
Remove use of ATMEGA32U4_KEYBOARD macro for the Atreus
5 years ago
Gergely Nagy 2f35c25cd0
keyscanner::ATmega: Allow setting the scan cycle time at run-time
5 years ago
Jesse Vincent ba9913e029
remove KEYSCANNER_PROPS macro
5 years ago
Jesse Vincent a5081b1b38
Remove KEYSCANNER_PROPS_BOILERPLATE macro, which was only used in one place right now
5 years ago
Gergely Nagy 14cb9aa908
dygma/Raise: Decrease the I2C clock to 100kHZ
5 years ago
Jesse Vincent 281b808a96
Merge pull request #856 from cscorley/fix-spacecadet-multikey-drop
5 years ago
Johannes Becker 9ec48d0a4b Guard against nullptr access in LEDControl
5 years ago
Christopher S. Corley 918c09fa15 More indention fixes for linter
5 years ago
Christopher S. Corley 3242af3ce0 Adjust indentation & brace to follow lint rules
5 years ago
Christopher S. Corley 2ec84fe2d8 Fix key injection when many pressed at once
5 years ago
Gergely Nagy f760431b2b
Remove the deprecated row/col-based indexing APIs
5 years ago
Gergely Nagy c800d2e425
Remove the deprecated `LEDControl.paused` property
5 years ago
Gergely Nagy e8c1a3bfb4
LEDControl: Remove the deprecated LEDControl::mode_add() method
5 years ago
Gergely Nagy 8333dab7ce
Remove the deprecated, old device APIs
5 years ago
Jesse Vincent 0a103d1568
Comments cleanup for the Atreus port
5 years ago
Jesse Vincent cc62dbae73
Next step of renaming the Technomancy Atreus2 to the Keyboardio Atreus
5 years ago
Jesse Vincent a2a4192730
Begin to rename Technomancy Atreus2 to Keyboardio Atreus
5 years ago
Jesse Vincent b83d191866
MINIMAL renaming to get the device to show up as the Keyboardio Atreus in Examples and in the boards manager.
5 years ago
Jesse Vincent 16e3324e28
astyle
5 years ago
Johannes Becker 230d8e3c9b Use shift state to invert next/prev LED effect key direction
5 years ago
Gergely Nagy 81fc6e61bd
Introduce MCU Properties
5 years ago
Gergely Nagy d6868bf2ae
Revert "plugin/FlashHelper: New plugin for firmware-assisted flashing"
5 years ago
Gergely Nagy c917acb8a1
plugin/FlashHelper: New plugin for firmware-assisted flashing
5 years ago
Jesse Vincent 04f67a6504 Merge branch 'master' of ssh://github.com/keyboardio/Kaleidoscope
5 years ago
Jesse Vincent 496029eeb2 Merge branch 'boot-keyboard-key-repeat-fix' of https://github.com/keyboardio/Kaleidoscope into boot-keyboard-key-repeat-fix
5 years ago
Jesse Vincent 37a3d44f99 Boot Keyboard keys were never being released.
5 years ago
Jesse Vincent e65044fd64 Switch SystemControl keys to send press events when toggled on and release events when toggled off.
5 years ago
Jesse Vincent 9caad1d818 Boot Keyboard keys were never being released.
5 years ago
Chris White 429059139e ConsumerControl: allow 10-bit keycodes
5 years ago
Gergely Nagy 7e608314dc
dygma/Raise: Adjust the red component of LED colors
5 years ago
Gergely Nagy dd686ee1d8
driver::keyscanner::ATmega: Revert scanning during the interrupt
5 years ago
Jesse Vincent d5c6bf28da
Fixed build warnings with gcc 7 in Layer_::getKeyFromPROGMEM(...)
5 years ago
Gergely Nagy 2b0e90c592
layers: Add a MoveToLayer(n) key
5 years ago
Gergely Nagy 5fcdd720cb
Layer.move: Forcibly update all our caches
5 years ago
Gergely Nagy 53993860f0
Revert "device/Raise: Fix the color component order in raise::Hand's cRGB"
5 years ago
Jesse Vincent 58bd7ec8a4
Merge pull request #796 from keyboardio/idleleds/disable-on-0
5 years ago
Gergely Nagy f18bcd35bb
New plugin: LayerFocus
5 years ago
Gergely Nagy c9351447b3
IdleLEDs: Allow temporarily disabling the functionality
5 years ago
Gergely Nagy 794f0e26e0
LEDControl: Fix a thinko in FocusLEDCommand
5 years ago
Gergely Nagy bce606f959
make astyle
5 years ago
Gergely Nagy a9087a8811
Merge pull request #791 from keyboardio/idleleds/smarter-idling
5 years ago
Gergely Nagy 5c49efcd79
LEDControl: Expose brightness settings via Focus
5 years ago
Gergely Nagy 1e1e796bb2
IdleLEDs: Be smarter about re-enabling LEDs
5 years ago
Gergely Nagy 947851150d
device/Imago: Fix a typo, and a thinko
5 years ago
Gergely Nagy 5024ff4066
LEDControl: Implement global brightness controls
5 years ago
Gergely Nagy bea45d696a
device/Raise: Remove two unused methods from an internal class
5 years ago
Jesse Vincent 098fc885f1
Merge pull request #784 from keyboardio/leds/led-off-key
5 years ago
Gergely Nagy f5c9581036
Remove the old 2d keymaps array
5 years ago
Gergely Nagy 653f65fe6e
EEPROM-Keymap: Deprecate the deprecated 2-arg constructor
5 years ago
Gergely Nagy 6689912bcd
LEDControl: Add disable/enable functions, and a toggle key
5 years ago
Jesse Vincent eee09bfd91
Merge pull request #781 from keyboardio/usbquirks-fix
5 years ago
Gergely Nagy 2cdafc36fe
USB-Quirks: Updated to use the new HID APIs
5 years ago
Gergely Nagy 6f56cb9b2b
device/Raise: Fix the pressed key switch counting
5 years ago
Gergely Nagy 47c1e23fed
device/Raise: Fix the color component order in raise::Hand's cRGB
5 years ago
Gergely Nagy eaca2f19fe
device/Raise: Use Runtime.hid() instead of Kaleidoscope.hid()
5 years ago
Gergely Nagy 5154e93052
Merge pull request #778 from tremby/blazing-smooth
5 years ago
Gergely Nagy 9797207444
Deprecate the old `kaleidoscope::hid` facade
5 years ago
Gergely Nagy 3af7921f40
Implement a HID driver component
5 years ago
Gergely Nagy 2b9103fe64
device/Model01: Use a non-static setup()
5 years ago
Bart Nagel 39a9f8700b Mark constants as constexpr
5 years ago
Bart Nagel 9a78f8f887 Eliminate floating-point logic
5 years ago
Bart Nagel b16cda106b Tweak blazing trail decay
5 years ago
Gergely Nagy 7792037abf
Add short names for all our supported devices
5 years ago
Gergely Nagy 69582320f2
Add a way to override the HID short name
5 years ago
Florian Fleissner 4ea325f966 Added a compiler/Arduino version check
5 years ago
Gergely Nagy 50fb0c6662
device/Raise: Restore two missing includes
5 years ago
Jesse Vincent e425d8ac5a
Merge pull request #737 from CapeLeidokos/pr_build_time_optimization
5 years ago
Florian Fleissner 1d7008d96f Extracted and renamed class Kaleidoscope->Runtime
5 years ago
Jesse Vincent d41398dd22
Merge pull request #734 from keyboardio/plugin/dynamic-tapdance
5 years ago
Jesse Vincent 5d617d753c
Merge pull request #745 from CapeLeidokos/pr_driver_LEDs
5 years ago
Jesse Vincent 915223f41a
Merge pull request #753 from keyboardio/device/raise/actOnMatrixScan-coords-fix
5 years ago
Gergely Nagy b415a85950
New plugin: DynamicTapDance
5 years ago
Florian Fleissner b37a8bb44c Fixes linker order dependent choice of wrong HID library
5 years ago
Florian Fleissner 6894c0a49f Fixed missing instanciation of driver::leds::Base<...>::LEDs_
5 years ago
Gergely Nagy a2e8945348
device/Raise: Fix the column loop in actOnMatrixScan()
5 years ago
Jesse Vincent eb52795c79
Merge pull request #741 from keyboardio/device/raise-fixups
5 years ago
Florian Fleissner f021053ce5 Fixed errors in a comment
5 years ago
Gergely Nagy 0599625bb6
Merge pull request #740 from CapeLeidokos/pr_const_constexpr_fix
5 years ago
Gergely Nagy ed53d80627
Merge pull request #743 from CapeLeidokos/pr_member_function_pointers
5 years ago
Gergely Nagy 87ca1f6ede
Merge pull request #746 from CapeLeidokos/pr_unavailable_class_member_2
5 years ago
Gergely Nagy 9a0e1376b5
Merge pull request #744 from CapeLeidokos/pr_inaccessible_member_pointer
5 years ago
Gergely Nagy ff1b9beebb
Merge pull request #742 from CapeLeidokos/pr_disable_RESTRICT_ARGS_COUNT
5 years ago
Florian Fleissner ff4d1da43d Added missing braces around the initialization list of a submember
5 years ago
Florian Fleissner 46fc7ca7a4 Removed an unused and unavailable class member
5 years ago
Florian Fleissner 093c94c364 Removed an inaccessible private class member
5 years ago
Florian Fleissner db9848cd92 Fixed clang problems with member function pointers
5 years ago
Florian Fleissner c2662c5277 Disable RESTRICT_ARGS_COUNT for clang builds
5 years ago
Florian Fleissner ad74cc5740 Fixed missing const in constexpr methods
5 years ago
Gergely Nagy 64d57c79e4
util/flasher/Base.h: Don't use an unnamed struct
5 years ago
Jesse Vincent 915866112a
Merge pull request #735 from CapeLeidokos/pr_keymap_exploration
5 years ago
Jesse Vincent edb30f5105
Merge pull request #650 from CapeLeidokos/pr_virtual_build_fix
5 years ago