|
|
|
|
|
by blackle
1001 days ago
|
|
Thanks! A thread was just easier for me to reason about. If we wanted to do this all in one thread, we could have the main loop use a system where it keeps track of how often it needs to poll the input and how often it needs to generate mouse events, and waits for the soonest deadline for each. |
|