Open gordon-quad opened 1 year ago
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.
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).
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.
I will look into this feature and see if I can add support for the touch events.
Steam Deck has touch sensors in the sticks' caps, would be nice to see it supported in scc.