streetpea / chiaki4deck

Fork of Chiaki (Open Source Playstation Remote Play) with Enhancements for Steam Deck and Documentation around how to use
https://streetpea.github.io/chiaki4deck/
GNU Affero General Public License v3.0
872 stars 51 forks source link

Ability to Map External Controllers when Playing Docked - OR have the "Select" button act as Trackpad Click by default on Xbox Controllers #315

Open SuttonX opened 1 month ago

SuttonX commented 1 month ago

Please see this comment on reddit:

https://www.reddit.com/r/remoteplay/comments/yrnswc/comment/j9msisc/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

This guy was able to modify the Windows version of Chiaki so that when using a non-Playstation controller, the Select button acts as Trackpad click by default. I tested this on my Windows machine and it works perfectly with my 8BitDo Ultimate controller.

Is it possible to replicate this on Chiaki4Deck as well? I understand we can map buttons with Steam but whenever I do that it only really works handheld, when I have the Deck docked using that same 8BitDo controller, no matter how I map it in Steam, pressing the select button still activates the Share function on my Playstation. SOMETIMES it will also act as a trackpad click, but even when it does it will still always take a screenshot too.

SuttonX commented 1 month ago

I was able to accomplish this by going in to the Chiaki4Deck settings and completely unmapping the "Share" button, and then mapping the Touchpad button to the Space bar. Then in Steam controller settings I just mapped the controller select button to the Space bar to be safe, and also mapped a double-press of the Start button to the Escape Key (to act as the PS Button instead of bringing up the Steam menu when I press the Xbox button on the controller)