Skip to content

Commit

Permalink
add csr elite support
Browse files Browse the repository at this point in the history
  • Loading branch information
kozr committed Nov 21, 2021
1 parent 13a569c commit 1b794c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fanatec.rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GOTO="fanatec_end"
LABEL="fanatec_vendor"

# remove deadzone/fuzz
ATTRS{idProduct}=="0001|0004|0005|0006|0020|6204|0E03", ATTRS{idVendor}=="0eb7", RUN{program}+="/usr/bin/evdev-joystick --evdev $devnode --deadzone 0 --fuzz 0"
ATTRS{idProduct}=="0001|0004|0005|0006|0011|0020|6204|0E03", ATTRS{idVendor}=="0eb7", RUN{program}+="/usr/bin/evdev-joystick --evdev $devnode --deadzone 0 --fuzz 0"
# set access rights
SUBSYSTEM=="usb|input|hid", GROUP:="plugdev"

Expand Down
1 change: 1 addition & 0 deletions hid-ftec.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ static const struct hid_device_id devices[] = {
{ HID_USB_DEVICE(FANATEC_VENDOR_ID, CSL_ELITE_PEDALS_DEVICE_ID), .driver_data = FTEC_PEDALS },
{ HID_USB_DEVICE(FANATEC_VENDOR_ID, PODIUM_WHEELBASE_DD1_DEVICE_ID), .driver_data = FTEC_FF | FTEC_LEDS },
{ HID_USB_DEVICE(FANATEC_VENDOR_ID, CSL_DD_WHEELBASE_DEVICE_ID), .driver_data = FTEC_FF | FTEC_LEDS },
{ HID_USB_DEVICE(FANATEC_VENDOR_ID, CSR_ELITE_WHEELBASE_DEVICE_ID), .driver_data = FTEC_FF | FTEC_LEDS },
{ }
};

Expand Down
1 change: 1 addition & 0 deletions hid-ftec.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define CSL_ELITE_PS4_WHEELBASE_DEVICE_ID 0x0005
#define CSL_ELITE_PEDALS_DEVICE_ID 0x6204
#define CSL_DD_WHEELBASE_DEVICE_ID 0x0020
#define CSR_ELITE_WHEELBASE_DEVICE_ID 0x0011

#define CSL_ELITE_STEERING_WHEEL_WRC_ID 0x0112
#define CLUBSPORT_STEERING_WHEEL_F1_IS_ID 0x1102
Expand Down

0 comments on commit 1b794c4

Please sign in to comment.