TGC Codebase Backup



How to test all the keys on the key board ! by Redlaser

19th Jun 2007 10:47
Summary

This will test the key board and type the number of the key to the screen that has ether been pressed or is being pressed. for the variable (scan) you can chose any thing not just



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    do 
scan = scancode 
print scan
wait key
if space key = 1
cls
endif
loop