galliumos-distro icon indicating copy to clipboard operation
galliumos-distro copied to clipboard

Issue with mouse Axis after display rotation

Open bostonwallace opened this issue 8 years ago • 3 comments
trafficstars

Had to modify the following in order to get the mouse to function properly after performing a "Rotate Left" under the display GUI:

#apt-get install xinput then find your mouse or touch device name #xinput –list then use this command where you replace Mouse or Touch Device Name with the name given by the previous command #xinput –set-prop ‘Mouse or Touch Device Name’ ‘Evdev Axes Swap’ 1 #xinput –set-prop ‘Mouse or Touch Device Name’ ‘Evdev Axis Inversion’ 0 1

Would be nice to have the Axis be correct on Rotation without further intervention.

bostonwallace avatar Dec 14 '16 18:12 bostonwallace

What model Chromebook are you using? Is this on a convertible device?

Is #316 relevant for you?

reynhout avatar Jan 19 '17 16:01 reynhout

I have the exact same issue, left rotation and mouse input is not as expected. I'm using a HP Cromebox (CB1 Haswell). Even though the bug seems to have survived all this time the solution suggested by bostonwallace does not work any longer, but I manages to make it tick again using this:

# install xinput
sudo apt-get install xinput

# find out the id of your device
xinput -list

# change up the input transformation matrix.
xinput --set-prop {your-device-id} 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1

jjabba avatar May 18 '20 01:05 jjabba

I have the exact same issue, left rotation and mouse input is not as expected. I'm using a HP Cromebox (CB1 Haswell). Even though the bug seems to have survived all this time the solution suggested by bostonwallace does not work any longer, but I manages to make it tick again using this:

# install xinput
sudo apt-get install xinput

# find out the id of your device
xinput -list

# change up the input transformation matrix.
xinput --set-prop {your-device-id} 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1

Thanks, bug still exists and this worked.

Edit: but this method doesn't persist after reboot and the ID of my mouse changes :(

Paradoxum avatar Apr 05 '22 19:04 Paradoxum