Drop events from the keyboard of type ...
Not sure what, can't remember, can't be bothered to look it up.
This commit is contained in:
parent
d64a981c76
commit
7664f34de5
1 changed files with 2 additions and 0 deletions
|
|
@ -197,6 +197,8 @@ int stream_events(char* mouse_path, char* keyboard_path, int hotkey_scancode) {
|
||||||
clock_gettime(CLOCK_MONOTONIC, &start);
|
clock_gettime(CLOCK_MONOTONIC, &start);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
} else if(i_event.value == 2) {
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
} else if (events[i].data.fd == mouse_fd) {
|
} else if (events[i].data.fd == mouse_fd) {
|
||||||
type = MOUSE;
|
type = MOUSE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue