I want to connect a PS3 controller to my computer (using a USB cable) and use it to control something (for example, for a game). Using C # (or c / C ++)
Can someone point me in the right direction (maybe a tutorial)? Is there a good library I can use?
I do not need any fantastic things, such as vibration; just the buttons will do.
This should be the right starting point for you:
An article about using a USB device for the api user interface to read a wired PS3 controller, including movement.
http://www.codeproject.com/Articles/23634/Wired-PS-Six-Axis-Controller-Using-USB-HID-as-Inp
, SFML, #. , , SFML , , OpenGL, SFML. SFML , , ++.
MonoGame/XNA, , SDL, , MonoGame , .