You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generates a random character and sends it to the host
Equivalent function to the DS random keystroke injection features
VOLUME [0-1] BEEP [FREQ] [MS]
Plays a tone using the integrated buzzer
This one is a bit silly and doesn't have a DS equivalent, but can be used as an audio prompt before WAIT_FOR_BUTTON_PRESS or to notify that a particularly long script has finished
For the reviewer
I've uploaded the firmware with this patch to a device and verified its functionality
I've confirmed the bug to be fixed / feature to be stable
unfortunately this came in at a bad time. badkb was behind on a few OFW refactors, since those refactors did not add any functionality that badkb didnt already have, but it meant that it was quite differently structured. i just spend the last 3 days rewriting badkb on top of ofw's "new" badusb structure, so now this pr will probably need some reworking.
also, i would prefer if you tried to contribute this to official firmware first, everything that gets added downstream here becomes an additional maintenance burder when inevitably ofw will change things once again. if they reject these additions, then i will have a look and possibly accept them here
i know this pr didnt really come in at that bad time, but it got to this bad time due to me not looking at it sooner, thats my bad.
still, i would prefer if you tried to contribute this to official firmware first. if declined, i will accept it here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's new
Adds support for a couple of new commands to the BadKB scripting language.
CAPS [ON|OFF]$_CAPSLOCK_ONRANDOM_LETTERRANDOM_LOWERCASE_LETTERRANDOM_UPPERCASE_LETTERRANDOM_NUMBERRANDOM_SPECIALRANDOM_CHARVOLUME [0-1]BEEP [FREQ] [MS]WAIT_FOR_BUTTON_PRESSor to notify that a particularly long script has finishedFor the reviewer