]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: xpad - allow delaying init packets
authorVicki Pfau <vi@endrift.com>
Tue, 13 May 2025 22:53:59 +0000 (15:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 17 May 2025 01:15:53 +0000 (18:15 -0700)
commit036ec442510b04c8740ec6c2d9e995d25719535f
treeec4f7b3f5720fa8ebafdd7bb0933877462827489
parentd51b9d81f7883f526b26e3ab903e646274aebeb1
Input: xpad - allow delaying init packets

Some Xbox One controllers will only start processing the init packets after
sending the GIP announce packet. While most controllers send this packet
immediately, others will delay for some time, e.g. if a dongle needs to connect
to an actual controller first. In those cases, we want to delay until we
receive the announce packet before sending the init sequence.

Signed-off-by: Vicki Pfau <vi@endrift.com>
Link: https://lore.kernel.org/r/20250513225411.2718072-2-vi@endrift.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c