Giter VIP home page Giter VIP logo

phukdlib_leonardo's Introduction

Arduino Leonardo/Micro compatible PHUKD library

Based on Irongeek's PHUKD (Programmable HID USB Keystroke Dongle) Library ver 0.4( http://www.irongeek.com/i.php?page=security/programmable-hid-usb-keystroke-dongle )

NOTE: Should work fine on Arduino Micro but I don't tested it.

Download and installation

  • Click "Clone or download" -> "Download ZIP"
  • Unzip downloaded file in Arduino/libraries/ directory

Use

Add this include line to your sketch:

#include <phukdlib_leonardo.h>

There are some demo sketches in the examples folder to help illustrate how library can be used. The function names are fairly self explanatory:

  • CommandAtRunBarMSWIN(char *SomeCommand) : Opens the MS Windows run bar and executes the given command.
  • CommandAtRunBarGnome(char *SomeCommand) : Opens a run bar in Gnome under Linux and executes the given command.
  • CommandAtRunBarOSX(char *SomeCommand) : Opens Spotlight under OS X and executes the given command.
  • CommandAtNewTerminal(char *SomeCommand) : Opens a Terminal under OS X and executes the given command. *ShrinkCurWinMSWIN() : Shrinks the active window to help hide it in MS Windows.
  • ShrinkCurWinGnome() : Shrinks the active window to help hide it in Gnome.
  • ShrinkCurWinOSX() : Shrinks the active window to help hide it in OS X.
  • PressAndRelease(char Key, int KeyCount) : This function simplifies the pressing and releasing of a key. You can also specify how many times to hit the key.

Other languages

By default Arduino Keyboard library only support en_us kayboard layout, you can download an improved Keyboard library here

Version History

(Date format: DD/MM/YYYY)
* 14/6/2017 Readme.md changes and included "Other languages" section
* 8/6/2017 First commit

TO DO

  • Documentation, wiki ... (some day...)

Contact

Open an issue, ask me on twitter to @ernesto_xload or visit www.sanchezpano.info

phukdlib_leonardo's People

Contributors

ernesto-xload avatar joelsernamoreno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.