Ability to toggle the Steam Deck touchscreen input #169
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe what you'd like to be able to do
I wrote a script here that uses sysfs to toggle touchscreen input. This is useful in instances when you want to keep the screen protected or not accidentally touch it when using an external display. Some examples:
I'm considering writing a Decky plugin but, since this requires root anyway and is fairly minimal functionality, thought it may be better implemented as a function for this plugin.
Describe alternatives you've considered
Writing my own plugin, using a Non-Steam App.
Anything else?
I'm likely willing to add a PR for this plugin, I'm just looking to see if that's something you'd be interested in accepting, although I might have trouble setting up a dev environment since I'm effectively developing on the deck itself.
Generally the requirements I have for adding a new setting to PowerTools are:
Does disabling the touchscreen satisfy those? I have a concern about this satisfying 2 and 3: it's not obvious how to re-enable the touchscreen if you've turned it off with the touchscreen. If they're not aware that they can use the button controls to interact with the menu, they might think they've killed their touchscreen. That sequence of thoughts sounds a bit silly but the amount of people who ask why their Deck no longer charges to 100% after they enabled the charge limit is significant, and the touchscreen is a much bigger deal.
I'm also not convinced disabling a driver has any effect on power usage (1).