mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
Kernel: Fix mouse lag when VMWareBackdoor absolute mode is enabled
We won't be receiving full PS/2 mouse packets when the VMWareBackdoor absolute mouse mode is enabled. So, read just one byte every time and retrieve the latest mouse packet from VMWareBackdoor immediately. Fixes #4086
This commit is contained in:
parent
13383f3267
commit
53cffb5ad9
2 changed files with 24 additions and 20 deletions
|
@ -85,7 +85,7 @@ private:
|
|||
|
||||
I8042Controller& m_controller;
|
||||
mutable SpinLock<u8> m_queue_lock;
|
||||
CircularQueue<RawPacket, 100> m_queue;
|
||||
CircularQueue<MousePacket, 100> m_queue;
|
||||
u8 m_data_state { 0 };
|
||||
RawPacket m_data;
|
||||
bool m_has_wheel { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue