Gamepad Maps

rbuckley25

  • *
  • Posts: 19
I'm interested in setting up gamepad "presets" for a standalone game I'm working on.  I usually use a 360 controller with my computer so I currently have the controls mapped to that but I know there are a lot of different controllers out there that people use.  If you prefer a different gamepad it would be awesome if you could map it out in a picture like the one I attached.

ceosol

  • *
  • Posts: 2225
Thanks, I'll definitely be checking back on this i the coming weeks.

ceosol

  • *
  • Posts: 2225
Here is the PS3 controller. I didn't put in the commas, but the should all be 0, ...

colburt187

  • *
  • Posts: 2270
if i remember correctly, i think the inputs for each controller are different on mac than what they are on windows. Real pain to set it all up. The above images are a good resource though.

Bombini

  • *
  • Posts: 1150
Thanks guys! Very helpful!
Is there any way to detect the gamepad type? No or?
Would the player have to select in settings which gamepad is connected?

Cheers

ceosol

  • *
  • Posts: 2225
Would the player have to select in settings which gamepad is connected?
Yes, I believe so.

rbuckley25

  • *
  • Posts: 19
Thanks guys! Very helpful!
Is there any way to detect the gamepad type? No or?
Would the player have to select in settings which gamepad is connected?

Cheers

Yes, my original idea with this post was to store the actual gamepad maps in my game and have the player select which controller they are using but I have since been working on a scene within my game that allows the player to map the game controls to any controller they're using.  It's pretty promising so far but needs more testing with other controllers.  If it works out I'll turn it into a scene behavior and share.

ceosol

  • *
  • Posts: 2225
If you need me to test on my mac or pc with PS3 controllers, I can.

Bombini

  • *
  • Posts: 1150
I could help with an xbox controller on MAC and PC.
This is super interesting!

rbuckley25

  • *
  • Posts: 19
Thanks for the offers guys.  I will let you know.  I'm focusing on the game itself right now but hopefully within the next month or so I should have things starting to settle out with it.