When I query for joysticks on MorphOS CountJoysticks() will return 1 if no joysticks are connected, and reports 3 if 2 joysticks are present.
I even tried to disconnect both mouse and keyboard to be sure they didnt interfere.
Also in OS3.9 under WinUAE it does report 1 joystick present when none are set up.
In windows it will report correctly 0 if non are connected.
Is this the normal behaviour of CountJoysticks() when used on MorphOS, or could it be that my settings are somewhat messed up?
CountJoysticks() reports one joystick to much
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: CountJoysticks() reports one joystick to much
That's more of a feature The problem is that lowlevel.library always seems to report the presence of a joystick no matter if one is connected or not and there is no real way for Hollywood to do some better diagnosis here.
Re: CountJoysticks() reports one joystick to much
Is this consistent for all Amiga systems?
So that I can use a workaround by simply using -1 when an Amiga system is detected?
So that I can use a workaround by simply using -1 when an Amiga system is detected?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact: