forked from speedie/spmenu
Scroll up/down to move to the next/previous page
This commit is contained in:
parent
1fe08aa295
commit
d18fd28fa0
|
@ -266,6 +266,8 @@ spmenu = {
|
||||||
{ click = "ClickMode"; button = "Left Click"; function = "switchmode"; argument = "0"; }, // Left click on the mode indicator: Toggle mode
|
{ click = "ClickMode"; button = "Left Click"; function = "switchmode"; argument = "0"; }, // Left click on the mode indicator: Toggle mode
|
||||||
{ click = "ClickNumber"; button = "Left Click"; function = "viewhist"; argument = "0"; }, // Click on the match count: Toggle viewing history buffer
|
{ click = "ClickNumber"; button = "Left Click"; function = "viewhist"; argument = "0"; }, // Click on the match count: Toggle viewing history buffer
|
||||||
{ click = "ClickSelItem"; button = "Left Click"; function = "None"; argument = "0"; }, // Left click on an item: Select it
|
{ click = "ClickSelItem"; button = "Left Click"; function = "None"; argument = "0"; }, // Left click on an item: Select it
|
||||||
|
{ click = "None"; button = "Scroll Up"; function = "moveprev"; argument = "0"; }, // Scroll Up: Move to the previous page
|
||||||
|
{ click = "None"; button = "Scroll Down"; function = "movenext"; argument = "0"; }, // Scroll Down: Move to the next page
|
||||||
|
|
||||||
{ ignoreglobalmouse = 1; } ); // Ignore hardcoded mouse binds (0/1)
|
{ ignoreglobalmouse = 1; } ); // Ignore hardcoded mouse binds (0/1)
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,8 @@ static Mouse buttons[] = {
|
||||||
{ ClickMode, Button1, switchmode, {0} },
|
{ ClickMode, Button1, switchmode, {0} },
|
||||||
{ ClickNumber, Button1, viewhist, {0} },
|
{ ClickNumber, Button1, viewhist, {0} },
|
||||||
{ ClickSelItem, Button1, NULL, {0} },
|
{ ClickSelItem, Button1, NULL, {0} },
|
||||||
|
{ ClickNone, Button5, movenext, {0} },
|
||||||
|
{ ClickNone, Button4, moveprev, {0} },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,5 +23,7 @@ static WlMouse wl_buttons[] = {
|
||||||
{ ClickMode, WL_Left, switchmode, {0} },
|
{ ClickMode, WL_Left, switchmode, {0} },
|
||||||
{ ClickNumber, WL_Left, viewhist, {0} },
|
{ ClickNumber, WL_Left, viewhist, {0} },
|
||||||
{ ClickSelItem, WL_Left, NULL, {0} },
|
{ ClickSelItem, WL_Left, NULL, {0} },
|
||||||
|
{ ClickNone, WL_ScrollDown, movenext, {0} },
|
||||||
|
{ ClickNone, WL_ScrollUp, moveprev, {0} },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue