diff options
author | Jason Gerecke <killertofu@gmail.com> | 2011-09-16 17:25:12 -0700 |
---|---|---|
committer | Jason Gerecke <killertofu@gmail.com> | 2011-09-27 13:59:13 -0700 |
commit | f09def951b7bd8ca57894e15ea3a47cda96c6a00 (patch) | |
tree | e01ce4f5e77b4e65b4ef635088990e971a735e81 /man | |
parent | d0f15345546fc9396261ceaf2268cf0ddc7b32af (diff) |
Allow 'MapToOutput' to accept X geometry strings
This patch allows the MapToOutput command to accept fully-
specified X geometry strings as valid output names. The
XParseGeometry function describes these strings as having
the folowing format:
[=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]
Strings with width, height, xoffset, and yoffset defined
will be accepted and the device mapped to the rectangle
it describes.
This patch also renames the function '_set_matrix' to bring
its naming in line with the other set_output_XXXX functions.
Diffstat (limited to 'man')
-rw-r--r-- | man/xsetwacom.man | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/man/xsetwacom.man b/man/xsetwacom.man index 539f405..9375e5b 100644 --- a/man/xsetwacom.man +++ b/man/xsetwacom.man @@ -120,16 +120,18 @@ device is unbound and will react to any tool of the matching type. Default: 0 .TP \fBMapToOutput\fR [output] -Map the tablet's input area to the given output (e.g. "VGA1"). The output -must specify one of those available through the XRandR extension. A list of -outputs may be obtained with the xrandr tool. If no output is provided, -the tablet is mapped to the entire desktop. The output mapping -configuration is a onetime setting and does not track output +Map the tablet's input area to the given output (e.g. "VGA1"), or the entire +desktop if no output is provided. Output names may either be the name of +a head available through the XRandR extension, or an X11 geometry string of +the from WIDTHxHEIGHT+X+Y. Users of the NVIDIA binary driver should use the +output names "HEAD-0" and "HEAD-1" until the driver supports XRandr 1.2 or +later. + +The output mapping configuration is a onetime setting and does not track output reconfigurations; the command needs to be re-run whenever the output configuration changes. When used with tablet rotation, the tablet must be -rotated before it is mapped to the new screen. When running the NVIDIA -binary driver, the output names are "HEAD-0" and "HEAD-1". -This parameter is write-only and cannot be queried. +rotated before it is mapped to the new screen. This parameter is write-only +and cannot be queried. .TP \fBMode\fR Absolute|Relative Set the device mode as either Relative or Absolute. Relative means pointer |