ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.05k stars 200 forks source link

Controller stick using mouse region moves cursor to the bottom right corner #231

Open jmissao opened 3 years ago

jmissao commented 3 years ago

I use a controller configuration in a Steam game with a mouse region definition, a circle around the center of the screen where the cursor is allowed to move, based on the movement of my controller stick.

When I launch the game using gamescope, the inputs for my controller all seem fine (mouse pad using touch pad, gyroscope and buttons from my Steam Controller), but the configuration using mouse region moves the cursor to the extreme bottom right of the screen. The configured behavior is for the cursor to zero at the center of the screen, and move inside a defined circle region as I move the stick, and go back to the middle as I let it go.

EDIT: I should mention that Steam allows for configuring Horizontal Position and Vertical Position in its interface, so you can move the cursor "coordinate zero". Changing these settings seem to have little impact, as the cursor keeps moving to a corner of the screen.

PSebs commented 2 years ago

I can confirm that this issue still persists and the Move Cursor Position binding also yields similar results