aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarco Siedentopf <siedentm@me.com>2022-06-10 01:30:22 +0000
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-10 12:27:40 -0500
commit8bce3b1583977dee0c8a1815c558cae3b9346f67 (patch)
treee686bb4bedf0853bbd25aa00c736135e6671478d /config.def.h
parentc008bf2a7d76fd4b91267be6a67bd090b839c3ce (diff)
add click method configuration option
Add the libinput configuration option to choose between Software Button Areas and Clickfinger
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 4f131dd..fabadb3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -63,10 +63,17 @@ LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN
*/
static const enum libinput_config_scroll_method scroll_method = LIBINPUT_CONFIG_SCROLL_2FG;
/* You can choose between:
+LIBINPUT_CONFIG_CLICK_METHOD_NONE
+LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS
+LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER
+*/
+static const enum libinput_config_click_method click_method = LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS;
+/* You can choose between:
LIBINPUT_CONFIG_SEND_EVENTS_ENABLED
LIBINPUT_CONFIG_SEND_EVENTS_DISABLED
LIBINPUT_CONFIG_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE
*/
+
static const uint32_t send_events_mode = LIBINPUT_CONFIG_SEND_EVENTS_ENABLED;
/* You can choose between:
LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT