Skip to main content
gamedev.net
🔒 Locked

Keyboard Control

Started by ceosion 0 replies 400+ views
Original Post
ceosion
ceosion
Alrighty, does anyone have a solution to gaining access to all the keyboard keys without the use of DirectInput or anything else like that? (Hopefully pure C++ DOS based) I tried to use getch() to manually map the ASCII Keycodes, but appearntly ASCII either doesn''t cover keys like Enter, CTRL, ALT, ARROW KEYS, F1, F2, etc., or getch() just doesn''t recognize when they are being pressed. So can anyone help me with this problem?
"The truth hurts for a moment. A lie hurts for a long time." - Dean C. P.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.