mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
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:
parent
1cc32ebc7e
commit
26a9d662f4
6 changed files with 74 additions and 42 deletions
7
Kernel/MousePacket.h
Normal file
7
Kernel/MousePacket.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
struct MousePacket {
|
||||
int dx { 0 };
|
||||
int dy { 0 };
|
||||
byte buttons;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue