Skip to content

Commit

Permalink
FFB not working for Wingman Formula Force USB #429
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Laurendeau committed Feb 1, 2017
1 parent e6aaf0e commit 7b3bb43
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/haptic/ff_lg.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ void ff_lg_init_static(void)
static inline int is_old_lr_coef_wheel(unsigned short pid) {

switch(pid) {
case USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE:
case USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE_GP:
case USB_PRODUCT_ID_LOGITECH_DRIVING_FORCE:
return 1;
Expand All @@ -201,7 +200,6 @@ static inline int is_old_lr_coef_wheel(unsigned short pid) {
static inline int is_hr_wheel(unsigned short pid) {

switch(pid) {
case USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE:
case USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE_GP:
return 0;
default:
Expand All @@ -227,7 +225,6 @@ static struct {
unsigned short product;
unsigned short range;
} wheel_ranges[] = {
{ USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE, 200 },
{ USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE_GP, 200 },
{ USB_PRODUCT_ID_LOGITECH_DRIVING_FORCE, 200 },
{ USB_PRODUCT_ID_LOGITECH_MOMO_WHEEL, 270 },
Expand Down Expand Up @@ -885,7 +882,6 @@ int ff_lg_get_report(int device, s_ff_lg_report * report) {

// this table lists the devices that support the "classic format" protocol
static unsigned short ff_lg_wheel_products[] = {
USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE,
USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE_GP,
USB_PRODUCT_ID_LOGITECH_DRIVING_FORCE,
USB_PRODUCT_ID_LOGITECH_MOMO_WHEEL,
Expand Down Expand Up @@ -955,7 +951,6 @@ uint16_t ff_lg_get_spring_deadband(unsigned short pid, unsigned char d, unsigned

uint16_t deadband;
switch(pid) {
case USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE:
case USB_PRODUCT_ID_LOGITECH_FORMULA_FORCE_GP:
case USB_PRODUCT_ID_LOGITECH_DRIVING_FORCE:
case USB_PRODUCT_ID_LOGITECH_MOMO_WHEEL:
Expand Down

0 comments on commit 7b3bb43

Please sign in to comment.