I'm running Hollywood 4.5 and OS3.x in WinUAE, both joystick ports seems to work when I try some games though, but not in my code below... Do you see anything wrong in it?
Code: Select all
debugPrint("Joy start.")
Function p_CheckJoy()
p_MyState0 = JoyDir(0)
p_MyState1 = JoyDir(1)
DebugPrint(p_MyState0, p_MyState1)
EndFunction
SetInterval(1, p_CheckJoy, 40)
Repeat
WaitEvent
Forever
End()