Monogame: GamePadState.PacketNumber stays 0 even when input is working.

Created on 29 Sep 2017  路  6Comments  路  Source: MonoGame/MonoGame

Only issue I could find that might pertain is https://github.com/MonoGame/MonoGame/issues/4002

I've set up breakpoints on GamePadState.GetButtonPressed(Buttons.A) and it returns true but PacketNumber never updates.

Input

Most helpful comment

Yea, I never got around to implementing this since SDL does not posses a similar property (we could technically just increase PacketNumber on any gamepad event).

All 6 comments

@monkeyharhar - What platform are you running on? If Windows then are you using DesktopGL or Windows DirectX?

Oops, sorry, I should have specified. I am running on DesktopGL.

Yea, I never got around to implementing this since SDL does not posses a similar property (we could technically just increase PacketNumber on any gamepad event).

@cra0zy Any fix would be great! I am currently trying to reference PacketNumber to detect any input changes from a GamePad and as an early out in my Player input management code.

Still not working on DesktopGL, add this to the documentation or fix this please.

Fixed in #6760.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Legendree picture Legendree  路  3Comments

ryancheung picture ryancheung  路  4Comments

Grabiobot picture Grabiobot  路  5Comments

rds1983 picture rds1983  路  5Comments

bjornenalfa picture bjornenalfa  路  5Comments