I
I
Ivan Pogorelov2014-11-21 21:38:25
Iron
Ivan Pogorelov, 2014-11-21 21:38:25

In what form do game wheels give data via usb?

I want to make a steering wheel. Purely out of interest. In the days of the gameport, everything was simply connected directly and configured. But this is no longer possible. I want usb. I think to do on tuning resistors. We connect to an arduino (well, or some kind of atmega, for beauty), poll several times per second, write data 3 bits into the serial port. And now the question itself. Can this be implemented in some other way? How to give this data to games (I did not find anything in Google)? In what form should they act so that the computer sees this steering wheel, and it is possible to play not only self-written games? How to write a driver?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
m0rd, 2014-11-21
@m0rd

It's you who swung hard. Start from here . Read more this . And when you have already assembled everything and your device will be correctly detected, then ask yourself in what format to give the data.

A
Armenian Radio, 2014-11-22
@gbg

Down with AVR and V-USB in particular. Take stm32f3 discovery. It has
1) 4 fast ADCs, each of which is multiplexed to 10 external pins
2) accelerometer
3) hardware usb
4) gyroscope
5) compass
6) st-link hardware debugger
7) ready-made joystick example https://github.com/ cjheath/stm32f3-discovery-usb-e...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question