Original Post
🔒 Locked
Keyboard input
Advertisement
I don''t know much about DirectX, but maybe just try
"if(keydown())"
I''m not positive how the function works, but just from what I can gather from that little snippet of code you posted, it seems that it just scans the keyboard and if it detects the particualar key that specified being pressed it completes the action specified. So with that line of thinking in mind, if you don''t specify a particular return from that function, just "a" return then it should work.
Correct me if I''m wrong guys, I think that should work though...
"if(keydown())"
I''m not positive how the function works, but just from what I can gather from that little snippet of code you posted, it seems that it just scans the keyboard and if it detects the particualar key that specified being pressed it completes the action specified. So with that line of thinking in mind, if you don''t specify a particular return from that function, just "a" return then it should work.
Correct me if I''m wrong guys, I think that should work though...
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement