Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years ago.
Is there a library to host a gamepad on mbed?
Is there a library to host a gamepad on mbed?
Question relating to:
1 Answer
7 years ago.
Abdelhak,
There is a good discussion (with example code and guides) on how to connect a mbed device to a USB gamepad located on this forum
In addition, we have XBOX 360 (wireless) example code and libraries on our components page
If you want to build your own controller out of joysticks and buttons, you can also find that on our components page. An example would be the Grove thumb joystick
It was pretty simple, I wrote a simple library using USBHost, I published it here https://os.mbed.com/users/abougouffa/code/USBHostGamepad/ And this is a usage example, https://os.mbed.com/users/abougouffa/code/mbed_gamepad_example/
posted by 20 Dec 2017