Skip to content

HID: flydigi: add support for vader 5 pro

Denis Benato linux-input lkml 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesNew
  2. v42 patches 0 repliesSuperseded
  3. v32 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Changes in v5 from the cover letter

- HID: flydigi: add support for vader 5 pro
- Fix reported security issues

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2HID: flydigi: add support for vader 5 prodrivers/hid/Kconfig drivers/hid/Makefile drivers/hid/hid-flydigi.c +1 more+1171 -00 replies
2/2Input: xpad - introduce a static table to ignore devicesdrivers/input/joystick/xpad.c+24 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAdolfo Rodrigues
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] HID: flydigi: add support for vader 5 pro

Hi all,

A few days ago I was contacted by a friend of mine who was having his share of issues with his Flydigi Vader 5 Pro controller: specifically the rumble didn't work correctly, alongside other issues that were partially solved by using the linked project.

However at the current time his main interest is in Steam support and the driver was working in everything but Steam, which insists on using the controller in hid mode rather than evdev mode by default, and when in evdev mode it is disregarding additional buttons and the gyroscope.

So we ended up with a perfectly working driver for the controller, that at the cost of gyroscope support and back buttons has rumble working correctly in Steam.

Since the driver works in basically everything that is not Steam, including the browser, I decided to submit it anyway as someone else will surely be interested in using some other way that is not the aforementioned program.

To make optimal use of this device the xpad driver should not bind to the controller, and this is the case for more than just this controller as Derek told me, so I added some basic infrastructure to use the best available driver for the device.

I also want to thank the original authors that did the work of implementing the controller the first time (in SDL).

Best regards,
Denis Benato

Link v1: https://lore.kernel.org/all/[email protected]/
Link v2: https://lore.kernel.org/all/[email protected]/
Link v3: https://lore.kernel.org/all/[email protected]/
Link v4: https://lore.kernel.org/all/[email protected]/

v2:
- HID: flydigi: add support for vader 5 pro
- Solve flagged vulnerabilities
v3:
- HID: flydigi: add support for vader 5 pro
- Solve the flagged vulnerability

v4:
- HID: flydigi: add support for vader 5 pro
- Fix rumble possibly getting overwhelmed
- Implement battery reporting
- Improve imu reporting

v5:
- HID: flydigi: add support for vader 5 pro
- Fix reported security issues

Denis Benato (2):
HID: flydigi: add support for vader 5 pro
Input: xpad - introduce a static table to ignore devices

 drivers/hid/Kconfig           |    8 +
 drivers/hid/Makefile          |    1 +
 drivers/hid/hid-flydigi.c     | 1159 +++++++++++++++++++++++++++++++++
 drivers/hid/hid-ids.h         |    3 +
 drivers/input/joystick/xpad.c |   24 +
 5 files changed, 1195 insertions(+)
 create mode 100644 drivers/hid/hid-flydigi.c
Signature · 1 line
2.47.3