fix small typo
This commit is contained in:
parent
e60fa7740c
commit
17c1bd441d
1 changed files with 4 additions and 2 deletions
|
@ -186,8 +186,10 @@ extern "C" void on_mouse_interrupt(uint8_t byte) {
|
|||
input::input_queue->last_inserted().is_mouse &&
|
||||
input::input_queue->last_inserted().mouse.buttons ==
|
||||
packet.mouse.buttons) {
|
||||
input::input_queue->last_inserted().mouse.x_change = packet.mouse.x_change;
|
||||
input::input_queue->last_inserted().mouse.y_change = packet.mouse.y_change;
|
||||
input::input_queue->last_inserted().mouse.x_change +=
|
||||
packet.mouse.x_change;
|
||||
input::input_queue->last_inserted().mouse.y_change +=
|
||||
packet.mouse.y_change;
|
||||
}
|
||||
else
|
||||
input::input_queue->insert(packet);
|
||||
|
|
Reference in a new issue