Hi all.
I am very new at arduino programming stuff and i am into a project.
I want my arduino board to connect with pc as a game controller. (I am planning to use an arduimu like gyro board)
And what i need to do is a sort of gyro game controller. When gyro sensor incline left, arduino controller will pretend like i pushed “left” button on game controller etc…
Can anyone help me about this project and offer me a path about that?
Sorry about my lack of knowledge…
Any help will be so precious for me. Thanks in advance!
A Leonardo board (or some flavor) can be seen by the PC as a game controller.
There is an instructable that helps:
http://www.instructables.com/id/Arduino … rJoystick/
For the tilt control, perhaps look at this gyro breakout:
https://www.sparkfun.com/products/11028
good luck!
Leonardo HID Joystick not detected by browser — do I need a specific HID report?
I’m using Arduino Leonardo with a custom HID descriptor. The PC recognizes it as “Arduino Leonardo,” but the browser doesn’t list it as a gamepad. Which HID usage page or report descriptor is required for HTML5 Gamepad API recognition?