Monday, May 12, 2008

Boxhead with an XBox 360 controller

I have been messing around with GlovePIE for a while now and I thought it would be cool to make a script to use with the flash game "BoxHead 2 Play"
So here is the script.for use with an XBox 360 controller and GlovePIE .30 on your computer. Just copy and paste this into the window.

// Type your program here, or click the GUI tab to autogenerate it!
Key.right = Joystick1.pov1right
Key.left = Joystick1.pov1left
Key.up = Joystick1.pov1up
Key.down = Joystick1.pov1down
Key.P = Joystick1.Button8
Key.Enter = Joystick1.Button7
Key.LeftShift = Joystick1.Button1
Key.F = Joystick1.button3
Key.E = Joystick1.button4
Key.Q = Joystick1.button2
Key.Space = Joystick1.Button1
Key.Comma = Joystick1.Button3
Key.Dot = Joystick1.Button4

(Note, there might be an extra button in there on accident, don't worry about it though)

No comments: