Blitz (24/176)

From:James L Boyd
Date:6 Oct 2000 at 07:52:26
Subject:Re: Amiga mode RawStatus?

> Is there a way to find out what key (including qualifier keys) is being
> pressed at any given time in Amiga mode? I want to know when a shift key
> is being held down, even if my window isn't active.

Try this...can't remember quite if that's qhat you're asking for! A
StatsFuncs Production :)

Function.w KeyCodeR {}
Function Return Peek($bfec00) AND $ff
End Function

; demo :

; IMPORTANT!!! Click outside the Blitz CLI window before
; pressing any keys, or you'll just stop the CLI output!

; press ESCAPE to stop!

Repeat
VWait
e.w=KeyCodeR {}
NPrint e
Until e=117
End

See ya,



James L Boyd (Member of DNRC),
http://www.thesurfaces.net/
http://www.blitzbasic.com/
http://www.dundeemusic.co.uk/
Connected from Fife, Scotland.
Death to the Pixies!


---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie