how to check if any key was pressed

BlitzMax Forums/BlitzMax Beginners Area/how to check if any key was pressed

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

True, but if a player is asked to press any key, which ones do you think they tend to hit? Space and Enter are the only two that tend to get pressed, and if they have the hands over the keyboard at the time it's highly unlikely they'll be hovering over Shift or Ctrl.

It basically boils down to whether you want to check EVERY key or the majority of them, knowing that it's pretty much covered. Either way, then both solutions have just been posted.