Skip to content

Improve MotorController flexibility#2454

Open
mark9064 wants to merge 1 commit into
InfiniTimeOrg:mainfrom
mark9064:adaptive-vibration
Open

Improve MotorController flexibility#2454
mark9064 wants to merge 1 commit into
InfiniTimeOrg:mainfrom
mark9064:adaptive-vibration

Conversation

@mark9064

Copy link
Copy Markdown
Member

Refactors motor controller to:

  • Support ringing any number of times, with any period between rings
  • Adaptively change the vibration strength based on how much the watch is moving
  • Use predefined strength values (light/medium/strong) rather than arbitrary numbers across the codebase

Other changes:

  • Chime is now implemented as 2 rings 200ms apart. This sets it nicely apart from normal notifications

Internal changes:

  • Only one timer is used for ringing
  • State machine (Idle, Buzz, RingOn (ringing with motor on), RingOff (ringing with motor off))

Would be interested to hear what people make of the adaptive vibration strength. I think it's definitely led to me missing fewer notifications when on the move

@mark9064 mark9064 added enhancement Enhancement to an existing app/feature maintenance Background work labels Jul 19, 2026
@github-actions

Copy link
Copy Markdown

Build checks have not completed. Possible reasons for this are:

  1. The checks need to be approved by a maintainer
  2. The branch has conflicts
  3. The firmware build has failed

@mark9064

Copy link
Copy Markdown
Member Author

10.3 is too stupid to build this apparently...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement to an existing app/feature maintenance Background work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant