1SWAY-INPUT(5)                                                    SWAY-INPUT(5)
2
3
4

NAME

6       sway-input - input configuration file and commands
7

DESCRIPTION

9       Sway allows for configuration of libinput devices within the sway
10       configuration file. sway-input commands must be used inside an input {
11       } block in the config. To obtain a list of available device
12       identifiers, run swaymsg -t get_inputs.
13

COMMANDS

15       input <identifier> accel_profile <adaptive|flat>
16           Sets the pointer acceleration profile for the specified input
17           device.
18
19       input <identifier> click_method <none|button_areas|clickfinger>
20           Changes the click method for the specified device.
21
22       input <identifier> drag_lock <enabled|disabled>
23           Enables or disables drag lock for specified input device.
24
25       input <identifier> dwt <enabled|disabled>
26           Enables or disables disable-while-typing for the specified input
27           device.
28
29       input <identifier> events <enabled|disabled|disabled_on_external_mouse>
30           Enables or disables send_events for specified input device.
31           (Disabling send_events disables the input device)
32
33       input <identifier> left_handed <enabled|disabled>
34           Enables or disables left handed mode for specified input device.
35
36       input <identifier> middle_emulation <enabled|disabled>
37           Enables or disables middle click emulation.
38
39       input <identifier> natural_scroll <enabled|disabled>
40           Enables or disables natural (inverted) scrolling for the specified
41           input device.
42
43       input <identifier> pointer_accel <[-1,1]>
44           Changes the pointer acceleration for the specified input device.
45
46       input <identifier> scroll_method <none|two_finger|edge|on_button_down>
47           Changes the scroll method for the specified input device.
48
49       input <identifier> tap <enabled|disabled>
50           Enables or disables tap for specified input device.
51

SEE ALSO

53       sway(5)
54
55
56
57                                  02/07/2019                     SWAY-INPUT(5)
Impressum