Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to write a program to define a gamepad and use it?

Status
Not open for further replies.

Navid T

Full Member level 3
Joined
Jan 21, 2005
Messages
186
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
Iran
Activity points
1,385
avr usb steering wheel

Hi
I'm going to make an advanced pc steering wheel, but i don't know whats protocol of this, and how can i write a program to define a gamepad and use it in games. can you give me some information about it? or some links and samples please??
Best regards
 

Computer Steering Wheel

The protocol is either USB HID class, or none at all.
In the former case You will have to implement an USB protocol device.
http://www.usb.org/developers/hidpage/
http://en.wikipedia.org/wiki/USB_Human_Interface_Device_class
This could be done even without a specialized USB controller, a firmware-only driver and an AVR microcontroller are enough:
http://www.sensorwiki.org/index.php/Building_a_USB_sensor_interface
I saw a few AVR based joystick/steering wheel projects on the net, just google a bit, You should find something that will fit Your needs.

The latter case is simply a potentiometer connected do PC's game port.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top