JoyDown Fix

Monkey Targets Forums/PSM/JoyDown Fix

Goodlookinguy(Posted 2013) [#1]
Edit: Mark applied the fix in v77c of Monkey X. This bug fix is no longer required.

Since the PSM target is open, free, not maintained, or whatever. I figured I'd write a little bug fix here for anyone who's using this target.

I noticed while holding down the buttons that they would act like JoyHit. So I did some research and found out that the wrong check was being made.

1) Open targets\psm\modules\native\psmgame.cs
2) Change line 104 from
GamePadButtons down=gd.ButtonsDown;

to
GamePadButtons down=gd.Buttons;

3) Save and close

That's it. It's really pretty simple. ButtonsDown checks if the buttons were pushed this update according to the SDK Docs.