paroj / xpad

Linux Kernel Driver for the Xbox/ Xbox 360/ Xbox One Controllers
823 stars 182 forks source link

Trigger rumble support on Xbox One controllers #236

Open motolav opened 1 year ago

motolav commented 1 year ago

There was someone that submitted patches to the kernel but they ended up unnoticed. It's not like xpadneo's implementation of trigger rumble but allows userspace to control the trigger rumble motors

These patches require changes outside of xpad.c to include/uapi/linux/input.h and drivers/input/ff-memless.c

[PATCH 0/4] input: Implement an API for trigger rumble motors [PATCH 1/4] input: uapi: Add trigger_left and trigger_right to ff_rumble_effect struct [PATCH 2/4] input: ff-memless: Add trigger left/right in ml_combine_effects [PATCH 3/4] input: xpad: Implement trigger rumble for Xbox One controllers [PATCH 4/4] input: hid-microsoft: Implement trigger rumble for Xbox One S over bluetooth

paroj commented 1 year ago

invalid as

These patches require changes outside of xpad.c