Giter Site home page Giter Site logo

ca4ti / xpad-avr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ripdajacker/xpad-avr

0.0 1.0 0.0 1.62 MB

Original xbox controller emulator for AVR-based microcontrollers

License: GNU General Public License v3.0

C 58.08% Makefile 2.16% C++ 37.28% HTML 0.07% CSS 0.10% Assembly 0.12% XSLT 2.16% Python 0.04%

xpad-avr's Introduction

xpad-avr

Xpad AVR is a controller emulator for the original Xbox console. It attempts to simulate the HID reports sent from the controller to the console.

Building

You need:

  • An ATMega32u4 (or any AVR with built-in USB) microcontroller (Arduino Leonardo or chinese knockoff)
  • A 16 MHz clock connected to the AVR. (This is standard on Arduinos)
  • WinAVR or a unix with avr-gcc.

To program run make and program it through avrdude:

make
avrdude -p m32u4 -cavr109 -P /dev/ttyACM0  -b57600 -D -Uflash:w:XpadEmu.hex:i

The above command assumes an Arduino or clone. If you happen to have a vanilla chip, use dfu-programmer.

LUFA

The project uses the open-source USB stack LUFA to emulate the device.

The included LUFA library has two additions in the HIDClassCommon.h file line 565. Upstreaming these changes is planned, but not until the project is working.

xpad-avr's People

Contributors

ripdajacker avatar

Watchers

James Cloos 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.