Subject: Re: USB joystick can't work with xmame-0.56.2 correctly
To: Lennart Augustsson <firstname.lastname@example.org>
From: Rui-Xiang Guo <email@example.com>
Date: 01/09/2002 02:25:05
On Sun, Jan 06, 2002 at 09:33:29PM +0800, Rui-Xiang Guo wrote:
> > I did some changes in the code that determines the sign of a value in linusbhid,
> > maybe it's wrong. (The spec says nothing about sign.) What are the min and
> > max values?
> here are their value:
> logical_minimum = -128, logical_maximum = 127
> physical_minimum = 0, physical_maximum = 255
Hmm, I tried to track the hid_get_data() return from my gamepad.
I found this result:
0 -128 -1
These values map to the X and Y axis.
Seems to a bit strange. Have any idea?