forked from devonshire/arduino-joystick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
29 lines (23 loc) · 928 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Arduino Leonardo USB Digital Joystick
=====================================
This code runs on an Arduino Leonardo allowing it to act as a USB
digital joystick
Uses modified HID.cpp and USBAPI.h provided by "That Guy" at
http://www.imaginaryindustries.com/blog/?p=80
Reposted here: http://design.lselter.co.uk/turning-an-arduino-leonardo-into-a-joystick/
(see instructions there for installation and use)
Developed for use with an Arduino Leonardo as it is able to act directly
as a USB HID controller so doesn't require the Arduino firmware to
be modified as some of the other Arduinos (eg. Uno) would do.
Connections as follows:
Arduino Pin Function
----------- ----------------------------
6 Button 1
7 Button 2
8 Joystick Left
9 Joystick Up
10 Joystick Right
11 Joystick Down
GND Button 1/2 and Joystick GND
Copyright Kevin Peat 2013
kevin 'at' kevinpeat.com