Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Steam Deck stick touch support #80

Open
gordon-quad opened this issue Jan 30, 2023 · 4 comments
Open

Steam Deck stick touch support #80

gordon-quad opened this issue Jan 30, 2023 · 4 comments

Comments

@gordon-quad
Copy link

Steam Deck has touch sensors in the sticks' caps, would be nice to see it supported in scc.

@Ryochan7
Copy link
Owner

I do not have a Steam Deck so that would be up to someone else to add support for those touch buttons. Been a while since I looked at the source code so I am not sure how much would need to be changed to add two new mappable buttons to the mapper.

@gordon-quad
Copy link
Author

would love to help and send a PR with that feature with a little guidance, if you can point me at the code where I can add additional buttons and stuff (assuming it's just yet another HID button ofc).

@Ryochan7
Copy link
Owner

Looking over the steamdeck.py module and there is some placeholder code for handling stick touches. The mapper is fairly open ended when it comes to handling digital buttons. It looks like two new mappable buttons would have to be created for SCButtons (constants.py) to have the daemon work.

Exposing new mappings in the GUI is a bigger challenge. Would need to edit the deck.svg file with a new element and then I am not sure what hook would be required to establish the callback for calling the button edit dialog.

@Dark3clipse
Copy link

I will look into this feature and see if I can add support for the touch events.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants