diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-08 14:15:13 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-08 15:09:12 -0400 |
commit | 0e3ddf255ef56b7fe2b868232b80d04ea961120b (patch) | |
tree | cd650869ccbeca085a022d7aceb97d5e581ff3bf /sway/sway-input.5.txt | |
parent | Merge pull request #1778 from swaywm/fix-cursor (diff) | |
download | sway-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.txt | 20 |
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 | ||
43 | Mapping 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 | |||
43 | Libinput Configuration | 63 | Libinput Configuration |
44 | ~~~~~~~~~~~~~~~~~~~~~~ | 64 | ~~~~~~~~~~~~~~~~~~~~~~ |
45 | 65 | ||