Subject: Re: SDL Joystick in xmame
To: Dieter Baron <dillo@danbala.ifoer.tuwien.ac.at>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
List: tech-pkg
Date: 03/22/2005 12:20:26
On Tue, 22 Mar 2005 16:00:44 +0100
Dieter Baron <dillo@danbala.ifoer.tuwien.ac.at> wrote:
>
>   Could you please mail me the output of
> 	usbhidctl -r -f /dev/uhid0
> 
> 						thanks,
> 						dillo

Here it is:

$ usbhidctl -r -f /dev/uhid0
Report descriptor:
Collection page=Generic_Desktop usage=Joystick
Collection page=0x0000 usage=0x0000
Input   size=8 count=1 page=Generic_Desktop usage=X, logical range 0..255, physical range 0..255
Input   size=8 count=1 page=Generic_Desktop usage=X, logical range 0..255, physical range 0..255
Input   size=8 count=1 page=Generic_Desktop usage=X, logical range 0..255, physical range 0..255
Input   size=8 count=1 page=Generic_Desktop usage=Y, logical range 0..255, physical range 0..255
Input   size=8 count=1 page=Generic_Desktop usage=Undefined, logical range 0..255, physical range 0..255
Input   size=4 count=1 page=Generic_Desktop usage=Undefined, logical range 0..7, physical range 0..315, unit=0x14 exp=0
Input   size=1 count=1 page=Button usage=Button_1, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_2, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_3, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_4, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_5, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_6, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_7, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_8, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_9, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Button usage=Button_10, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
Input   size=1 count=1 page=Microsoft usage=0x0001, logical range 0..1, physical range 0..1
End collection
Collection page=0x0000 usage=0x0000
Output  size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255, physical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255, physical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255, physical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255, physical range 0..255
End collection
End collection
Total   input size 8 bytes
Total  output size 4 bytes
Total feature size 0 bytes

Regards, C├ęsar