Hi to everyone, my idea is to create a robot car (with a camera in the top) that i can controll it with any USB controller , like using joystick axis to controll the speed of dc motor. So i need a library (or a code) that read value from a usb controller connect to pc , anyone can help me?
There are several different game controllers which can be used directly with the Arduino. A wireless PlayStation 2 controller could be used with an Arduino.
If you are sure you want to use a PC game controller, then you would need to write the software for the PC to read the controller and then send the data over a wireless connection. The Arduino would then use this information to control the motors.