Re: [PATCH 1/1] hid-playstation: Fix button maps for the DualSense Edge controller

From: Rahul Rameshbabu
Date: Mon Nov 27 2023 - 21:38:59 EST


On Tue, 28 Nov, 2023 02:19:42 +0000 "Alexander Koskovich" <AKoskovich@xxxxx> wrote:
> To clarify, I did test this patch locally on Fedora Rawhide and confirm it works with games. It does resolve the issue, and is a workaround.
> It's not just Steam/Proton I'm seeing this issue in, I'm seeing it in native Linux games like SuperTuxKart.
>

Thanks for confirming. I am not that familiar with stk but I believe it
uses SDL2, which might be your common culprit.

https://github.com/supertuxkart/stk-code/blob/a57ac415bbaf8e22a1c35f3ac0949c4dca322637/src/input/sdl_controller.cpp#L288

>
>
> On Monday, November 27th, 2023 at 9:16 PM, Rahul Rameshbabu <sergeantsagara@xxxxxxxxxxxxxx> wrote:
>
>
>>
>>
>> On Sun, 26 Nov, 2023 00:15:49 +0000 "Alexander Koskovich" AKoskovich@xxxxx wrote:
>>
>> > This brings functionality of the DualSense Edge controller inline
>> > with the stock PS5 controller.
>> >
>> > Signed-off-by: Alexander Koskovich akoskovich@xxxxx
>> > ---
>>
>>
>> Will provide a follow-up to the relevant discussion.
>>
>> https://lore.kernel.org/linux-input/P8jVfYBAwiM_8MIgshN0osVVfshfBH2-oZCQuqoqh0Hy76_031zuZvYXWl0edtfTUwDOSNlc5priSRXI3G5dboVh5VPbcdxzAcEF7EvUVgo=@protonmail.com/T/#t
>>
>> Since I assume this patch was not actually tested to resolve the issue
>> based on the evtest results, I think we should drop this patch. Will
>> mention some details I might have with regards to the behavior you are
>> seeing with Steam/Proton specifically.
>>
>> --
>> Thanks,
>>
>> Rahul Rameshbabu