aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.txt
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-16 08:19:33 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-16 08:19:33 -0500
commit2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8 (patch)
tree71ad222f366d1f1df928b88ea3242dc92457a8bd /sway/sway-input.5.txt
parentfix logging issue for new wlroots (diff)
downloadsway-2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8.tar.gz
sway-2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8.tar.zst
sway-2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8.zip
input and seat command docs
Diffstat (limited to 'sway/sway-input.5.txt')
-rw-r--r--sway/sway-input.5.txt50
1 files changed, 46 insertions, 4 deletions
diff --git a/sway/sway-input.5.txt b/sway/sway-input.5.txt
index f0c8f87c..d4652a82 100644
--- a/sway/sway-input.5.txt
+++ b/sway/sway-input.5.txt
@@ -1,5 +1,5 @@
1///// 1/////
2vim:set ts=4 sw=4 tw=82 noet: 2vim:set ft=asciidoc ts=4 sw=4 tw=82 noet:
3///// 3/////
4sway-input (5) 4sway-input (5)
5============== 5==============
@@ -11,12 +11,37 @@ sway-input - input configuration file and commands
11Description 11Description
12----------- 12-----------
13 13
14Sway allows for configuration of libinput devices within the sway configuration file. 14Sway allows for configuration of devices within the sway configuration file.
15sway-input commands must be used inside an _input { }_ block in the config. 15sway-input commands must be used inside an _input { }_ block in the config.
16To obtain a list of available device identifiers, run **swaymsg -t get_inputs**. 16To obtain a list of available device identifiers, run **swaymsg -t get_inputs**.
17 17
18Commands 18Input Commands
19-------- 19--------------
20
21Keyboard Configuration
22~~~~~~~~~~~~~~~~~~~~~~
23
24For more information on these xkb configuration options, see
25**xkeyboard-config**(7).
26
27**input** <identifier> xkb_layout <layout_name>::
28 Sets the layout of the keyboard like _us_ or _de_.
29
30**input** <identifier> xkb_model <model_name>::
31 Sets the model of the keyboard. This has an influence for some extra keys your
32 keyboard might have.
33
34**input** <identifier> xkb_options <options>::
35 Sets extra xkb configuration options for the keyboard.
36
37**input** <identifier> xkb_rules <rules>::
38 Sets files of rules to be used for keyboard mapping composition.
39
40**input** <identifier> xkb_variant <variant>::
41 Sets the variant of the keyboard like _dvorak_ or _colemak_.
42
43Libinput Configuration
44~~~~~~~~~~~~~~~~~~~~~~
20 45
21**input** <identifier> accel_profile <adaptive|flat>:: 46**input** <identifier> accel_profile <adaptive|flat>::
22 Sets the pointer acceleration profile for the specified input device. 47 Sets the pointer acceleration profile for the specified input device.
@@ -53,6 +78,23 @@ Commands
53**input** <identifier> tap <enabled|disabled>:: 78**input** <identifier> tap <enabled|disabled>::
54 Enables or disables tap for specified input device. 79 Enables or disables tap for specified input device.
55 80
81Seat Configuration
82------------------
83
84Configure options for multiseat mode. sway-seat commands must be used inside a
85_seat { }_ block in the config.
86
87A _seat_ is a collection of input devices that act independently of each other.
88Seats are identified by name and the default seat is _seat0_ if no seats are
89configured. Each seat has an independent keyboard focus and a separate cursor that
90is controlled by the pointer devices of the seat. This is useful for multiple
91people using the desktop at the same time with their own devices (each sitting in
92their own "seat").
93
94**seat** <name> attach <input_identifier>::
95 Attach an input device to this seat by its input identifier. A special value
96 of _*_ will attach all devices to the seat.
97
56See Also 98See Also
57-------- 99--------
58 100