implement Axis mouse bindings

Co-authored-by: Guido Cella <guido@guidocella.xyz>
This commit is contained in:
Peter Hofmann
2026-09-13 18:14:47 +02:00
committed by Guido Cella
co-authored by Guido Cella
parent 99cdc9a825
commit e8bf70d639
2 changed files with 32 additions and 2 deletions
+5
View File
@@ -170,3 +170,8 @@ static const Button buttons[] = {
{ MODKEY, BTN_MIDDLE, togglefloating, {0} },
{ MODKEY, BTN_RIGHT, moveresize, {.ui = CurResize} },
};
static const Axis axes[] = {
{ MODKEY, AxisUp, spawn, SHCMD("volume-up_EXAMPLE") },
{ MODKEY, AxisDown, spawn, SHCMD("volume-down_EXAMPLE") },
};