Skip to content

fix: T1000 Fix for power off - long hold button. Slow triple press for mute. #583

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ventz
Copy link

@ventz ventz commented Aug 6, 2025

Fixes:

  • Fix for power off - long press and wait. If it's connected to power, it won't work.

Feature:

  • Add for mute - 3 slow presses.

@fdlamotte
Copy link
Collaborator

fdlamotte commented Aug 6, 2025

Hi, I think I can handle this one ;)

What issue are you trying to solve ? Because last time I used it long press and triple press worked ok ... did you have issues with the long press duration ? (It was initially set to 5s ...)

I'm ok for the usb detection ...

There is another issue you can look at since you're at it, when powering off, if the button stays pressed the device will just reboot ... its ok with the sound because we know when to release button but not without sound.

It would be great if you could handle the btn release ... my idea was simply to light the led in power off and wait for the button to be released before actually calling sd_power_off (edit: this would solve #560)

edit : also we usually do the commits to the dev branch instead of main

@fdlamotte fdlamotte self-assigned this Aug 6, 2025
@fdlamotte fdlamotte changed the title fix: Fix for power off - long hold button. Slow triple press for mute. fix: T1000 Fix for power off - long hold button. Slow triple press for mute. Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants