The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
Get controller model
Acqu
Joined: 14 Oct 2016
Posts: 1
Posted: Fri Oct 14, 2016 8:59 am
I need to get the model of controller plugged in (Xbox, PlayStation, etc..).
I've read that SDL creates a GUID according to controller model, then the best solution to do what I need is to check the GUID? there is a list of GUID or a rule to parse this string and get the model?
If this is not the right solution please guide me to the right way.