1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 20:49:49 +04:00

OFW PR 2544: added WAIT_FOR_BUTTON_PRESS functionality to badusb

by @p4p1

merging before OFW, more testing needed!
This commit is contained in:
MX
2023-04-01 21:43:42 +03:00
parent bd78c3b3ea
commit aaeb0278b1
6 changed files with 49 additions and 0 deletions

View File

@@ -77,6 +77,13 @@ Up to 5 keys can be hold simultaneously.
| HOLD | Special key or single character | Press and hold key untill RELEASE command |
| RELEASE | Special key or single character | Release key |
## Wait for button press
Will wait indefinitely for a button to be pressed
| Command | Parameters | Notes |
| --------------------- | ------------ | --------------------------------------------------------------------- |
| WAIT_FOR_BUTTON_PRESS | None | Will wait for the user to press a button to continue script execution |
## String