summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVicki Pfau <vi@endrift.com>2026-08-11 18:13:57 -0700
committerJiri Kosina <jkosina@suse.com>2026-08-14 15:11:16 +0200
commitcfe8ee25fe1223d6a14000d7837b8bdee5c9eb21 (patch)
tree0ce900dc8d424d701f2d2ab04e5a464d998b5314 /tools/perf/scripts/python/stackcollapse.py
parentde1d341b9b3ec9655f31fb8b44f784cca5e670ad (diff)
HID: steam: Zero out inputs when disabling gamepad mode
When gamepad mode is disabled the gamepad input devices will stop receiving updates. However, in the case where there are buttons still pressed this will appear as an indefinitely-held button. Instead we should zero out the inputs to make it look like things are all released. We do the same thing for gyroscope inputs to make sure it doesn't look like it's endlessly rotating, but we freeze the accelerometer input since zero isn't a neutral input on the surface of the Earth. Signed-off-by: Vicki Pfau <vi@endrift.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions