2023-04-02 16:10:13 +02:00
|
|
|
/* Mouse bindings
|
|
|
|
*
|
|
|
|
* This header contains mouse binds.
|
|
|
|
* Change them or remove them if you prefer. You can also add more if you want.
|
|
|
|
*
|
2023-04-04 02:28:05 +02:00
|
|
|
* clickwindow: - spmenu window/client
|
|
|
|
* clickinput: - Input box
|
|
|
|
* clickprompt: - Prompt
|
|
|
|
* clicklarrow: - Left arrow
|
|
|
|
* clickitem: - Item
|
|
|
|
* clickselitem: - Item hovered over (function doesn't matter, this will always select the item)
|
|
|
|
* clickrarrow: - Right arrow
|
|
|
|
* clicknumber: - Match count
|
|
|
|
* clickmode: - Mode indicator
|
2023-04-20 21:22:45 +02:00
|
|
|
* clickcaps: - Caps lock indicator
|
2023-04-02 16:10:13 +02:00
|
|
|
*
|
2023-04-04 02:28:05 +02:00
|
|
|
* Button1 - Left click
|
|
|
|
* Button2 - Middle click
|
|
|
|
* Button3 - Right click
|
|
|
|
* Button4 - Scroll up
|
|
|
|
* Button5 - Scroll down
|
2023-04-02 16:10:13 +02:00
|
|
|
*
|
|
|
|
* Note that clicking on an item will select it, as of now it's hardcoded.
|
|
|
|
*/
|
|
|
|
|
|
|
|
static Mouse buttons[] = {
|
|
|
|
{ clickinput, 0, Button1, clear, {0} },
|
|
|
|
{ clickprompt, 0, Button1, clear, {0} },
|
2023-04-04 01:14:23 +02:00
|
|
|
{ clickmode, 0, Button1, switchmode, {0} },
|
|
|
|
{ clicknumber, 0, Button1, viewhist, {0} },
|
2023-04-04 02:28:05 +02:00
|
|
|
{ clickselitem, 0, Button1, NULL, {0} },
|
2023-04-02 16:10:13 +02:00
|
|
|
};
|