Feature request: `xinput map-to-output` should support a "reset" option
It is easy to tell
xinput to calculate the transformation matrix for a specific display, using
xinput map-to-output <device> <screen>. However, it is not obvious on how to undo this change. (In fact, the manual doesn't even explain this command will change the transformation matrix; I only discovered it after reading the source-code.)
Suggestions (pick as many as you want):
- Implement a special screen name (e.g.
reset) that will reset the transformation matrix back to the default.
- Document this special screen name in the manpage.
- Document in the manpage that
map-to-outputis a convenience function that will change
Coordinate Transformation Matrix.
- Document in the manpage the command to revert the changes:
xinput set-prop <device> 'Coordinate Transformation Matrix' 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0