summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorVicki Pfau <vi@endrift.com>2025-01-15 17:28:16 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-22 12:56:46 -0700
commit6bbf1b19141db4c5ae6bc20697fafa4cf08472eb (patch)
tree419c27bd383b932d9a1bd6210d4913727e35a180 /drivers/usb
parent920ea73215dbf948b661b88a79cb47b7f96adfbd (diff)
downloadlinux-6bbf1b19141db4c5ae6bc20697fafa4cf08472eb.tar.gz
linux-6bbf1b19141db4c5ae6bc20697fafa4cf08472eb.tar.bz2
linux-6bbf1b19141db4c5ae6bc20697fafa4cf08472eb.zip
HID: hid-steam: Fix issues with disabling both gamepad mode and lizard mode
[ Upstream commit 05c4ede6951b5d8e083b6bb237950cac59bdeb92 ] When lizard mode is disabled, there were two issues: 1. Switching between gamepad mode and desktop mode still functioned, even though desktop mode did not. This lead to the ability to "break" gamepad mode by holding down the Options key even while lizard mode is disabled 2. If you were in desktop mode when lizard mode is disabled, you would immediately enter this faulty mode. This patch properly disables the ability to switch between gamepad mode and the faulty desktop mode by holding the Options key, as well as effectively removing the faulty mode by bypassing the early returns if lizard mode is disabled. Reported-by: Eugeny Shcheglov <eugenyshcheglov@gmail.com> Signed-off-by: Vicki Pfau <vi@endrift.com> Signed-off-by: Jiri Kosina <jkosina@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions