User blog:VicGeorge2K9/Mass Effect 2 PC controls mapped to a gamepad

This is a script I created with GlovePIE that I'm using for Mass Effect 2 on the PC that uses the Xbox 360 controller.

if starting then var.Control = 1 //Movement - Left Stick W = XInput1.Joy1Y > 0.2 S = XInput1.Joy1Y < -0.2 A = XInput1.Joy1X < -0.2 D = XInput1.Joy1X > 0.2 //Aiming Control - Right Stick Mouse.DirectInputX = Mouse.DirectInputX + 7*deadzone(XInput1.Joy2X) Mouse.DirectInputY = Mouse.DirectInputY - 7*deadzone(XInput1.Joy2Y) Q = XInput1.Up //Order Squad to Attack Enemy C = XInput1.Down //Order Squad to Return to Your Position E = XInput1.Left or XInput1.Right //Order Squadmate to a Point or Target //Alternate Combat & Vehicle Control Modes if pressed(XInput1.LeftThumb) then{ say("Vehicle Control") var.Control++ } if var.Control > 2 then{ say("Combat Control") var.Control = 1 } Space = XInput1.A //Use or Talk - A Button F = XInput1.B //Melee Attack - B Button if var.Control = 1 then { R = XInput1.X //Reload - X Button Mouse.WheelUp = XInput1.Y //Switch Weapon - Y Button }else{ E = XInput1.X //Jump - X Button V = XInput1.Y //Mine - Y Button } R = XInput1.X //Reload - X Button Mouse.WheelUp = XInput1.Y //Switch Weapon - Y Button LeftShift = XInput1.RightShoulder //Weapon & Power Wheel - RB Button LeftControl = XInput1.LeftShoulder //Walk - LB Button Mouse.LeftButton = XInput1.RightTrigger //Fire Weapon - RT Button Mouse.RightButton = XInput1.LeftTrigger //Zoom - LT Button Escape = XInput1.Start //Main Menu - Start Button H = XInput1.Back //Exit Combat Stance - Back Button