Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Use the right touchpad to draw in the notebook space #1

Open
mintexists opened this issue Sep 8, 2022 · 2 comments

Comments

@mintexists
Copy link

I don't know if this is possible, I'm not sure if the UI has access to the input devices on the deck, but it would be a nice feature <3

@popsUlfr
Copy link
Owner

popsUlfr commented Sep 8, 2022

If you attach a mouse it can be used to draw. To be able to draw with the touchpad it would need to be enabled as mouse input for the Steam UI layout. I'd need to test this myself but if you go into desktop mode, open Steam Big Picture mode, in the input settings open the Big Picture profile and set the touchpad to mouse input it should make it available in game mode.

@mintexists
Copy link
Author

Doing some poking around on this and found that
SteamClient.Input.RegisterForControllerAnalogInputMessages(console.log)
gives

[
    {
        "strActionName": "Scroll",
        "x": -2,
        "y": -2,
        "nController": 15
    }
]

Some further digging has led me to HandleControllerInputMessages in 3991.js, which is able to get the position of the touch on the trackpad somehow
image

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

No branches or pull requests

2 participants