The Daily Click ::. Forums ::. Klik Coding Help ::. Gamepad support
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
14th November, 2013 at 14/11/2013 13:26:10 -

Is the Xbox 360 gamepad pretty popular for playing PC games? I'm thinking about testing with one of those. I know there's built-in gamepad support from the file menu of the application, but is there a more professional way of implementing gamepad support? Or anything I should be aware of?

 
Image

Tell 'em Babs is 'ere...

The_Antisony

At least I'm not Circy

Registered
  01/07/2002
Points
  1341

VIP MemberStarSnow
14th November, 2013 at 14/11/2013 20:36:46 -

Once installed, the 360 gamepad should operate just like any other 19-button controller.
I use a 19-button controller myself, but it's a Nyco Airflow. I also have a driver for my original Xbox controllers installed, but alas; I do not have a 360 and I have no idea how many people use them things on their computers.

Here's the button mappings if that helps.
D-pad up: joystick button 5
D-pad down: joystick button 6
D-pad left: joystick button 7
D-pad right: joystick button 8
start: joystick button 9
back: joystick button 10
left stick(click): joystick button 11
right stick(click): joystick button 12
left bumper: joystick button 13
right bumper: joystick button 14
center("x") button: joystick button 15
A: joystick button 16
B: joystick button 17
X: joystick button 18
Y: joystick button 19

MMF2 does have built-in joystick support, but I've never used it. I've always preferred the Joypad Object because it says it supports up to 32 buttons, six-axis', and hat buttons. I have no idea what the built-in joystick support actually supports.

 
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
17th November, 2013 at 17/11/2013 21:46:38 -

Ah, thanks for the button mapping!

 
Image

Tell 'em Babs is 'ere...
   

Post Reply



 



Advertisement

Worth A Click