Blog
Categories: Arduino, DIY, Technology
Controller Maps
Posted on April 24, 2012, at 12:13 pm

After putting together the first phase of my Arduino Wifly Mini, I realized I had a bunch of controller maps people might find useful if using controllers with Processing’s ProControll library. I’m not certain these maps will be valid across all Macs or PCs, but here they are anyway in case you find them helpful. They might even apply when using other IDEs or libraries – but I’m not sure.



PS3 Controller, on Mac OS X

Button Number, Button:

0: Select
1: Left Joystick Downpress
2: Right Joystick Downpress
3: Start
4: Up-Arrow, left keypad.
5: Right-Arrow, left keypad.
6: Down-Arrow, left keypad.
7: Left-Arrow, left keypad.
8: Left paddle
9: Right paddle
10: Left trigger button
11: Right Trigger Button
12: Triangle
13: Circle
14: X
15: Square
16: PlayStation Button
17, 18 don’t appear activated.

Slider Number, Slider:

0: Left Joystick Left-And-Right (X axis)
1: Left Joystick Up-and-Down (Y axis)
2: Right Joystick Left-and-Right (X axis)
3: Right Joystick Up-and-Down (Y axis)



Xbox360 Controller, Windows 7

Button Number, Button:

0: A
1: B
2: X
3: Y
4: LB
5: RB
6: Select, Back
7: Start
8: Left Joystick Down
9: Right Joystick Down
10: Cooliehat (true cooliehat).

Slider Number, Slider:

0: Left Joystick Y axis (Up and Down)
1: Left Joystick X axis (Left and Right)
2: Right Joystick Y axis (Up and Down)
3: Right Joystick X axis (Left and Right)
4: Right and Left Paddles; input sits at 0, when right paddle is pressed it drops to -1, when left paddle is pressed it goes up to 1, when both are pressed at the same time the input reading is 0.



Xbox 360 Controller, on Mac OS X

0: Cooliehat UP
1: Cooliehat DOWN
2: Cooliehat LEFT
3: Cooliehat RIGHT
4: START
5: SELECT
6: Left Joystick Down
7: Right Joystick Down
8: LB
9: RB
10: XBOX Light Button
11: A
12: B
13: X
14: Y

Slider Number, Slider:

0: Left Joystick X axis (Left and Right)
1: Left Joystick Y Axis (Up and Down)
2: Right Joystick X axis (Left and Right)
3: Right Joystick Y axis (Up and Down)
4: Left Paddle
5: Right Paddle



Logitech G27 Steering Wheel, Windows 7

Button Number, Button:

0: Cooliehat (true cooliehat).
1: Red button 1 on stickshift panel.
2: Red button 2 on stickshift panel.
3: Red button 3 on stickshift panel.
4: Red button 4 on stickshift panel.
5: Right Paddle behind Wheel
6: Left Paddle Behind wheel
7: On wheel, Right side, Red Button 1 (top).
8: On wheel, Left Side, Red Button 1 (top).
9: 1st gear
10: 2nd gear
11: 3rd gear
12: 4th gear
13: 5th gear
14: 6th gear
15: Reverse gear
16: POV TOP
17: POV RIGHT
18: POV BOTTOM
19: POV LEFT
20: On wheel, Right side, Red Button 2 (middle)
21: On wheel, Left side, Red Button 2 (middle)
22: On wheel, right side, Red Button 3 (bottom)
23: On wheel, left side, Red Button 3 (bottom)

Slider Number, slider:

0: Wheel
1: Combined pedals
2: Brake
3: Accelerator
4: Clutch



Logitech F510 Rumblepad, Windows 7, XInput Mode

Button Number, Button:

0: A
1: B
2: X
3: Y
4: Left Trigger
5: Right Trigger
6: Back
7: Start
8: Left Joystick Depressed
9: Right Joystick Depressed
10: Cooliehat (true cooliehat).

Slider Number, Slider:

0: Left Joystick, Y axis (Up and Down)
1: Left Joystick, X axis (Left and Right)
2: Right Joystick Y axis (Up and Down)
3: Right Joystick X axis (Left and Right)
4: Left and Right paddles, combined.



Logitech F510 Rumblepad, Windows 7, DirectInput Mode

0: Cooliehat (true cooliehat)
1: X
2: A
3: B
4: Y
5: Left Trigger
6: Right Trigger
7: Left Paddle
8: Right paddle
9: Back
10: Start
11: Left Joystick Down
12: Right Joystick Down

Slider Number, Slider:

0: Right Joystick, Y axis (Up and Down)
1: Right Joystick, X axis (Left and Right)
2: Left Joystick Y axis (Up and Down)
3: Left Joystick X axis (Left and Right)

  • tnap1979

    i have an arduino uno r3, a bluetooth module, and a bunch of other things for an idea, i have a small rc car, it has no radio, i want to use my arduino, bluetooth and a ps3 controller, is this possible
    nothing thru internet or anything, just direct bluetooth control

More Updates...
  • Klick Holiday Video I’ve only been with Klick for a short time but it’s been a great place to work. We put together this video for the holiday season. It’s the best yet!
  • Martin Amis on the nervous breakdown of the GOP
  • “Communicating with James was difficult.” New York Times profile of a deeply troubled man.
  • Bill Nye on Creationism: It’s not appropriate for children!
  • How to Suck at Your Religion A cartoon by The Oatmeal
  • Texas claims abandoned Walmart and turns it into an award-winning library.
  • Beer Cocktails. Learn a bit of history about the Shandygaff!
  • In Mumbai, a man points out people are drinking sewage water. He now faces charges and arrest.
  • See more...
    © 2013 Blair Kelly