Skip to content

DIP Switches Example Code.ino update request #9

@tomslv

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!

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