Another batch of improvements/fixes/updates to the hid-pidff driver. A lot of
code quality improvements with probably more to come as we better understand the
driver and strive to simplify it's inner workings. I think we're currently past
75% of touchups + Oleg is working on some compatibility changes for Simagic
support in a "pass-through" mode.
Direction fix only for conditional effects fixes FFB in Forza games on Moza.
I removed Anssi's email from the "welcome message" that appears on succesful
PID init to make sure people will look for LKML to send in bug reports.
Changes in v2:
- Added changelogs to commits changing debug messages
Tomasz Pakuła (17):
HID: pidff: Use direction fix only for conditional effects
HID: pidff: Remove unhelpful pidff_set_actuators helper
HID: pidff: Remove unneeded debug
HID: pidff: Use ARRAY_SIZE macro instead of sizeof
HID: pidff: Treat PID_REQUIRED_REPORTS as count, not max
HID: pidff: Better quirk assigment when searching for fields
HID: pidff: Simplify HID field/usage searching logic
HID: pidff: Add support for AXES_ENABLE field
HID: pidff: Update debug messages
HID: pidff: Rework pidff_upload_effect
HID: pidff: Separate check for infinite duration
HID: pidff: PERMISSIVE_CONTROL quirk autodetection
HID: pidff: Remove Anssi's email address from info msg
HID: pidff: Define all cardinal directions
HID: pidff: clang-format pass
HID: universal-pidff: clang-format pass
HID: pidff: Reduce PID_EFFECT_OPERATION spam
drivers/hid/hid-universal-pidff.c | 57 +--
drivers/hid/usbhid/hid-pidff.c | 711 +++++++++++++++++-------------
drivers/hid/usbhid/hid-pidff.h | 2 +-
3 files changed, 439 insertions(+), 331 deletions(-)
--
2.50.1