Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

OneZero64

Reading in keystrokes in Borland C++ 4.52 w/o waiting

This topic is 6914 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am making a Pac-Man game (DOS) in my CS class (high school) using BGI. I am having trouble finding out how to read in keystrokes for the arrow keys, etc. as the program runs (no waiting for a keypress). I know it involves the BIOS keyboard calls somehow to read what is in the keyboard buffer, but I''m not sure how to read in the keystrokes in the program. Any help would be very greatly appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Mabey you have the same compiler that I used to, if you do then... If you use the IDE under windows, and compile from there, you should know that the program generated is easywin(mabey you do know this and don''t use it, in that case just ignore this post). If it is you could use some windows functions to hobnail this problem. I don''t know any off hand but I know if you look around gamedev a little while you''ll find them.

-=CF=-

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!