KeyHit()
Blitz3D Forums/Blitz3D Beginners Area/KeyHit()
| ||
I am writing code for redefining a control set and came across a problem/error?While Not KeyHit(1) For cnt=2 To 210 If KeyHit(cnt) Then Print cnt Next Wend It all seems fine until I try the Right-Alt key. It seems to alternate between 184(RALT) and 29(Left Control). Either this is a bug...or my keyboard is up the spout...or it's meant to happen. Which is it? |
| ||
Thanks Malice...got your code from the bugs section...:) |
| ||
I used to think this was a bug, but I realised that it is in fact because right-Alt (Alt-Gr) key is actually the equivalent of pressing CTRL & Alt together. It's still awkward though. |