mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-11-25 08:52:15 -05:00
Fix flow.
This commit is contained in:
parent
a5fb0aa80b
commit
b188ac05d3
4
map.c
4
map.c
@ -170,6 +170,10 @@ int main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
printf("Event: (Type: %d, Code: %d, Value %d)\n", e.type, e.code, e.value);
|
printf("Event: (Type: %d, Code: %d, Value %d)\n", e.type, e.code, e.value);
|
||||||
|
} else {
|
||||||
|
/* Update poll read mechanism */
|
||||||
|
fdrr = (fdrr + 1) % INPUT_DEVICE_COUNT;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now handle received event */
|
/* Now handle received event */
|
||||||
|
Loading…
Reference in New Issue
Block a user