Joypad Problems

BlitzMax Forums/BlitzMax Bug Reports/Joypad Problems

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.

Hmm...That's what I get for not testing code prior to posting. ;o)

The code I posted in the previous thread no longer works either. Looks like something has changed along the way.

However, whilst the FreeJoy commands probably *should* be returning null values for free ports, you should really be using something like...
Graphics 640,480

While Not KeyHit(KEY_ESCAPE)
	Cls
	
	For loop=0 Until JoyCount()
		DrawText JoyDown(1, loop), 0, loop * 16
	Next
	
	Flip
EndWhile
...anyway. Unless there's a reason you *need* to be reading from unused ports?


Its a problem mainly due to the different number of controllers that each OS supports.
Not sure what that means exactly.