aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Lucas Zampieri <lzampier@redhat.com>2022-11-24 17:18:50 -0300
committerLibravatar Simon Ser <contact@emersion.fr>2022-12-09 11:28:53 +0100
commitefd83cb8b911d88a17263a4ee8e62cf07dbfa4bd (patch)
tree5ae5c45e912e30a06f836d77b93de6d2a36217cd /sway/sway-input.5.scd
parentcriteria: be lenient on window_role and instance too (diff)
downloadsway-efd83cb8b911d88a17263a4ee8e62cf07dbfa4bd.tar.gz
sway-efd83cb8b911d88a17263a4ee8e62cf07dbfa4bd.tar.zst
sway-efd83cb8b911d88a17263a4ee8e62cf07dbfa4bd.zip
Add libinput RotationAngle
This patch adds the libinput option RotationAngle to sway. Signoff-by: Lucas Zampieri <lzampier@redhat.com>
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index e073c45d..91c978d6 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -175,6 +175,10 @@ The following commands may only be used in the configuration file.
175*input* <identifier> pointer_accel [<-1|1>] 175*input* <identifier> pointer_accel [<-1|1>]
176 Changes the pointer acceleration for the specified input device. 176 Changes the pointer acceleration for the specified input device.
177 177
178*input* <identifier> rotation_angle <angle>
179 Sets the rotation angle of the device to the given clockwise angle in
180 degrees. The angle must be between 0.0 (inclusive) and 360.0 (exclusive).
181
178*input* <identifier> scroll_button disable|button[1-3,8,9]|<event-code-or-name> 182*input* <identifier> scroll_button disable|button[1-3,8,9]|<event-code-or-name>
179 Sets the button used for scroll_method on_button_down. The button can 183 Sets the button used for scroll_method on_button_down. The button can
180 be given as an event name or code, which can be obtained from *libinput 184 be given as an event name or code, which can be obtained from *libinput