Keydown/Keyhit don't detect Print Screen!

Archives Forums/Blitz3D Bug Reports/Keydown/Keyhit don't detect Print Screen!

SLotman(Posted 2008) [#1]
Running this code:

While Not KeyHit(1)
  For f=1 To 255
      If KeyHit(f) Then Print "you pressed key: " + f
  Next
Wend


Every key I hit on the keyboard display a scancode... except for Prt Sc/SysRq!

Tested both on XP Home and 98, neither prints anything when I hit Print Screen.


ubergeek(Posted 2008) [#2]
Doesn't work here either.
In the command reference->Scancodes dir, sysReq came up as having a scancode of 183.

Maybe it's because it's a Windows key?
Can you get to that key in any other language?


KillerX(Posted 2008) [#3]
http://www.blitzbasic.com/Community/posts.php?topic=75335


ubergeek(Posted 2008) [#4]
If there's no way to get it, then why give it a scancode?
That seems more counterintuitive than usual. :-)