Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marschhuynh/73e179c80311fe4aa99d653176abe2a7 to your computer and use it in GitHub Desktop.
Save marschhuynh/73e179c80311fe4aa99d653176abe2a7 to your computer and use it in GitHub Desktop.

https://wiki.ubuntu.com/X/InputCoordinateTransformation

  1. Get list of devices:
xinput --list --short
  1. Adjust Coordinate Transformation Matrix of your device
xinput set-prop '<device name>' 'Coordinate Transformation Matrix' 2.4 0 0 0 2.4 0 0 0 1
Eg: xinput --set-prop 9 190 2.4 0 0 0 2.4 0 0 0 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment