https://github.com/jonthysell/ataricontroller
Arduino library to read Atari 2600 controllers.
https://github.com/jonthysell/ataricontroller
arduino arduino-library atari atari-2600 controller gamepad joystick
Last synced: 10 months ago
JSON representation
Arduino library to read Atari 2600 controllers.
- Host: GitHub
- URL: https://github.com/jonthysell/ataricontroller
- Owner: jonthysell
- License: mit
- Created: 2017-07-11T17:19:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T15:00:24.000Z (over 8 years ago)
- Last Synced: 2025-03-26T15:02:03.130Z (11 months ago)
- Topics: arduino, arduino-library, atari, atari-2600, controller, gamepad, joystick
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# AtariController #
The AtariController library enables your Arduino sketches to read Atari 2600 controllers.
## Installation ##
1. Download the latest source code zip from https://github.com/jonthysell/AtariController/releases/latest
2. Open the Arduino IDE
3. Open "Sketch > Include Library > Add .ZIP Library..."
4. Select the zip file you downloaded in step 1
## Getting Started ##
There are two example sketches included which make use of the AtariController library. See "File > Examples > AtariController" in the Arduino IDE after installation.
### AtariControllerSerialReader ###
This sketch reads the state of a single controller and reports it via the Serial interface. Note that it only reports when the state has changed (a button has been pressed or released). It's good for validating you've got your pins wired up properly.
### AtariControllerKeyboardReader ###
This sketch reads the state of a single controller and simulates key presses via the Keyboard interface. You can specify which buttons correspond to which keys in the sketch. This sketch requires a 32u4 based board (such as the Leonardo, Micro, or Due).
## More Info ##
For more information on how the controllers actually work, see [How To Read Atari Controllers](https://github.com/jonthysell/AtariController/wiki/How-To-Read-Atari-Controllers).
Copyright (c) 2017 Jon Thysell