Skip to content

Instantly share code, notes, and snippets.

@dekuNukem
Last active May 31, 2021 20:34
Show Gist options
  • Save dekuNukem/3d4ca966c83dca38ae89ee1142806ef2 to your computer and use it in GitHub Desktop.
Save dekuNukem/3d4ca966c83dca38ae89ee1142806ef2 to your computer and use it in GitHub Desktop.
duckyPad USB Profile Editing BETA TEST

duckyPad USB Profile Editing BETA TEST

Thanks for considering this beta test!

Finally! After many suggestions and some (hopefully) careful coding, you can now edit profiles via USB WITHOUT taking out the SD Card, or even unplugging!

New Features

  • Edit profiles via USB! No more need for taking out the SD card.

  • Added KEYDOWN and KEYUP command

  • Added DEFAULTCHARDELAYFUZZ and DEFAULTDELAYFUZZ

  • Bug fixes

Warnings and Limitations

⚠️This is a BETA TEST, there might be bugs and possibility of data loss. It's a good idea to make a backup of your SD card first!

⚠️ With limited microcontroller resources, USB profile editing is a bit of a bodge job, and read/write speed might be a tad slow. Still, it's better than nothing!

⚠️ USB profile editing is Windows10 only for now. More testing needs to be done for macOS and Linux.

Instructions

  • Click me to download the latest beta firmware (0.19.1)

  • Flash it into your duckyPad, instruction here.

  • Download the beta configurator app.

  • Launch the app, plug in your duckyPad and press Connect on top-left corner.

  • It should start loading profiles, might take few seconds depending on how many you have.

  • Once finished, you can use the app as usual.

  • Press Save button to commit the changes back to duckyPad.

  • duckyPad will then reboot and be ready to use.

  • Hopefully it works! Let me know if you have any issues, feedbacks, suggestions, or questions!

New Commands

KEYUP / KEYDOWN

Allows you to press/release up to 6 keys at once. Also works with LMOUSE and RMOUSE

Example (select two characters to the right):

KEYDOWN SHIFT
RIGHT
RIGHT
KEYUP SHIFT

DEFAULTCHARDELAYFUZZ

Adds a random offset to DEFAULTCHARDELAY, can be used to randomise the wait between keystroke to make typing appear more human-like.

  • Usage: DEFAULTCHARDELAYFUZZ X

  • X must be an integer between 0 and 65535

  • At EACH key stroke, a random delay between 0 and X milliseconds is added on top of current DEFAULTCHARDELAY.

  • Set it to 0 to disable

Example:

DEFAULTCHARDELAY 20
DEFAULTCHARDELAYFUZZ 50

STRING Hello World!

DEFAULTDELAYFUZZ

Similar with DEFAULTCHARDELAYFUZZ, but applies to the wait between each line of script.

Questions or Comments?

Please feel free to open an issue, ask in the official duckyPad discord, DM me on discord dekuNukem#6998, or email dekuNukem@gmail.com for inquires.

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