Nupedia
Declare Function DAPI_GetDeviceCount Lib "UsbI2cIo.dll" ( _
ByVal lpsDevName As String) _
As Byte
GetDeviceCount =
Win32API.new("usbi2cio", "DAPI_GetDeviceCount", "P", "L")
num = GetDeviceCount.call(DEV_SYM_NAME)
require 'sgl'window 100,100 # 100x100background 100,100,0 # color 0,0,100 # rect 20,20,80,80 # wait
require 'sgl'
def setupwindow -200,-200,200,200
end
def displayx = mouseXy = mouseYline -200, -200, x, yline 200, -200, x, yline -200, 200, x, yline 200, 200, x, y
end
mainloop