mirror of
https://github.com/robotn/gohook.git
synced 2024-11-22 02:56:54 +08:00
add center mouse and update code style
This commit is contained in:
parent
9bf349ed0b
commit
bbbbefb5ff
@ -181,6 +181,9 @@ void dispatch_proc_end(iohook_event * const event) {
|
||||
if (strcmp(cevent, "mright") == 0) {
|
||||
amouse = 2;
|
||||
}
|
||||
if (strcmp(cevent, "center") == 0) {
|
||||
amouse = 3;
|
||||
}
|
||||
if (strcmp(cevent, "wheelDown") == 0) {
|
||||
amouse = 4;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user