Adaptation of the digistump digispark library and the CedArctic digispark keyboard scripts into one library, ready to by added to the ArduinoDroid app.
The goal of this library is to enable the user to quickly swap between 18 different digispark rubber ducky scripts using an Android phone via OTG (On-The-Go) in the Android app ArduinoDroid.
Furthermore, inside the "keyboards" folder, a "scancode-ascii-table.h" file can be found for each one of 11 different keyboards. To change keyboard, replace this file in the "src" folder (Attention: the default keyboard in "src" folder is not EN_US, but PT_PT).
All credits go to the three links mentioned above.
After downloading the .zip file in your android phone, got to the ArduinoDroid app, click Library->Add .ZIP Library->digiandroid-main.zip.
To get the examples, click Sketch->Library Examples->User Libraries->digiandroid->[example]
To upload to the digispark, first you need to select the board, go to Settings->Board type->Digistump->Digispark (Default- 16.5mhz). To upload the code, first compile. After pluging the digispark to the phone you should see a "USB Device attached" toast message, and that is when you can to click upload (no drivers needed).
Please let me know if any of the keyboard header files don't work. I only tested the PT-PT keyboard.