Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Configurate Controller DualShock 2

$
0
0

@Jimmy_MacFly wrote:

Hello,
someone know if its possible to monogame to recognize controllers gamepad Playstation DualShock 2.

This below code is functionnel for controller gamepad Xbox :

"
GamePadState gamepad1;
gamepad1 = GamePad.GetState(PlayerIndex.One);
...
if ( gamepad1.IsButtonDown(Buttons.DPadLeft) )
{
this._hitbox.X -= moveSpeed;
}
"

Thanks you for any help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles