aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-01 21:38:45 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-05 22:22:49 -0600
commitb6d6127733ea5f96db57a9f47fa4a6134a868a19 (patch)
tree4937f6bc7a1e0f2e3989401a0bccdc5ee283919b /config.def.h
parent16a49e99557563252b9f91db767b431e2238f587 (diff)
add option for set button map
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 8f01192..a4f7c13 100644
--- a/config.def.h
+++ b/config.def.h
@@ -85,6 +85,11 @@ LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE
*/
static const enum libinput_config_accel_profile accel_profile = LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE;
static const double accel_speed = 0.0;
+/* You can choose between:
+LIBINPUT_CONFIG_TAP_MAP_LRM -- 1/2/3 finger tap maps to left/right/middle
+LIBINPUT_CONFIG_TAP_MAP_LMR -- 1/2/3 finger tap maps to left/middle/right
+*/
+static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TAP_MAP_LRM;
/* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */
#define MODKEY WLR_MODIFIER_ALT