You haven't used - "Import Pub.FreeJoy" at the start of your code.
I also found that you need to use JoyCount() to get the program to work.
This code works fine now -
I also found that you need to use JoyCount() to get the program to work.
This code works fine now -
Import Pub.FreeJoy Graphics 640 , 480 JoyCount() Repeat Cls 'Print to output area If JoyDown(3) Then Print "JoyDown" If JoyHit(4) Then Print "joyHit" Flip Until KeyDown(KEY_ESCAPE) End