Commit Graph

2318 Commits (2e2954542f628525bff7559453606fc065150218)

Author SHA1 Message Date
Jesse Vincent bc77d2e1f6
Migrate Kaleidoscope-IdleLEDs to the plugins directory
4 years ago
Jesse Vincent 21dc498e6c
Migrate Kaleidoscope-Heatmap to the plugins directory
4 years ago
Jesse Vincent 1d5ddbb0a5
Migrate Kaleidoscope-Turbo to the plugins directory
4 years ago
Jesse Vincent 51fddee9af
Migrate Kaleidoscope-TapDance to the plugins directory
4 years ago
Jesse Vincent d59503161a
Migrate Kaleidoscope-FirmwareDump to the plugins directory
4 years ago
Jesse Vincent 3998bdc15b
Migrate Kaleidoscope-Steno to the plugins directory
4 years ago
Jesse Vincent 2db54d1f74
Migrate Kaleidoscope-USB-Quirks to the plugins directory
4 years ago
Jesse Vincent e61f7a275d
Migrate Kaleidoscope-TypingBreaks to the plugins directory
4 years ago
Jesse Vincent c7efb77b95
Migrate Kaleidoscope-Syster to plugins directory
4 years ago
Jesse Vincent 9619cf2f52
Move WinKeyToggle to the plugins repo
4 years ago
Jesse Vincent a63a567abd
Move the HostOS plugin into the plugins directory
4 years ago
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 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
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 cfe4bb3dce
Remove the deprecated `Kaleidoscope_` class
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 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