forked from external/yambar
particle/on-click: support next/previous buttons
This commit is contained in:
parent
8d5deda4e4
commit
6ed576c719
7 changed files with 22 additions and 0 deletions
4
config.c
4
config.c
|
@ -236,6 +236,10 @@ conf_to_particle(const struct yml_node *node, struct conf_inherit inherited)
|
|||
on_click_templates[MOUSE_BTN_WHEEL_UP] = template;
|
||||
else if (strcmp(key, "wheel-down") == 0)
|
||||
on_click_templates[MOUSE_BTN_WHEEL_DOWN] = template;
|
||||
else if (strcmp(key, "previous") == 0)
|
||||
on_click_templates[MOUSE_BTN_PREVIOUS] = template;
|
||||
else if (strcmp(key, "next") == 0)
|
||||
on_click_templates[MOUSE_BTN_NEXT] = template;
|
||||
else
|
||||
assert(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue