diff options
author | Lucas Zampieri <lzampier@redhat.com> | 2022-11-24 17:18:50 -0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-12-09 11:28:53 +0100 |
commit | efd83cb8b911d88a17263a4ee8e62cf07dbfa4bd (patch) | |
tree | 5ae5c45e912e30a06f836d77b93de6d2a36217cd /include | |
parent | 991d75904f1460a6cc3a0b11c145bff876035897 (diff) |
Add libinput RotationAngle
This patch adds the libinput option RotationAngle to sway.
Signoff-by: Lucas Zampieri <lzampier@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index ddd2f219..599347ef 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -262,6 +262,7 @@ sway_cmd input_cmd_map_to_region; sway_cmd input_cmd_middle_emulation; sway_cmd input_cmd_natural_scroll; sway_cmd input_cmd_pointer_accel; +sway_cmd input_cmd_rotation_angle; sway_cmd input_cmd_scroll_factor; sway_cmd input_cmd_repeat_delay; sway_cmd input_cmd_repeat_rate; diff --git a/include/sway/config.h b/include/sway/config.h index ce2b8502..8415627b 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -155,6 +155,7 @@ struct input_config { int middle_emulation; int natural_scroll; float pointer_accel; + float rotation_angle; float scroll_factor; int repeat_delay; int repeat_rate; |