25 Sep, 2012

1 commit

  • Range limiting command for the Driving Force Pro wheel is only a FF_SPRING
    effect so that the wheel creates resistance when the user tries to turn it past
    the limit. It is however possible to overpower the FFB motors quite easily which
    leads to the X axis value exceeding the expected limit. This confuses
    games which dynamically adjust calibration using the highest/lowest min and max
    values reported by the wheel. Joydev device driver also doesn't take in account
    any changes in an axis range after the joystick device is created.

    This patch recalculates received ABS_X axis value so it is always in
    range where 0 is the left limit and 16383 the right limit.
    Logitech driver for Windows does the same thing. As for any concerns about
    possible loss of precision, I compared a large set of raw/adjusted values
    generated by "mult_frac" to values returned by the Windows driver and I got
    a 100% match.

    Other Logitech wheels will probably need a similar fix, but I currently lack
    the information needed to write one.

    Signed-off-by: Michal Malý
    Signed-off-by: Jiri Kosina

    Michal Malý
     

03 Apr, 2012

2 commits


04 Aug, 2011

2 commits

  • The description of lg4ff driver has to be changed to reflect the fact that the
    driver now handles a lot more Logitech wh the Wii. Entry in Kconfig has been
    renamed to LOGIWHEELS_FF

    Signed-off-by: Michal Malý
    Signed-off-by: Simon Wood
    Signed-off-by: Jiri Kosina

    Michal Malý
     
  • Wheel range of certain Logitech wheels - namely Driving Force GT, Driving Force
    Pro, G25 and G27 can be adjusted. Minimu is 40 degrees, maximum 900. DFGT, G25
    and G27 all use a common command, DFP uses another one. Range can be set from
    userspace by writing to
    "/sys/module/hid_logitech/drivers/hid:logitech/range". The driver use list
    to store range of each connected wheel; it's not possible to use driver_data in
    hid_device struct as it's already b hig-lg driver.

    Signed-off-by: Michal Malý
    Signed-off-by: Simon Wood
    Signed-off-by: Jiri Kosina

    Michal Malý
     

22 Sep, 2010

1 commit

  • The following patch adds support for the Logitech Speed Force Wireless gaming
    wheel. Originally designed for the WII console. Details on the protocol:

    http://wiibrew.org/wiki/Logitech_USB_steering_wheel

    This patch relies on previous patch:
    "Don't Send Feature Reports on Interrupt Endpoint"

    Logitech as produce a very similar wheel for the PS2/PS3, it is expected that
    this patch could also support the PS2/PS3 wheel if the USB ID's are added and
    (if required) the HID descriptor is modified.

    Signed-off-by: Simon Wood
    Signed-off-by: Jiri Kosina

    Simon Wood
     

03 Feb, 2010

1 commit


13 Jan, 2010

1 commit

  • Implements a new USB-HID for Force Feedback based on the normal
    Logitech Force Feedback code and FF-Memless.

    Currently only supports the FF_CONSTANT effect although the joystick
    appears to support additional non-standard ones.

    Signed-off-by: Gary Stein
    Signed-off-by: Jiri Kosina

    Gary Stein
     

12 Dec, 2009

1 commit


15 Oct, 2008

1 commit