]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - query wireless controller state at init
authorPavel Rojtberg <rojtberg@gmail.com>
Sat, 10 Oct 2015 16:36:17 +0000 (09:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Oct 2015 18:27:42 +0000 (11:27 -0700)
commitceb26ad7e41e95c5e8fbc620533cd3e2ee9c4099
tree33604411a8a2601a87320ccdce08ef4d2d474b70
parent5c9c2b6ea2be06ba884b8e303aaf693b3b55c4e1
Input: xpad - query wireless controller state at init

When we initialize the driver/device, we really don't know how many
controllers are connected.  So send a "query presence" command to the
base-station. (Command discovered by Zachary Lund)

Presence packet taken from:

https://github.com/computerquip/xpad5

Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c