So I’ve noticed that DualShock controllers on PC and PC Sim return buttons as…
event.keyName = "button1..14"
…but when I pair a DualShock with an iPad or Mac the buttons are re-mapped to xBox style, e.g.
event.keyName = "buttonA"
Is that part of Apple’s MFi platform to conform buttons from other devices to the xBox style or is that something that Solar2D is doing?
My goal was to detect what kind of controller you had based on the button types, but if they all get mapped the same way, that’s tough. Also…
event.device.displayName or event.device.productName
…says something like “Wireless Controller” or “Joystick” which is not a big help.