aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLucas Zampieri <lzampier@redhat.com>2022-11-24 17:18:50 -0300
committerSimon Ser <contact@emersion.fr>2022-12-09 11:28:53 +0100
commitefd83cb8b911d88a17263a4ee8e62cf07dbfa4bd (patch)
tree5ae5c45e912e30a06f836d77b93de6d2a36217cd /sway/sway-input.5.scd
parent991d75904f1460a6cc3a0b11c145bff876035897 (diff)
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.
*input* <identifier> pointer_accel [<-1|1>]
Changes the pointer acceleration for the specified input device.
+*input* <identifier> rotation_angle <angle>
+ Sets the rotation angle of the device to the given clockwise angle in
+ degrees. The angle must be between 0.0 (inclusive) and 360.0 (exclusive).
+
*input* <identifier> scroll_button disable|button[1-3,8,9]|<event-code-or-name>
Sets the button used for scroll_method on_button_down. The button can
be given as an event name or code, which can be obtained from *libinput