protected void GenerateDefaultGamePadActions() { int controllerIndex = (int)myInputType; myMappedActions.BindAction("MoveLeft", Buttons.DPadLeft, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("MoveLeft", Buttons.LeftThumbstickLeft, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("MoveRight", Buttons.DPadRight, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("MoveRight", Buttons.LeftThumbstickRight, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("MoveUp", Buttons.DPadUp, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("MoveUp", Buttons.LeftThumbstickUp, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("MoveDown", Buttons.DPadDown, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("MoveDown", Buttons.LeftThumbstickDown, InputStatus.KeyCooldown, controllerIndex); myMappedActions.BindAction("SwapBlocks", Buttons.A, InputStatus.KeyPressed, controllerIndex); myMappedActions.BindAction("SwapBlocks", Buttons.B, InputStatus.KeyPressed, controllerIndex); myMappedActions.BindAction("RaiseBlocks", Buttons.RightShoulder, InputStatus.KeyDown, controllerIndex); myMappedActions.BindAction("RaiseBlocks", Buttons.RightTrigger, InputStatus.KeyDown, controllerIndex); myMappedActions.BindAction("RaiseBlocks", Buttons.LeftShoulder, InputStatus.KeyDown, controllerIndex); myMappedActions.BindAction("RaiseBlocks", Buttons.LeftTrigger, InputStatus.KeyDown, controllerIndex); myMappedActions.BindAction("Back", Buttons.B, InputStatus.KeyPressed, controllerIndex); myMappedActions.BindAction("Confirm", Buttons.A, InputStatus.KeyPressed, controllerIndex); myMappedActions.BindAction("Menu", Buttons.Start, InputStatus.KeyPressed, controllerIndex); }