aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-input.5.txt
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-08 15:11:31 -0400
committerGitHub <noreply@github.com>2018-04-08 15:11:31 -0400
commit4493761716a37a0ecba596b33cfb7a6dba2d84ba (patch)
tree0174edd442d4cf11d44cd404bf8b9c0f8aa9768a /sway/sway-input.5.txt
parent3679323ce558f15a319d3ace6dc1c2618b816566 (diff)
parent0e3ddf255ef56b7fe2b868232b80d04ea961120b (diff)
Merge pull request #1781 from swaywm/map-to-output
Add input "identifier" map_to_output "identifier"
Diffstat (limited to 'sway/sway-input.5.txt')
-rw-r--r--sway/sway-input.5.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/sway/sway-input.5.txt b/sway/sway-input.5.txt
index 0603616b..05725360 100644
--- a/sway/sway-input.5.txt
+++ b/sway/sway-input.5.txt
@@ -40,6 +40,26 @@ For more information on these xkb configuration options, see
**input** <identifier> xkb_variant <variant>::
Sets the variant of the keyboard like _dvorak_ or _colemak_.
+Mapping Configuration
+---------------------
+
+**input** <identifier> map_to_output <identifier>::
+ Maps inputs from this device to the specified output. Only meaningful if the
+ device is a pointer, touch, or drawing tablet device.
+
+**input** <identifier> map_to_region <WxH\@X,Y>::
+ Maps inputs from this device to the specified region of the global output
+ layout. Only meaningful if the device is a pointer, touch, or drawing tablet
+ device.
+
+**input** <identifier> map_region <WxH\@X,Y>::
+ Ignores inputs from this device that do not occur within the specified region.
+ Can be in millimeters (e.g. 10mmx20mm\@10mm,20mm) or in terms of 0..1 (e.g.
+ 0.5x0.5\@0,0). Not all devices support millimeters. Only meaningful if the
+ device is not a keyboard an provides events in absolute terms (such as a
+ drawing tablet or touch screen - most pointers provide events relative to the
+ previous frame).
+
Libinput Configuration
~~~~~~~~~~~~~~~~~~~~~~