I have a gamepad and i want to use the buttons on the joystick to interact with my program. I have been searching for a while now for any solutions and i cant find any. I have the device id and the vendor id are there any good example as to how i can accomplish this?
You might want to look into libusb, a C library for accessing USB devices. It is available on multiple platforms.