Coder Social home page Coder Social logo

snhobbs / arduinohid Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 3.76 MB

HID Arduino Keyboard cutomized for use as arcade controls

C 63.80% Makefile 25.77% C++ 9.20% Objective-C 0.06% Assembly 0.76% C# 0.34% Shell 0.04% Python 0.02%
arduino keyboard firmware driver arcade-controller lufa arcade controller

arduinohid's Introduction

Arduino HID keyboard for a 16 pin input. Designed as an arcade controller.

This work is not my own, simply organized and collected so as to be easily reproducable.

The HID drivers was done by the LUFA project (http://www.fourwalledcubicle.com/LUFA.php) with the actual driver code being written by user Darren at http://hunt.net.nz/users/darran/

The code contained here is the entire LUFA 100807 with the arduino keyboard firmware from http://hunt.net.nz/users/darran/. I changed the number of keys used by defining the number of concurrently pressed keys to 10 which is the number used in my joy stick (4 directions, 4 primary buttons, start, select).

To load code onto an Arduino using an atmega8u2 or atmega16u2 secondary micro, follow the instructions here: https://www.arduino.cc/en/Hacking/DFUProgramming8U2.

WARNING: for an atmega8u2 you have to use at90usb82 as the chip name.

Run scripts make_8U2_Arduino.sh and make_8U2_Keyboard.sh to flash the firmware

The arduino sketch is included under sketches

RESOURCES: HID table: http://www.freebsddiary.org/APC/usb_hid_usages.php DFU programming: https://www.arduino.cc/en/Hacking/DFUProgramming8U2 Arduino HID Keyboard Source: hunt.net.nz/users/darran/ LUFA project: http://www.fourwalledcubicle.com/LUFA.php

arduinohid's People

Contributors

snhobbs avatar

Watchers

 avatar  avatar

Forkers

masterexecuson

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.