aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.txt
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-08 14:15:13 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-08 15:09:12 -0400
commit0e3ddf255ef56b7fe2b868232b80d04ea961120b (patch)
treecd650869ccbeca085a022d7aceb97d5e581ff3bf /sway/sway-input.5.txt
parentMerge pull request #1778 from swaywm/fix-cursor (diff)
downloadsway-0e3ddf255ef56b7fe2b868232b80d04ea961120b.tar.gz
sway-0e3ddf255ef56b7fe2b868232b80d04ea961120b.tar.zst
sway-0e3ddf255ef56b7fe2b868232b80d04ea961120b.zip
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
40**input** <identifier> xkb_variant <variant>:: 40**input** <identifier> xkb_variant <variant>::
41 Sets the variant of the keyboard like _dvorak_ or _colemak_. 41 Sets the variant of the keyboard like _dvorak_ or _colemak_.
42 42
43Mapping Configuration
44---------------------
45
46**input** <identifier> map_to_output <identifier>::
47 Maps inputs from this device to the specified output. Only meaningful if the
48 device is a pointer, touch, or drawing tablet device.
49
50**input** <identifier> map_to_region <WxH\@X,Y>::
51 Maps inputs from this device to the specified region of the global output
52 layout. Only meaningful if the device is a pointer, touch, or drawing tablet
53 device.
54
55**input** <identifier> map_region <WxH\@X,Y>::
56 Ignores inputs from this device that do not occur within the specified region.
57 Can be in millimeters (e.g. 10mmx20mm\@10mm,20mm) or in terms of 0..1 (e.g.
58 0.5x0.5\@0,0). Not all devices support millimeters. Only meaningful if the
59 device is not a keyboard an provides events in absolute terms (such as a
60 drawing tablet or touch screen - most pointers provide events relative to the
61 previous frame).
62
43Libinput Configuration 63Libinput Configuration
44~~~~~~~~~~~~~~~~~~~~~~ 64~~~~~~~~~~~~~~~~~~~~~~
45 65