https://wiki.ubuntu.com/X/InputCoordinateTransformation
- Get list of devices:
xinput --list --short
- 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