Original Post
🔒 Locked
Keyboard input
Advertisement
If you only wish to check if the ESC key is down I think that initiating DirectInput is overkill. Instead, I would advice you to use this call:
You can get additional information at this page: GetAsyncKeyState Function
Don't forget to #include
if( 0x80 & GetAsyncKeyState( VK_ESCAPE ) ) // Escape key is downYou can get additional information at this page: GetAsyncKeyState Function
Don't forget to #include
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement