Git Product home page Git Product logo

rubberduino's Introduction

Build status Coverage percentage

rubberduino

Tool to convert Rubber Ducky scripts to arduino compatible code.

Requirements

  • Python 2.7.9+

Install

pip install [email protected]:zatarra/rubberduino.git#egg=rubberduino

Adjust the symbol mapping

Currently this is adjusted to PT keyboards. You can try to create a custom map that suits you by checking which numbers give you the desired symbols. The quick and dirty way of doing it is to use a small arduino sketch that will print out the corresponding symbols of each number. Please check the symbols_mapper.txt or just load an arduino with the following sketch:

#include <Keyboard.h>
// Rubber ducky script converter developed by: David Gouveia <david.gouveia [_at_] gmail.com>
// https://www.davidgouveia.net
// Basic Symbol Mapping application. This will allow you to check which symbols can be found on each number

void setup(){
  Keyboard.begin();
  delay(5000);
  for ( int i=0; i < 200; i++ )
  {
    Keyboard.print(i);
    Keyboard.print(" maps to ");
    Keyboard.write(i);
    Keyboard.print( "\n" );
  }

  Keyboard.end();
}


void loop(){}

After uploading the sketch, you have five seconds to point the cursor to a text editor tool. It will start showing you symbols and their assigned number. Use this to build a new symbol map.

Develop

This package comes with a setup.sh script which swiftly creates a virtualenv and installs dependencies from requirements.txt without the hassle of virtualenv wrapper:

. ./setup.sh -p python2.7.9

Test

py.test -v -s --cov-report term-missing --cov=rubberduino -r w tests

License

MIT 2016 David Gouveia

rubberduino's People

Contributors

zatarra avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.