🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
another Q, about keyboard input in dos
im using turbo c++ for dos, v.3.0( i think...) i was wondering how you could trap multiple key presses, like up and ''a'' or something like that. i know you can look at port 60h to get the scancode of the last key pressed, but i need to know what keys are pressed, even if there is more than one down at a time... plz help, if you can. thanks.
In order to check for multiple keys down, you really need to rewrite the DOS keyboard interrupt handler. Check out LaMothe''s old DOS game programming books for details.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement