Format some code

This commit is contained in:
vCaesar 2017-05-09 21:56:22 +08:00
parent 52479b6e13
commit 0ebade43f7
6 changed files with 43 additions and 42 deletions

View File

@ -169,9 +169,11 @@ void dispatch_proc(iohook_event * const event) {
",x=%i,y=%i,button=%i,clicks=%i",
event->data.mouse.x, event->data.mouse.y,
event->data.mouse.button, event->data.mouse.clicks);
int abutton = event->data.mouse.button;
int aclicks = event->data.mouse.clicks;
int amouse = -1;
if (strcmp(cevent,"mleft") == 0){
amouse = 1;
}

View File

@ -318,7 +318,6 @@ void aTypeString(char *str){
}
void aTypeStringDelayed(char *str,size_t cpm){
typeStringDelayed(str, cpm);
}