Commit Graph

324 Commits (f/clang-format-14)

Author SHA1 Message Date
Michael Richters 7dd8527aab
Fix Macros tap sequence parsing
3 years ago
Michael Richters 887eb6066e
Add example sketch for MouseKeys
3 years ago
Michael Richters 79fc94839a
make format
3 years ago
Michael Richters 3035b7eb35
Export mouse warp mode constants to user sketches
3 years ago
Jesse Vincent c92e0e4586
format code
3 years ago
Jesse Vincent 23400122f9
PB14 and PB15 are the pins the GD32 uses to talk check the prog key. The
3 years ago
Michael Richters ca0f80d607
Process Kaleidoscope with `iwyu.py`
3 years ago
Michael Richters 418fdcad7e
Add IWYU pragmas where necessary to keep or exclude selected headers
3 years ago
Michael Richters 3d0482f0db
cpplint
3 years ago
Jesse Vincent 3c3ff1efc8 Last minute hot fix for the GD32 Arduino core not autoflushing once per ms.
3 years ago
Jesse Vincent c208f02715 Workaround for GD32 Serial writes dropping characters when running
3 years ago
Gergely Nagy 8ac8bb4a33 hardware/gd32/Eval: Update and simplify the evaluation board plugin
3 years ago
Jesse Vincent faf132839d
clang-format
3 years ago
Jesse Vincent 50008ddd5a
Implement a "reset" method for the Model 100
3 years ago
Jesse Vincent cd41471643
wip model100 reboot
3 years ago
Michael Richters e5d67efd58
Format codebase with `clang-format`
3 years ago
Michael Richters 69333badc9
Turn off clang-format for selected sections of code
3 years ago
Gergely Nagy b93b38da22
plugins: Convert some of the plugins to use Storage::isSliceUninitialized
3 years ago
Michael Richters cf5c19dd6c
Standardize namespace block closing comments
3 years ago
Michael Richters fd98ea2207 Rearrange plugin headers with `include-what-you-use`
3 years ago
Michael Richters 42b81bae96 Fix incorrect `pgm_read_byte()` calls in DynamicMacros
3 years ago
Gergely Nagy 8f58179241
FocusSerial: Implement a `device.reset` command
3 years ago
Michael Richters 8e29f3a705
Replace `::Kaleidoscope` with `kaleidoscope::Runtime`
3 years ago
Michael Richters e008b3240e
Replace preprocessor macro `isSyster()` with a simple `==` comparison
3 years ago
Michael Richters ec834f2fe5
Define constexpr constructors for plugin-specific Key objects
3 years ago
Michael Richters ef7956a0a5
Replace `boolean` & `byte` with `bool` & `uint8_t`
3 years ago
Gergely Nagy 93d6fa7dec
EEPROM: Fix FocusEEPROMCommand compilation
3 years ago
Gergely Nagy eaca11af4a
EEPROM: Use constant instead of a hardcoded value for uninitialized bytes
3 years ago
Gergely Nagy 9f69e430ea
EEPROM-Settings: Implement an `eeprom.erase` command (#1137)
3 years ago
Gergely Nagy c4fcb7fc21
EEPROM-Settings: Do commit the storage after handling eeprom.contents (#1136)
3 years ago
Michael Richters b3bf1ae421
MouseKeys "janitorial" work (#1130)
3 years ago
Michael Richters 06196fb20b
Restructure MouseKeys to be aware of Macros virtual keys (#1114)
3 years ago
Michael Richters 85823f45f2
Update ActiveModColor docs to match current API (#1128)
3 years ago
Simon-Claudius ec7db6a74d
Fix setStickyColor() typo (#1127)
3 years ago
Michael Richters a0751f25c8
Replace `Leader.time_out` with `Leader.setTimeout()` in docs
3 years ago
Michael Richters 71a09389bf
Use assignment-style initialization in OneShot
3 years ago
Michael Richters 535a4e8e90
Shift comment separating state variables from config variables
3 years ago
Michael Richters 3204034089
Fix overridable `OneShot.isStickable(key)` function
3 years ago
Michael Richters a0c62ff0db
Force some OneShot functions inline
3 years ago
Michael Richters a1c1fe6ba2
Convert OneShot variables and functions from `static`
3 years ago
Michael Richters ce31989a9c
Deprecate old Leader code properly
3 years ago
Michael Richters 3152270585
Remove deprecated `handleKeyswitchEvent()` function
3 years ago
Michael Richters 6ee4539654
Remove deprecated Macros code
3 years ago
Michael Richters 7b1d45d1fb
Remove deprecated LED-ActiveModColor code
3 years ago
Michael Richters 7294317846
Remove deprecated OneShot code
3 years ago
Michael Richters c8ab42103a
Remove deprecated HostPowerManagement code
3 years ago
Michael Richters f833b8f879
Remove deprecated EEPROM-Settings code
3 years ago
Michael Richters 07f65584d2
Remove deprecated Model01-TestMode plugin
3 years ago
Michael Richters 765ed7155c
Update documentation for TapDance action types
3 years ago
Michael Richters 6137ae3335
Distinguish between TapDance `Timeout` and `Hold` timeouts
3 years ago
Michael Richters 1eb7949f90
Remove C-style typedef from TapDance ActionType enum
3 years ago
Jesse Vincent 26c02a9a10
We no longer need to disable AbsMouse, since it no longer seems to break everything
3 years ago
Jesse Vincent 258b03a45c
Disable SingleAbsoluteMouse on the Model 100 since our
3 years ago
Gergely Nagy ab4ee0babd
Merge pull request #1105 from keyboardio/f/focus-parser
3 years ago
Jesse Vincent fbfede3566
astyle
3 years ago
Michael Richters c3ea0876c1
Process Qukeys queue after checking timeout in afterEachCycle()
3 years ago
Jesse Vincent 54fbb04eb6
Give FocusSerial the ability to build a command string across multiple
3 years ago
Jesse Vincent 46d9f06d77
astyle
3 years ago
Jesse Vincent 5c7ffe6383
explanatory comment
3 years ago
Jesse Vincent 62f668fd25
Don't block waiting for input blindly. Be more efficient about how we check for a newline to end processing. Replace a magic value with what it really means.
3 years ago
Jesse Vincent c9943057f4
Abort processing if there was no command
3 years ago
Jesse Vincent 34e630438b
Use a constant to make code clearer
3 years ago
Jesse Vincent aa34c150d2
Since the array is clean, we don't need to write a \0 after the command
3 years ago
Jesse Vincent 80e7408e03
reinit our command as we start parsing
3 years ago
Jesse Vincent 1d3c7b3399
Replace 'drain' with a slightly more correct implementation
3 years ago
Jesse Vincent 5ca95d0deb
Add an explanatory comment
3 years ago
Gergely Nagy d59604e98b
Model100: Use the real Serial, instead of the default NoSerial
3 years ago
Michael Richters 99d47447ad
Move Macros upgrading docs to the main UPGRADING.md file
3 years ago
Michael Richters 543372d53a
Include Macros UPGRADING guide in published documentation
3 years ago
Michael Richters 14a2a645d6
Add sections on `MACRODOWN()` and `Macros.release()`
3 years ago
Jesse Vincent 4fe8795bfe
astyle
3 years ago
Jesse Vincent 5c9de2f58f
Standardize how we turn on the keyscanner power net
3 years ago
Jesse Vincent d6b7d7d4c8
Merge pull request #1088 from keyboardio/f/keyboardio-model-100-hacked-up-for-basic-usb
3 years ago
Gergely Nagy 32c175d51e
EscapeOneShot: Remove run-time toggleability
3 years ago
Gergely Nagy ddad1305e2
EscapeOneShot: Always treat `Key_OneShotCancel` as cancel key
3 years ago
Gergely Nagy f3604d3317
plugin/EscapeOneShot: Add an optional Config plugin
3 years ago
Gergely Nagy 4d1e59e769
EscapeOneShot: Make it possible to disable the plugin at run-time
3 years ago
Jesse Vincent 1d8eb6d2e2
Temporarily disable gamma implementation - it's not behaving correctly
3 years ago
Jesse Vincent d3216aed95
Initial implemetation of Model 100 hardware driver
3 years ago
Jesse Vincent 2962f0f0c9
astyle
3 years ago
Jesse Vincent da83001116
Update HardwareTestMode to run a little brighter and to bake the rainbow
3 years ago
Jesse Vincent 14f2ef8c3e
Rename our "CRC" class to CRCCalculator, so as not to conflict with a
3 years ago
Jesse Vincent addc341184
Bullet-proofing against the mouse button constants not being defined
3 years ago
Jesse Vincent 4c84e8c093
Replace deprecated syntax for bitfield
3 years ago
Michael Richters c5bd030084
Correct `KeyPair` references in CharShift docs
3 years ago
Michael Richters 926a5f6f5e
Add CharShift docs for Chrysalis
3 years ago
Michael Richters d3bcd45c29
Correct CharShift macro names in documentation
3 years ago
Jesse Vincent b62a689fd0
Remove vim swapfile
3 years ago
Jesse Vincent 8d0e619957
astyle
3 years ago
Jesse Vincent cc313d6d57
Check in non-working renamed plugin with the first little bit of work on
3 years ago
Jesse Vincent 81ff231683
Check in a (non-working) Keyboardio Model 100 plugin, currently a copy of the Model 01 plugin
3 years ago
Gergely Nagy 7fcad59ed5
fixups
3 years ago
Gergely Nagy 801ebee116
gd32: timer-based scanning
3 years ago
Gergely Nagy 3463c000fb
gd32: Restore some functionality
3 years ago
Gergely Nagy 541e77cfc9
gd32: matrix-based keyscanner
3 years ago
Gergely Nagy ce9f14cf71
astyle
3 years ago
Gergely Nagy 3149a781ae
gd32: a pretty dumb key scanner
3 years ago
Gergely Nagy 4b8951d67c
gd32: Add a "bootloader"
3 years ago
Gergely Nagy 17ba4fb8e8
gd32: Add a GD32Flash storage driver
3 years ago
Gergely Nagy a524bd21a6
gd32: Add a dummy GD32 device
3 years ago