Kernel: Add mouse move and scroll event merging back

This makes mouse work much faster when reading can't keep up with the
amount of events.
This commit is contained in:
2024-07-15 15:45:20 +03:00
parent 4cd9252ff6
commit 60b396fee5
2 changed files with 22 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ namespace Kernel
const dev_t m_rdev;
const BAN::String m_name;
const Type m_type;
mutable SpinLock m_event_lock;
Semaphore m_event_semaphore;