How can I invert both my mouse axes on Ubuntu 22.04 (i.e. with Xwayland)? I want up to be down and left to be right so that I can hold my mouse upside down.
Before my upgrade to Ubuntu 22.04 jammy jellyfish, I could invert my mouse axes with xinput
, but now when I run xinput to list devices, I get a WARNING: running xinput against an Xwayland server.
, and the output doesn't show actual devices; instead it shows:
⎡ Virtual core pointer id=2 [master pointer (3)]⎜↳ Virtual core XTEST pointer id=4 [slave pointer (2)]⎜↳ xwayland-pointer:17 id=6 [slave pointer (2)]⎜↳ xwayland-relative-pointer:17 id=7 [slave pointer (2)]⎜↳ xwayland-pointer-gestures:17 id=8 [slave pointer (2)]⎣ Virtual core keyboard id=3 [master keyboard (2)]↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]↳ xwayland-keyboard:17 id=9 [slave keyboard (3)]
Before, I would be able to grep for my mouse Primax Kensington Eagle Trackball
.
I've tried setting the prop Coordinate Transformation Matrix
for each of those pointer
devices listed above, but that has no effect on my mouse axes.