Get multiple gamepads working
Opened this issue · 1 comments
joshbodily commented
- Currently there is a map of Handle (void* inSender I think in gamepadAction & IOHIDDeviceRef in gamepadWasAdded & gamepadWasRemoved)
- Update Character.h & Character.cpp to have a size_t playerNum and use that for
getControllerState(playerNum)
- There needs to be an algorithm that assigns a newly connected paddle to a player in order, i.e. first paddle to connect is P1 etc.
rmont881 commented
This is in a rough first cut state. Going to polish a little more before closing.