On Fri, Oct 26, 2001 at 03:06:16PM -0700, Greg KH wrote:
> Hi,
> 
> Here's a patch against 2.4.13-ac2 that fixes the usb joystick hat
> entries.  This fix is in 2.4.14-pre2.
> 
> thanks,
> 
> greg k-h
> 
> 
> diff --minimal -Nru a/drivers/usb/hid-input.c b/drivers/usb/hid-input.c
> --- a/drivers/usb/hid-input.c Fri Oct 26 14:11:33 2001
> +++ b/drivers/usb/hid-input.c Fri Oct 26 14:11:33 2001
> @@ -61,7 +61,7 @@
>  static struct {
>       __s32 x;
>       __s32 y;
> -}  hid_hat_to_axis[] = {{ 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 
>0}, {-1,-1}, {0,0}};
> +}  hid_hat_to_axis[] = {{0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 
>1}, {-1, 0}, {-1,-1}};
>  
>  static void hidinput_configure_usage(struct hid_device *device, struct hid_field 
>*field, struct hid_usage *usage)
>  {

Are you sure about this one? This has been changed back and forth about
ten times now.

-- 
Vojtech Pavlik
SuSE Labs

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to