Recording keyboard typings

Archives Forums/BlitzPlus Programming/Recording keyboard typings

Starwar(Posted 2007) [#1]
I want to recorde what keys were pressed. But the keystorke event and the Getkey/Keydown/... Functions do not work when there is no BlitzBsic-Window. any idea? Thanks


b32(Posted 2007) [#2]
You could maybe use the GetASyncKeyState command ? It is accessible via a .decls. It returns the global keyboard events in Windows.
In this topic, there is a decls for it:
http://www.blitzbasic.com/Community/posts.php?topic=30511