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 the ability to pause BadUSB programs. #2679

Closed
DrKoneko opened this issue May 18, 2023 · 3 comments
Closed

Add the ability to pause BadUSB programs. #2679

DrKoneko opened this issue May 18, 2023 · 3 comments
Assignees
Labels
Feature Request New feature or user-story you wanna add to flipper USB BadUSB + physical USB interface

Comments

@DrKoneko
Copy link

Describe the enhancement you're suggesting.

Sometimes when running BadUSB on a computer that is slower, the code will run before the computer is able to load the command. This could be solved by adding a pause button, allowing the computer to catch it's breath before continuing the code. Currently the only solution to this is to modify the BadUSB scripts which is not easy to do on the go.

Anything else?

No response

@hedger hedger added Feature Request New feature or user-story you wanna add to flipper USB BadUSB + physical USB interface labels May 22, 2023
@skotopes
Copy link
Member

@nminaylov can we add pause button on when executing script?

@anna-oake
Copy link
Member

have you seen #2544? or is that exactly what you mean by

the only solution to this is to modify the BadUSB scripts

that approach seems more intuitive to me, as you can put these "breakpoints" in the specific parts of your script that need waiting. pausing the script mid execution manually might be pain in the ass, as you'd have to make sure you are doing that at the right moment.

on the other hand, both can exist... i just wanted to make sure you are aware of the WAIT_FOR_BUTTON_PRESS approach

@skotopes
Copy link
Member

skotopes commented Jun 6, 2023

Implemented in #2700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or user-story you wanna add to flipper USB BadUSB + physical USB interface
Projects
None yet
Development

No branches or pull requests

5 participants