Does your packaging say Sony on it?
Mine says “Super Joybox 5”, now that I look at it, so we’re dealing with
the same device.
I don’t seem to have this problem on Mac OS X Panther
10.3.3 or 10.3.4. Is it possible that Mac OS X deals with
this on its own?
I’m really not certain at this point… Once David reports back with
respect to whether my patch worked for him, or not, we may know more.
It’s possible that somewhere between the adapter and jstest, the linux
HID subsystem is mapping things differently for the two of us. I really
hope this isn’t the case.
Could I see your code?
When I wrote this I was considering the possibility
that YOU were doing something wrong, not SDL. A
thousand apologies.
I still may be doing something wrong, with respect to my kernel
configuration, even though the adapter and it’s 2-port little brother
"work".
Hmm, does this source code also apply to other
platforms (as it’s in the linux sub directory.)
My code only affects the linux port.
On a side-note, is it really the responsibility of a
product like SDL to handle this sort of thing?
I agree with you, that these fixes really should go as close to the
joystick hardware as possible. I doubt that the hardware provides any
interface to modify its firmware, if it even has firmware. The only
alternative would be sticking a fix into the linux kernel. Glancing over
linux/drivers/usb/hid*, I don’t see any device-specific code, however…
Does it belong in SDL? I’m not certain, but a (different) fix for this
very device has already been in cvs for a while. If we decide that this
is the proper role of SDL, we may also want to consider whether it would
be correct to map all Playstation2 controllers to the same axes /
buttons. From a user’s perspective, I would love this, since it means
that any PS2=>USB converter would work equally well, with no extra
configuration on my part.
I’m not advocating this directly, but I thought I’d at least bring it up
for discussion.
-Chris
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040624/bc1e1ef7/attachment.pgp