aboutsummaryrefslogtreecommitdiff
path: root/quantum/split_common
Commit message (Collapse)AuthorAgeFilesLines
* Move pointing device driver code (#24445)Dasky2024-10-251-5/+5
| | | | Co-authored-by: Drashna Jaelre <[email protected]>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2024-05-171-4/+5
|\
| * Force CPI update using timer when using split pointing. (#23545)Dasky2024-05-171-4/+5
| |
* | split_util: rename `usbIsActive` to `usb_bus_detected` (#23657)Stefan Kerkmann2024-05-051-3/+3
| | | | | | | | | | | | | | split_util: rename usbIsActive to usb_bus_detected This follows the style rules and better reflects the intent. Signed-off-by: Stefan Kerkmann <[email protected]>
* | Oneshot locked mods split transaction (#23434)NoOne22462024-04-082-0/+6
|/
* Fixes for encoder abstraction. (#23195)0.24.4Nick Brassel2024-03-102-9/+25
|
* Add encoder abstraction. (#21548)Nick Brassel2024-02-183-11/+20
|
* Update GPIO macro usages in core (#23093)Ryan2024-02-181-8/+8
|
* i2c: rename read/write register functions (#22905)Ryan2024-01-161-3/+3
|
* Align `SPLIT_HAND_MATRIX_GRID` left/right logic with `SPLIT_HAND_PIN` (#22775)Joel Challis2024-01-091-3/+3
|
* Modify split config is_keyboard_master/left checks. (#21875)Dasky2023-10-221-33/+40
| | | | | | | | | | | | | | | * rework split configuration * Apply suggestions from code review Co-authored-by: Joel Challis <[email protected]> * lint * missed return --------- Co-authored-by: Joel Challis <[email protected]>
* Remove old OLED API code (#21651)Ryan2023-07-312-4/+0
|
* Revert "[Bug] Fix compilation error when Split Watchdog enabled" (#21572)Ryan2023-07-221-4/+0
|
* [Bug] Fix compilation error when Split Watchdog enabled (#21543)Drashna Jaelre2023-07-201-0/+4
|
* haptic: naming cleanups (#21551)Ryan2023-07-211-0/+1
|
* quantum: remove direct `quantum.h` includes (#21507)Ryan2023-07-165-7/+43
|
* Fix backlight sync on suspend_power_down for split keyboards (#21079)Evgenii Vilkov2023-05-311-1/+1
|
* Fix preprocessor condition for SPLIT_HAPTIC_ENABLE (#20411)Giuseppe Rota2023-04-121-1/+1
|
* Make "detected_host_os()" available on the SLAVE side of the split keyboard ↵ngs-ch2023-04-043-0/+43
| | | | | | | (#19854) Co-authored-by: ngs.ch <ngs.ch> Co-authored-by: Drashna Jaelre <[email protected]>
* Add last activity functions for pointing device (#20079)Drashna Jaelre2023-03-302-3/+5
|
* Sync activity timestamps between sides. (#20192)Nick Brassel2023-03-213-0/+47
| | | | Co-authored-by: Stefan Kerkmann <[email protected]>
* Remove `config.h` include from quantum files (#19817)jack2023-02-121-1/+0
|
* Add Split support for Haptic feedback (#19203)Drashna Jaelre2023-01-013-0/+61
|
* Implement split comms watchdog (#18599)Dasky2022-10-065-0/+88
|
* [Bug] Fix ST7565 handler deadlock (#18609)Stefan Kerkmann2022-10-051-1/+1
|
* [Core] rewrite locking in split transaction handlers (#18417)Stefan Kerkmann2022-10-051-33/+88
|
* Move fake EE_HANDS (#18352)Dasky2022-09-161-0/+14
|
* [Core] guard RPC invocation by checking RPC info against crc checksum (#17840)Stefan Kerkmann2022-08-062-9/+18
|
* Init eeconfig before reading handedness (#17256)Dasky2022-06-201-0/+4
|
* Move SPLIT_HAND_PIN setup to split_pre_init (#17271)Dasky2022-06-061-1/+4
| | | | | | | | | | | * Move SPLIT_HAND_PIN setup to split_pre_init * doppelganger should use old behaviour * Add comment for future Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Joel Challis <[email protected]>
* Allow larger SPLIT_USB_TIMEOUT with default SPLIT_USB_TIMEOUT_POLL (#17272)Dasky2022-06-011-1/+2
| | | | | * Switch SPLIT_USB_DETECT loop to uint16_t * Add assertion
* [Core] Use a mutex guard for split shared memory (#16647)Stefan Kerkmann2022-04-191-9/+8
|
* Asymmetric encoders, encoder tests. (#16068)Nick Brassel2022-03-082-4/+3
|
* Format code according to conventions (#16322)QMK Bot2022-02-126-109/+133
|
* Deprecate split transactions status field (#16023)Stefan Kerkmann2022-01-263-6/+4
|
* Enable a default task throttle for split pointing. (#15925)Dasky2022-01-261-1/+1
|
* Format code according to conventions (#15693)QMK Bot2021-12-311-1/+1
|
* Fix split pointing for analog joystick (#15691)Dasky2021-12-311-2/+4
| | | Co-authored-by: Nick Brassel <[email protected]>
* [Core] Fix bug and code regression for Split Common (#15603)Drashna Jaelre2021-12-281-1/+0
|
* [Core] Split support for pointing devices. (#15304)Dasky2021-12-273-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Draft implementation * formatting * fix combined buttons * remove pimoroni throttle * sync pointing on a throttle loop with checksum * no longer used * doh Co-authored-by: Drashna Jaelre <[email protected]> * switch pimoroni to a cpi equivalent * add cpi support * allow user modification of seperate mouse reports * a little tidy up * add *_RIGHT defines. * docs * doxygen comments * basic changelog * clean up pimoroni * small doc fixes * Update docs/feature_pointing_device.md Co-authored-by: Drashna Jaelre <[email protected]> * performance tweak if side has usb * Don't run init funtions on wrong side * renamed some variables for consistency * fix pimoroni typos * Clamp instead of OR * Promote combined values to uint16_t * Update pointing_device.c Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
* [Bug] Revert Assymmetrical Split Encoder support (#12090) (#15311)Drashna Jaelre2021-11-271-6/+1
| | | | | | | | | * Revert "fix broken macro in transport.h (#15239)" This reverts commit 06f18e22d9aff0afa4dce101a6a1b2cae5511365. * Revert "Rework encoders to enable asymmetric split keyboards (#12090)" This reverts commit 32215d5bff52262542a2f8d2a221b0303f02c019.
* fix broken macro in transport.h (#15239)Balz Guenat2021-11-201-1/+2
|
* Rework encoders to enable asymmetric split keyboards (#12090)Balz Guenat2021-11-201-1/+5
| | | | Co-authored-by: Balz Guenat <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
* Manually format develop (#15003)Joel Challis2021-11-011-24/+24
|
* [Core] Refactor OLED to allow easy addition of other types (#13454)Xelus222021-08-243-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add docs * core changes * update keyboards to new OLED * updated users to new OLED * update layouts to new OLED * fixup docs * drashna's suggestion * fix up docs * new keyboards with oled * core split changes * remaining keyboard files * Fix The Helix keyboards oled options * reflect develop Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: mtei <[email protected]>
* Make solo half of split keyboards (more) usable. (#13523)Joakim Tufvegren2021-08-224-52/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make solo half of split keyboards (more) usable. Using only one half of a split keyboard (that's using the split_common framework to communicate) is not a great experience, since several read timeouts per scan cycle cause an unusably slow scan rate. This change blocks all split communication attempts for 500 ms (configurable) after an error occurs, causing the scan rate to become at least _more_ usable, but might need some tweaking to work fully on most keyboards. One read timeout still needs to occur after the 500 ms has passed, and if that timeout isn't low enough, some scan cycles may still be too slow. * Fix lint complaint. * Require 25 consecutive comm errors to see comms as disconnected. The number of max errors can be overridden by defining `SPLIT_MAX_CONNECTION_ERRORS`. * Add comments to new defines, and ability to disable disconnection check. Also increase `SPLIT_MAX_CONNECTION_ERRORS` to 40, since it's divisible by most relevant numbers for the description. * Make lint happy ...again * Only update `connection_check_timer` when needed. * Add new defines to split keyboard documentation. * Move connection timeout logic to transport.c, add `is_transport_connected`. * Use split_common disconnection logic in matrix.c. Instead of doing more or less the same thing twice. * Move disconnection logic to `transport_master`. Is a cleaner implementation, and causes the scan rate while disconnected to increase instead of decrease. * Lint fixes. * Lower default `SERIAL_USART_TIMEOUT` to 20 ms. The read timeout must be low enough to not cause exessively long scan cycles when using a solo split half. 10 ms was determined from testing to work fine even with the slowest defined baudrate of 19200 (5 ms was too low for that case), so 20 ms should be fine for most cases. * Remove `SERIAL_USART_TIMEOUT` from ergodox_infinity/config.h Was somewhat mistakenly included in an earlier PR. * Fix building with `USE_I2C`. * Reduce built firmware size. Not really sure why this works, the idea was taken from tzarc's work on split disconnection. * Tweak and improve opt-out for split disconnection logic. There are now two ways to opt out from this feature: * Set `SPLIT_MAX_CONNECTION_ERRORS` to 0. This will completely disable the connection status checks (also affects the slave matrix reset logic in matrix.c, though). * Set `SPLIT_CONNECTION_CHECK_TIMEOUT` to 0. This will only disable the communication throttling while disconnected. Will make the firmware smaller. * Make split disconnection logic work with custom transports. Includes a fallback implementation for keyboards using a custom split_util.c but not a custom matrix.c (currently no such keyboard seems to be merged, though). * Remove unnecessary include of timer.h Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Joel Challis <[email protected]>
* Fix ifdefs for OLED split sync code (#14017)Drashna Jaelre2021-08-153-6/+6
|
* Enable sync of OLED/ST7565 display on/off state on Splits (#13542)Drashna Jaelre2021-08-153-21/+105
| | | | | | | | | * Enable sync of OLED/ST7565 display on/off state on Splits * Only send if states are not matched Co-authored-by: Nick Brassel <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
* Fix compilation issue. (#13926)Nick Brassel2021-08-091-1/+1
|
* Avoid LTO conficts on arm_atsam (#13676)Joel Challis2021-07-241-1/+1
|