how to make a custom gamepad/joystick

Hey

Are almost all new to arduino programing. But seems to be some like the other programming languages i learned.

I have just finished all the projects in the starter kit.
And want to go on with my main misson

I want to build a custom game controller that i can edit the components in. Like if i need a couple extra buttons or pedals or what ever i just can add it and edit my code

So i want to start to make my computer se a gaming device with axis (pots) and a few buttons that acts as buttons or is emulated or assigned as keyboard keys

I have looked over the net and only found like "make a ps3 controller of you arduino" and that havet a locked set of buttons

I hope that you understand what i mean

Best regards
Kaj sanfridsson

Your main problem will be getting your computer to recognise the Arduino as a game controller rather than a serial communications device.

You would need probably need to use an Arduino board based on the Atmega32U4 (or similar) where the USB is integrated into the micro controller.
But it is possible to use a normal Arduino is you build some additional analog circuits to interface the USB connections to the Arduino.

The Playstation controller you mentioned is not USB and the connections are totally different.

However the most complex aspect of the project will be writing the USB code to mimic whatever game controller your computer and game expect to use.

Take a look at http://www.fourwalledcubicle.com/LUFA.php for the USB stuff.

After you get the USB stuff working, the interfacing of buttons etc will be a walk in the park

Exact that wath i was thinking to. But you havet pointed me to the right direction so i can begin to research about it :slight_smile:

You have not provided any information about the "computer" or what games you want to interface to.

Unless you provide this basic information, no one will be able to provide you with very much guidance.

Why are you doing this ? (what game is it that you want to play ?)