How I use Steam Proton on Debian
Mouse coordinate transform matrix bug
If you have used xinput to change your mouse’s coordinate transform
matrix this may cause a problem with Steam Proton where the mouse gets
stuck in the top-left corner. In a first person game this will
manifest as the camera turning upwards and to the left (or downwards
to the left if the mouse is inverted). The solution is to reset your
coordinate transformation matrix to the default.
Run
xinput listto see the list of devices, and note the name of the mouse device, for exampleLogitech USB Optical Mouse.Run
xinput list-props "Logitech USB Optical Mouse"to see the list of properties, and note the name of the coordinate tranformation matrix property, probablyCoordinate Transformation Matrix.Run
xinput set-prop "Logitech USB Optical Mouse" "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
to set the coordinate transformation matrix to its default value.