|
-
Feb 3rd, 2001, 04:50 PM
#1
Thread Starter
Frenzied Member
is there a way to check for keypresses without having it ask for input?
-
Feb 3rd, 2001, 06:05 PM
#2
Monday Morning Lunatic
You mean just track every time someone presses a key, rather than wait for them to press it?
You could use GetAsyncKeyState to find if a key IS pressed. Alternatively a keyboard hook might be the answer.
There are examples of both in other threads.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|