Skip to content

DIP Switches Example Code.ino update request #9

Description

@tomslv

Hi!

Please add this to existing DIP Switches Example Code.ino

else if (b.equals("SPACE"))
{
Keyboard.press(' ');
}

This will add SPACE functionality, so MacOS ducky scripts would work.
Tested it yesterday. Works as expected.

Thank You!

Tom.

P.S. For BadUSB MicroSD version You don't need Programming mode switch. Just pull out MicroSD card and nothing happens ;)
Restart button would be perfect instead, so You don't have to pull it out from port each time You need to change which script to use when testing. I hope You can give advice on that. Sorry, if You already did, and I missed it.
Thank You!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions