summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/rotary_encoder.c
diff options
context:
space:
mode:
authorCameron Gutman <aicommander@gmail.com>2016-07-27 14:24:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-07-27 18:26:09 -0700
commitf712a5a05228058f6b74635546549d4a46e117fc (patch)
tree05bc3812fb025030d820836acc4b5b59d021f1f0 /drivers/input/misc/rotary_encoder.c
parent4097461897df91041382ff6fcd2bfa7ee6b2448c (diff)
downloadblackbird-op-linux-f712a5a05228058f6b74635546549d4a46e117fc.tar.gz
blackbird-op-linux-f712a5a05228058f6b74635546549d4a46e117fc.zip
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/misc/rotary_encoder.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud