A command line tool written in bash using xsetwacom combined with slop to map Wacom tablets to an area selected by the cursor.
- Keep aspect ratio option
- Options for mapping adjustment:
- Fit to selected area
- Fit only width to selected area
- Center on selected area
- Rotation
- xf86-input-wacom
- slop
-m
- Using this option will enable maintaining aspect ratio. Possible values are "fit" and "width".
-m fitwill shrink the mapped area to fit both width and height into the selected area-m widthwill shrink the mapped area only by width
-c
- Using this option will center the mapped area on the selected area (otherwise it will be aligned top left). This option does nothing if used without
-m.
-r
- Specify the rotation of the tablet Possible values are "none", "cw", "ccw", and "half", as with xsetwacom's "Rotate" parameter.
This command will not maintain aspect ratio; the drawing area will be directly mapped to the selected area.
wacommapThis command enables maintaining aspect ratio with the "width" option, and centers the mapped area on the selected area.
wacommap -m width -c- Make it work with non wacom tablets
- More alignment options e.g. top, bottom, right, left