Re: [PATCH RESEND v2] HID: winwing: Enable rumble effects

From: Ivan Gorinov

Date: Fri Feb 27 2026 - 18:10:36 EST


On 2026-02-26 06:58, Jiri Kosina wrote:

On Thu, 26 Feb 2026, Ivan Gorinov wrote:

Enable rumble motor control on TGRIP-15E and TGRIP-15EX throttle grips
by sending haptic feedback commands (EV_FF events) to the input device.

Signed-off-by: Ivan Gorinov <linux-kernel@xxxxxxxxxxxxxx>
[ ... snip ... ]

+
+ buf[0] = 0x02;
+ buf[1] = 0x03;
+ buf[2] = 0xbf;
+ buf[3] = 0x00;
+ buf[4] = 0x00;
+ buf[5] = 0x03;
+ buf[6] = 0x49;
+ buf[7] = 0x00;
+ buf[8] = m;
+ buf[9] = 0x00;
+ buf[10] = 0;
+ buf[11] = 0;
+ buf[12] = 0;
+ buf[13] = 0;

Do these magic numbers have any real meaning, or is it just mimicking
observed binary stream?
It'd be nice to have at least short comment explaining it.

Mimicking USB requests captured by usbmon when the vendor's app is running in a Win10 VM (Qemu).
I will add some comments.