Hi Andreas, and the Hollywood folks!
Here is what I do experiencing:
I have two identical analog joypads.
Prefs/Amigainput USB interface lists the two connected gamepad.
At lowlevel settings I assigned like this:
gamepad unit 0 to Port1-Joystick
gamepad unit 1 to Port2-Joystick.
Hollywood's CountJoystick() said that there is only one joystick (returns with value 1).
Checking joyfire(0) - works with the gamepad unit 0 (Port1).
Joyfire(1) fails with cannot acquire joystick!
Joyfire(2) - works with the gamepad unit 1 (Port2).
So, it seems a bit weird.
CountJoysticks() return incorrect value on OS4
Re: CountJoysticks() return incorrect value on OS4
I have mistaken. The joypads are of digital types.lazi wrote: I have two identical analog joypads.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: CountJoysticks() return incorrect value on OS4
Then the OS4 mapping to lowlevel.library ports must somehow be messed up. Hollywood will just pass the ports to lowlevel.library so if the second joypad is available through lowlevel port 2 then OS4 seems to map it to that port... don't ask me why Maybe ask on a Hyperion forum if somebody knows...
Re: CountJoysticks() return incorrect value on OS4
Thanks, I will investigate it further.