home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exbas.arj
/
TEMP
/
14-13.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-01-20
|
380b
|
21 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
DIM AuxCode AS STRING*1
DIM KeyCode AS STRING*1
Status = FGinitjoy(1)
Status = FGinitjoy(2)
WHILE INKEY$ = ""
FGintjoy 1, KeyCode, AuxCode
PRINT USING "1: ## ##"; ASC(KeyCode), ASC(AuxCode)
FGintjoy 2, KeyCode, AuxCode
PRINT USING "2: ## ##"; ASC(KeyCode), ASC(AuxCode)
PRINT
FGwaitfor 9
WEND
END