mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 00:09:44 +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
Notes:
sideshowbarker
2024-07-19 15:32:54 +09:00
Author: https://github.com/awesomekling
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