diff options
author | emersion <contact@emersion.fr> | 2018-04-24 19:39:29 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-26 10:53:47 +0100 |
commit | ff61df17ffd358b03663a35fe7140e51e1ee98fc (patch) | |
tree | 3736887591d8464f577d2ad4a753a404d38d77ae /sway/sway-input.5.txt | |
parent | Merge pull request #1863 from RyanDwyer/remove-workspace-layout (diff) | |
download | sway-ff61df17ffd358b03663a35fe7140e51e1ee98fc.tar.gz sway-ff61df17ffd358b03663a35fe7140e51e1ee98fc.tar.zst sway-ff61df17ffd358b03663a35fe7140e51e1ee98fc.zip |
Add map_from_region command
Diffstat (limited to 'sway/sway-input.5.txt')
-rw-r--r-- | sway/sway-input.5.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sway/sway-input.5.txt b/sway/sway-input.5.txt index 948b4b6f..c7305503 100644 --- a/sway/sway-input.5.txt +++ b/sway/sway-input.5.txt | |||
@@ -52,13 +52,13 @@ Mapping Configuration | |||
52 | layout. Only meaningful if the device is a pointer, touch, or drawing tablet | 52 | layout. Only meaningful if the device is a pointer, touch, or drawing tablet |
53 | device. | 53 | device. |
54 | 54 | ||
55 | **input** <identifier> map_region <WxH\@X,Y>:: | 55 | **input** <identifier> map_from_region <X1xY1> <X2xY2>:: |
56 | Ignores inputs from this device that do not occur within the specified region. | 56 | Ignores inputs from this device that do not occur within the specified |
57 | Can be in millimeters (e.g. 10mmx20mm\@10mm,20mm) or in terms of 0..1 (e.g. | 57 | region. Can be in millimeters (e.g. 10x20mm 20x40mm) or in terms of 0..1 |
58 | 0.5x0.5\@0,0). Not all devices support millimeters. Only meaningful if the | 58 | (e.g. 0.5x0.5 0.7x0.7). Not all devices support millimeters. Only meaningful |
59 | device is not a keyboard an provides events in absolute terms (such as a | 59 | if the device is not a keyboard an provides events in absolute terms (such |
60 | drawing tablet or touch screen - most pointers provide events relative to the | 60 | as a drawing tablet or touch screen - most pointers provide events relative |
61 | previous frame). | 61 | to the previous frame). |
62 | 62 | ||
63 | Libinput Configuration | 63 | Libinput Configuration |
64 | ~~~~~~~~~~~~~~~~~~~~~~ | 64 | ~~~~~~~~~~~~~~~~~~~~~~ |