From 40b0ae76ae65882360ac9d86a65ef0f1e57e4a19 Mon Sep 17 00:00:00 2001 From: save196 Date: Sun, 20 Sep 2026 21:37:16 +0300 Subject: [PATCH] bind axis to nothing by default --- config.def.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 13c5322..a4019d3 100644 --- a/config.def.h +++ b/config.def.h @@ -172,6 +172,9 @@ static const Button buttons[] = { }; static const Axis axes[] = { + /* example of volume control: { MODKEY, AxisUp, spawn, SHCMD("volume-up_EXAMPLE") }, - { MODKEY, AxisDown, spawn, SHCMD("volume-down_EXAMPLE") }, + { MODKEY, AxisDown, spawn, SHCMD("volume-down_EXAMPLE") }, */ + { 0, 0, NULL, {0} }, + /* does nothing, but the array cannot be empty */ };