From efd83cb8b911d88a17263a4ee8e62cf07dbfa4bd Mon Sep 17 00:00:00 2001 From: Lucas Zampieri Date: Thu, 24 Nov 2022 17:18:50 -0300 Subject: Add libinput RotationAngle This patch adds the libinput option RotationAngle to sway. Signoff-by: Lucas Zampieri --- sway/sway-input.5.scd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sway/sway-input.5.scd') 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* pointer_accel [<-1|1>] Changes the pointer acceleration for the specified input device. +*input* rotation_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* scroll_button disable|button[1-3,8,9]| 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 -- cgit v1.2.3-54-g00ecf