JoyHit broken in Vista?

BlitzMax Forums/BlitzMax Programming/JoyHit broken in Vista?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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 -

 
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