SLotman

There's probably an easy answer to this, but I couldnt find anywhere how to read the state of the pause/break key!

Looking at the docs I couldnt see anything like Keys.Pause or Keys.Break or any mention to it... so how can the Pause/break key state can be read



Re: XNA Game Studio Express Reading Pause/Break Key?

Jim Perry

Doesn't look like it can be using the XNA Keyboard class. May be an oversight. You might want to report it.




Re: XNA Game Studio Express Reading Pause/Break Key?

errolian

Why not just set your own Pause key (like most of us do) - and add it in the game menu/instructions




Re: XNA Game Studio Express Reading Pause/Break Key?

Fluxtah

have you tried running in debug and catching the key press to see what enum value it corresponds to

edit: never mind I tried, your right, no response.





Re: XNA Game Studio Express Reading Pause/Break Key?

SLotman

I filed it as a bug report, hope they manage to get some workaround...

https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=252884&SiteID=226&wa=wsignin1.0