rmont881/EmojiWarsCC

Get multiple gamepads working

Opened this issue · 1 comments

  1. Currently there is a map of Handle (void* inSender I think in gamepadAction & IOHIDDeviceRef in gamepadWasAdded & gamepadWasRemoved)
  2. Update Character.h & Character.cpp to have a size_t playerNum and use that for getControllerState(playerNum)
  3. 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.

This is in a rough first cut state. Going to polish a little more before closing.