diff options
author | pudiva chip líquida <pudiva@skylittlesystem.org> | 2022-03-08 01:33:40 +0000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-03-08 01:33:40 +0000 |
commit | 1f1ddbc6dff0cf0451e3c9ac923f9821278560aa (patch) | |
tree | 6c461a3e8c83e4a18747ef832e9d667d750e8694 /tools/shared.h | |
parent | 602e8dcb999b1129da4887e450bf2d4e09ecb6fe (diff) | |
download | libinput-1f1ddbc6dff0cf0451e3c9ac923f9821278560aa.tar.gz |
touchpad: new option dwtp (disable-while-trackpointing)
Add option to control whether the touchpad should be disabled while the
trackpoint is in use.
Fix #731
Signed-off-by: pudiva chip líquida <pudiva@skylittlesystem.org>
Diffstat (limited to 'tools/shared.h')
-rw-r--r-- | tools/shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/shared.h b/tools/shared.h index 471c3995..fc59ae00 100644 --- a/tools/shared.h +++ b/tools/shared.h @@ -48,6 +48,8 @@ enum configuration_options { OPT_MIDDLEBUTTON_DISABLE, OPT_DWT_ENABLE, OPT_DWT_DISABLE, + OPT_DWTP_ENABLE, + OPT_DWTP_DISABLE, OPT_CLICK_METHOD, OPT_SCROLL_METHOD, OPT_SCROLL_BUTTON, @@ -75,6 +77,8 @@ enum configuration_options { { "disable-middlebutton", no_argument, 0, OPT_MIDDLEBUTTON_DISABLE }, \ { "enable-dwt", no_argument, 0, OPT_DWT_ENABLE }, \ { "disable-dwt", no_argument, 0, OPT_DWT_DISABLE }, \ + { "enable-dwtp", no_argument, 0, OPT_DWTP_ENABLE }, \ + { "disable-dwtp", no_argument, 0, OPT_DWTP_DISABLE }, \ { "enable-scroll-button-lock", no_argument, 0, OPT_SCROLL_BUTTON_LOCK_ENABLE }, \ { "disable-scroll-button-lock",no_argument, 0, OPT_SCROLL_BUTTON_LOCK_DISABLE }, \ { "set-click-method", required_argument, 0, OPT_CLICK_METHOD }, \ @@ -107,6 +111,7 @@ struct tools_options { int scroll_button_lock; double speed; int dwt; + int dwtp; enum libinput_config_accel_profile profile; char disable_pattern[64]; }; |