1.

Solve : Ctrl?

Answer»

Is there any other WAYS to detect key presses besides kbhit(). kbhit() doesn't detect anything when certain keys are pressed.(Ctrl, Alt, Fn etc.)Every key has a scan code. Could you not SIMPLY trap scan codes in your program? KBHIT is a C language include (conio.h); other languages use different techniques.

Posted in the DOS forum, I doubt you could get this information in batch language however the early versions of MS-DOS had a driver CALLED ansi.sys which might prove helpful.

Good luck.



Discussion

No Comment Found