Re: [PATCH] HID: hid-steam: Fix issues with disabling both gamepad mode and lizard mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 15 Jan 2025, Vicki Pfau wrote:

> 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@xxxxxxxxx>
> Signed-off-by: Vicki Pfau <vi@xxxxxxxxxxx>
> ---
>  drivers/hid/hid-steam.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux