diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-08-28 11:20:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-28 11:20:29 +0200 |
| commit | 81bf4eccba449bfe2b6adfb51260108aec710d4f (patch) | |
| tree | 215c5b536cbcf1df9888081aadd3de16eb4b3ebe /src/config/ConfigDescriptions.hpp | |
| parent | 378e130f1426648d8d734049800128f9882805bf (diff) | |
input: Add fully configurable trackpad gestures (#11490)
Adds configurable trackpad gestures
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
| -rw-r--r-- | src/config/ConfigDescriptions.hpp | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index 3e5d5a87..0308dde0 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -764,24 +764,6 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = { */ SConfigOptionDescription{ - .value = "gestures:workspace_swipe", - .description = "enable workspace swipe gesture on touchpad", - .type = CONFIG_OPTION_BOOL, - .data = SConfigOptionDescription::SBoolData{false}, - }, - SConfigOptionDescription{ - .value = "gestures:workspace_swipe_fingers", - .description = "how many fingers for the touchpad gesture", - .type = CONFIG_OPTION_INT, - .data = SConfigOptionDescription::SRangeData{3, 0, 5}, //##TODO RANGE? - }, - SConfigOptionDescription{ - .value = "gestures:workspace_swipe_min_fingers", - .description = "if enabled, workspace_swipe_fingers is considered the minimum number of fingers to swipe", - .type = CONFIG_OPTION_BOOL, - .data = SConfigOptionDescription::SBoolData{false}, - }, - SConfigOptionDescription{ .value = "gestures:workspace_swipe_distance", .description = "in px, the distance of the touchpad gesture", .type = CONFIG_OPTION_INT, @@ -847,6 +829,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = { .type = CONFIG_OPTION_BOOL, .data = SConfigOptionDescription::SBoolData{false}, }, + SConfigOptionDescription{ + .value = "gestures:close_max_timeout", + .description = "Timeout for closing windows with the close gesture, in ms.", + .type = CONFIG_OPTION_INT, + .data = SConfigOptionDescription::SRangeData{1000, 10, 2000}, + }, /* * group: |
