Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

wacommap

A command line tool written in bash using xsetwacom combined with slop to map Wacom tablets to an area selected by the cursor.

Features

  • Keep aspect ratio option
  • Options for mapping adjustment:
    • Fit to selected area
    • Fit only width to selected area
    • Center on selected area
  • Rotation

Requirements

  • xf86-input-wacom
  • slop

Options

-m

  • Using this option will enable maintaining aspect ratio. Possible values are "fit" and "width".
  • -m fit will shrink the mapped area to fit both width and height into the selected area
  • -m width will 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.

Example Usage

This command will not maintain aspect ratio; the drawing area will be directly mapped to the selected area.

wacommap

This command enables maintaining aspect ratio with the "width" option, and centers the mapped area on the selected area.

wacommap -m width -c

To do list

  • Make it work with non wacom tablets
  • More alignment options e.g. top, bottom, right, left

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages