Move input packet debug prints off the control stream thread

The control stream thread is extremely performance-sensitive.
This commit is contained in:
Cameron Gutman
2023-06-26 21:10:36 -05:00
parent 62606a62f9
commit 737be029ec
2 changed files with 3 additions and 2 deletions

View File

@@ -1103,6 +1103,9 @@ namespace input {
}
}
// Print the final input packet
input::print((void *) payload);
// Send the batched input to the OS
switch (util::endian::little(payload->magic)) {
case MOUSE_MOVE_REL_MAGIC_GEN5: