summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorRodrigo Rivas Costa <rodrigorivascosta@gmail.com>2018-10-14 19:36:43 +0200
committerSiarhei Vishniakou <svv@google.com>2019-11-08 10:20:12 -0600
commit78e7b788f1af4a0d04e9a5a728b1c520ec01ce9d (patch)
treeaa48f725427f74303444373d72a7c155e04d7d9c /net/ipv4/tcp_ipv4.c
parent9403c8f430c498a321fd66fb60c12789c84e7c79 (diff)
UPSTREAM: HID: steam: remove input device when a hid client is running.
Previously, when a HID client such as the Steam Client was running, this driver disabled its input device to avoid doubling the input events. While it worked mostly fine, some games got confused by the idle gamepad, and switched to two player mode, or asked the user to choose which gamepad to use. Other games just crashed, probably a bug in Unity [1]. With this commit, when a HID client starts, the input device is removed; when the HID client ends the input device is recreated. [1]: https://github.com/ValveSoftware/steam-for-linux/issues/5645 (cherry-picked from commit 385a4886778f6d6e61eff1d4d295af332d7130e1 ("HID: steam: remove input device when a hid client is running")) https://github.com/torvalds/linux/commit/385a4886778f6d6e61eff1d4d295af332d7130e1 Bug: 136263708 Signed-off-by: Rodrigo Rivas Costa <rodrigorivascosta@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Siarhei Vishniakou <svv@google.com> Change-Id: I8b93bb46c508e44d275168933b53ad738795d511
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions