Commit Graph

2280 Commits (6eedcc13d2b8d8cf6ca7d81ee8f34387ef2d5df9)

Author SHA1 Message Date
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 f870bde2fc
cpplint: Ignore incomplete declaration of namespaces
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 df3e36270b
taught the linter not to complain about guards for these header files that aren't really header files
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 e0592a4737
cpplint fixed one multiline comment issue
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 1fa10a5ccb
cpplint Convert complex multiline /* */ comments to single line comments
4 years ago
Jesse Vincent 58146b8f45
Let's try that again
4 years ago
Jesse Vincent 2baef3e871
Revert "Back out some of the 'explicits', proving that I have no idea what I'm doing here."
4 years ago
Jesse Vincent b8ec42e619
Back out some of the 'explicits', proving that I have no idea what I'm doing here.
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.
4 years ago
Jesse Vincent 45ffbd9118
ADd some docs for the scan cycle timer
4 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.
4 years ago
Gergely Nagy 8157580b52
keyscanner::ATmega: Rename a few internal things again
4 years ago
Jesse Vincent 281594029e
Switch back to a slightly less efficient, but more trivial way to toggle pins
4 years ago
Gergely Nagy 0216ce8587
keyscanner::ATmega: Pull out readCols from readMatrix again
4 years ago
Gergely Nagy 89ea860bfa
Update all devices & docs with regards to the keyscanner::ATmega API change
4 years ago
Gergely Nagy 7c040b355c
keyscanner::ATmega: Rename a few things
4 years ago
Gergely Nagy 0436a50563
keyscanner::ATmega: Introduce BaseProps::RowState
4 years ago
Gergely Nagy adb93ed152
keyscanner::ATmega: Merge the static props into a struct
4 years ago
Jesse Vincent 985facf111
keyscanner::ATmega: Switch to a different debouncer
4 years ago
Gergely Nagy 6779e0d8e7
device/keyboardio/twi.c: Adjust a comment to help GCC
4 years ago
Gergely Nagy 87048be5f2
Initial support for g Heavy Industries' FaunchPad
4 years ago
Gergely Nagy c8e6a99c5f
Initial support for g Heavy Industries' ButterStick
4 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.
4 years ago
Jesse Vincent 89fb57c724
Make the default keyscan interval configurable from the device's props
4 years ago
Jesse Vincent 973eb7e089
Merge pull request #871 from keyboardio/virtual/atmega-fix
4 years ago
Gergely Nagy ab8aa7f189
driver/mcu/ATmega32U4: Fix the class declaration for virtual builds
4 years ago
Gergely Nagy 8555978e93
technomancy/Atreus: Use the correct bootloader for A* pinouts
4 years ago
Jesse Vincent 3564667986
Fixup a whitespace issue that astyle doesn't like
4 years ago
Gergely Nagy fb1706a42c
Remove a number of opaque macros
4 years ago
Gergely Nagy c69efc8103
keyboardio/Imago: Stop using opaque macros
4 years ago
Gergely Nagy 05e9ae16de
technomancy/Atreus: Stop using opaque macros
4 years ago
Gergely Nagy 76c559995a
softhruf/Splitography: Stop using opaque macros
4 years ago
Gergely Nagy 2ae8f31e7d
olkb/Planck: Stop using opaque macros
4 years ago
Gergely Nagy 7dbf1d4c20
kbdfans/KBD4x: Stop using opaque macros
4 years ago
Jesse Vincent 07213d9f7e
Clarity improvement to Keyboardio Atreus init.
4 years ago
Gergely Nagy 11468b3c6c
Merge pull request #844 from keyboardio/driver/mcu-props
4 years ago
Jesse Vincent a76d1773f1
Merge pull request #865 from keyboardio/atreus2-remove-macros
4 years ago
Gergely Nagy b27433f9ee
keyboardio/Atreus: Add some explanatory comments
4 years ago
Gergely Nagy 4f1929b043
keyboardio/Atreus: Simplify the hardware plugin a bit
4 years ago
Jesse Vincent 058ce5c42c
astyle
4 years ago
Jesse Vincent 6b44b4ff8d
Remove use of ATMEGA_KEYSCANNER_BOILERPLATE for Atreus2
4 years ago
Jesse Vincent 499f0fca3a
Atreus2: remove use of ATMEGA_KEYSCANNER_PROPS
4 years ago
Jesse Vincent 4f45ec13d7
Remove use of ATMEGA32U4_DEVICE_PROPS for Atreus
4 years ago
Jesse Vincent 521fea77ee
Atreus: remove use of ATMEGA32U4_DEVICE macro
4 years ago
Jesse Vincent 90b086137c
Remove use of ATMEGA32U4_KEYBOARD macro for the Atreus
4 years ago
Gergely Nagy 2f35c25cd0
keyscanner::ATmega: Allow setting the scan cycle time at run-time
4 years ago
Jesse Vincent ba9913e029
remove KEYSCANNER_PROPS macro
4 years ago
Jesse Vincent a5081b1b38
Remove KEYSCANNER_PROPS_BOILERPLATE macro, which was only used in one place right now
4 years ago
Gergely Nagy 14cb9aa908
dygma/Raise: Decrease the I2C clock to 100kHZ
4 years ago
Jesse Vincent 281b808a96
Merge pull request #856 from cscorley/fix-spacecadet-multikey-drop
4 years ago
Johannes Becker 9ec48d0a4b Guard against nullptr access in LEDControl
4 years ago
Christopher S. Corley 918c09fa15 More indention fixes for linter
4 years ago
Christopher S. Corley 3242af3ce0 Adjust indentation & brace to follow lint rules
4 years ago
Christopher S. Corley 2ec84fe2d8 Fix key injection when many pressed at once
4 years ago
Gergely Nagy f760431b2b
Remove the deprecated row/col-based indexing APIs
4 years ago
Gergely Nagy cfe4bb3dce
Remove the deprecated `Kaleidoscope_` class
4 years ago
Gergely Nagy c800d2e425
Remove the deprecated `LEDControl.paused` property
4 years ago
Gergely Nagy e8c1a3bfb4
LEDControl: Remove the deprecated LEDControl::mode_add() method
4 years ago
Gergely Nagy 8333dab7ce
Remove the deprecated, old device APIs
4 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 c66efe773e
Merge pull request #800 from CapeLeidokos/pr_sketch_compilation_flag
5 years ago
Florian Fleissner cba14151d1 Adds a KALEIDOSCOPE_SKETCH macro definition to sketch header
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 01892f1262
Include the HID facade compatibility by default
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 39f7873e26
Merge pull request #763 from CapeLeidokos/pr_sketch_header_footer
5 years ago
Florian Fleissner a2dcc1afbe Adds sketch header and footer include files
5 years ago
Florian Fleissner cf8a86b55f Sketch exploration fix for empty keymaps
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
Florian Fleissner bfd8f95069 Enable using system type_traits header if available
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
Jesse Vincent 487d958a20
Merge pull request #722 from keyboardio/device/dygma-raise
5 years ago
Gergely Nagy 2c5f4a78a2
New device: Dygma Raise
5 years ago
Florian Fleissner a538328ba2 Added sketch exploration
5 years ago
Florian Fleissner 7aa2c0e859 Enabled templated hook methods
5 years ago
Florian Fleissner 686044264e Made the keymap a constexpr array
5 years ago
Florian Fleissner a114f3c1a4 Enabled virtual build for Keyboardio/Imago
5 years ago
Florian Fleissner 7e5a2d0ddc Enabled virtual build for Technomancy/Atreus2
5 years ago
Florian Fleissner fb64771e52 Enabled virtual build for Technomancy/Atreus
5 years ago
Florian Fleissner 7599ad44d9 Enabled virtual build for SOFTHRUF/Splitography
5 years ago
Florian Fleissner 9d4641a218 Enabled virtual build for OLKB/Planck
5 years ago
Florian Fleissner b6fd6b02f5 Enabled virtual build for KBDFans/KBD4x
5 years ago
Florian Fleissner 57e7fe59b1 Enabled virtual build for ez/ErgoDox
5 years ago
Florian Fleissner b5c9794626 Enabled virtual build for Keyboardio/Model01
5 years ago