Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic presence check for cirque trackpad. #22546

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

daskygit
Copy link
Member

Description

Just adds a simple check that the cirque trackpad is connected and working, not completely foolproof but better than how it behaves currently. This stops spurious inputs when SPI is reading random data due to a failed or incorrectly wired cirque.

We don't currently set a default ZIDLE value so seemed a good candidate for the check.

I've only got a SPI cirque from a steam controller to check this with so some feedback from other setups would be useful and appreciated.

I've added CIRQUE_PINNACLE_SKIP_SENSOR_CHECK mostly for debugging purposes, the data sheet only specifies one default value but you never know.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Copy link
Contributor

@lesshonor lesshonor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change my half-assembled Sugar Glider no longer activates the auto-mouse layer on boot. Very helpful. 🚀

the aforementioned half-assembled SG

@zvecr zvecr merged commit 86f073a into qmk:develop Dec 4, 2023
2 of 3 checks passed
itsjonny96 pushed a commit to itsjonny96/qmk_firmware that referenced this pull request Jan 7, 2024
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jan 17, 2024
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jan 19, 2024
@daskygit daskygit deleted the pr/cirque_sensor_check branch June 28, 2024 21:35
nuess0r pushed a commit to nuess0r/qmk_firmware that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants