bind axis to nothing by default

This commit is contained in:
save196
2026-09-21 00:07:22 +03:00
parent 2a567195e6
commit 40b0ae76ae
+4 -1
View File
@@ -172,6 +172,9 @@ static const Button buttons[] = {
}; };
static const Axis axes[] = { static const Axis axes[] = {
/* example of volume control:
{ MODKEY, AxisUp, spawn, SHCMD("volume-up_EXAMPLE") }, { 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 */
}; };