summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-08-09 15:19:19 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-08-12 08:28:35 +1000
commit239822f9f4973dc2b3a51fd8af74bfda0349dece (patch)
tree2383955af76b8b1b1a070fc15760452dac9f0a13 /configure.ac
parentba77b532e6c2a0b7b05ab129009c1f614b089c37 (diff)
downloadxf86-input-wacom-239822f9f4973dc2b3a51fd8af74bfda0349dece.tar.gz
xsetwacom: add "MapToOutput" parameters.
Provides a new xsetwacom parameter to restrict the tablet to a given RandR 1.2 output. The output has to be active. The command xsetwacom set <device name> "MapToOutput" VGA1 maps the coordinates of the tablet to the given output. This is a once-off effect only. xsetwacom does not track the output for reconfiguration. If the output is reconfigured, re-running the command will re-configure the tablet with the new configuration. A list of outputs can be obtained with e.g. xrandr. If used together with rotation, the tablet must be rotated before being mapped to the output. Requires the "Coordinate Transformation Matrix" property to be present and handled by the X server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pinglinux@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 93be614..0e156a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.7.0] xproto xext kbproto inputproto $R
XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
# Obtain compiler/linker options for the xsetwacom tool
-PKG_CHECK_MODULES(X11, x11 xi)
+PKG_CHECK_MODULES(X11, x11 xi xrandr)
# X Server SDK location is required to install wacom header files
# This location is also relayed in the xorg-wacom.pc file