Re: [hatari-users] Minor Problems with Falcon Emulation (joypad issue)

[ Thread Index | Date Index | More Archives ]

I have a Raphnet Jag pad to usb adapter. Unfortunately it seems that the Jag Pad is only supported as a standard joystick with 1 fire button (although hatari does seem to register a second button (b or c. I can't remember) as space).

On Sat, Aug 9, 2014 at 3:36 PM, Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:

On lauantai 09 elokuu 2014, Thomas Huth wrote:
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> > On perjantai 08 elokuu 2014, Ingo Schmidt wrote:
> > > - JoyPad: I have a USB GamePad plugged in which works nicely in
> > > almost all situations, except in one game: Tautology2. Hitting the
> > > fire button ends the round (doesn't crash). The in-game docs say,
> > > that hitting the "Options" button will end the current round. So I
> > > have the feeling, that somehow not only the "fire" button is
> > > triggered, but also the "Options" button.
> >
> > Did this happen just with PAD A, but not with PAD B?
> >
> > I don't know how they're supposed to work, but code for
> > PAD A in Hatari looks buggy[1].  Does the attached patch fix
> > your problem?
> That code looks really wrong, I think your patch is right, Eero.
> It should be ok to commit it.

Commited.  Any comments on the Joy_StePadMulti_ReadWord() code,
do you know how it should work and does it look correct?

(masks used for nData between joy A & B look suspicious.)

        - Eero

Mail converted by MHonArc 2.6.19+