Hi,

On Sun, 2011-09-18 at 22:39 +0100, haithem rahmani wrote:


> the current joystick input driver module is not working correctly.
> 
> 
> running "dfbinfo" on a "Logitech RumblePad 2"  I'm getting:
> 
> 
> Input (02) Joystick                        (primary joystick)
>    Type: JOYSTICK 
>    Caps: AXES BUTTONS 
>    Max. Axis: 8154629
>    Max. Button: 9715979
> 
> 
> with the attached patch I'm getting the following result:
> 
> 
> Input (02) Logitech Logitech RumblePad 2 USB  (primary joystick)
>    Type: JOYSTICK 
>    Caps: AXES BUTTONS 
>    Max. Axis: 5
>    Max. Button: 11
> 
> 
> As you can notice in the patch I did two extra things:
> 
> 
> - changed  "DFB_INPUT_DEVICE_DESC_NAME_LENGTH" from 32 to 40

I'd suggest that this array is extended some more. If 32 bytes are not
enough for some hardware, then there is likely joystick hardware out
there that will extend 40 bytes as well. Let's use 128 bytes here.

> - changed the vendor string from "unkown" to ""

I don't understand the purpose of this change. Is it really needed to
fix your problem?


Sven



_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to