Kernel+WindowServer: Move mouse input signal parsing to kernel driver.

It was silly for the WindowServer to have to know anything about the
format of PS/2 mouse packets.

This patch also enables use of the middle mouse button.
This commit is contained in:
Andreas Kling 2019-03-05 13:59:44 +01:00
commit 26a9d662f4
Notes: sideshowbarker 2024-07-19 15:32:54 +09:00
6 changed files with 74 additions and 42 deletions

7
Kernel/MousePacket.h Normal file
View file

@ -0,0 +1,7 @@
#pragma once
struct MousePacket {
int dx { 0 };
int dy { 0 };
byte buttons;
};