diff options
author | Cameron Gutman <aicommander@gmail.com> | 2016-07-27 21:24:55 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-07-28 01:26:09 (GMT) |
commit | f712a5a05228058f6b74635546549d4a46e117fc (patch) | |
tree | 05bc3812fb025030d820836acc4b5b59d021f1f0 /drivers/input/keyboard/sh_keysc.c | |
parent | 4097461897df91041382ff6fcd2bfa7ee6b2448c (diff) | |
download | linux-f712a5a05228058f6b74635546549d4a46e117fc.tar.xz |
Input: xpad - power off wireless 360 controllers on suspend
When the USB wireless adapter is suspended, the controllers
lose their connection. This causes them to start flashing
their LED rings and searching for the wireless adapter
again, wasting the controller's battery power.
Instead, we will tell the controllers to power down when
we suspend. This mirrors the behavior of the controllers
when connected to the console itself and how the official
Xbox One wireless adapter behaves on Windows.
Signed-off-by: Cameron Gutman <aicommander@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/sh_keysc.c')
0 files changed, 0 insertions, 0 deletions