[Type
])
Type | int。取得情報のタイプ番号(0〜2)。
フルスクリーンモードでは、1、2 は同じ値が取得される←¶ |
CH=G@SETUP(640,480,8,1) LOOP G@CHRCLEAR(CH) I@MSGET(0) G@PRINT(CH,0,0 ,"相対値 X = "+STR(I@MSPOS(0))) G@PRINT(CH,0,16 ,"相対値 Y = "+STR(I@MSPOS(1))) G@PRINT(CH,0,32 ,"相対値 Z = "+STR(I@MSPOS(2))) I@MSGET(1) G@PRINT(CH,0,64 ,"スクリーン X = "+STR(I@MSPOS(0))) G@PRINT(CH,0,80 ,"スクリーン Y = "+STR(I@MSPOS(1))) G@PRINT(CH,0,96 ,"スクリーン Z = "+STR(I@MSPOS(2))) I@MSGET(2) G@PRINT(CH,0,128,"ウインドウ X = "+STR(I@MSPOS(0))) G@PRINT(CH,0,144,"ウインドウ Y = "+STR(I@MSPOS(1))) G@PRINT(CH,0,160,"ウインドウ Z = "+STR(I@MSPOS(2))) FOR I=0 TO 3 G@PRINT(CH,I*16,200,STR(I@MSBTN(I))) NEXT G@FLIP() ENDLOOP