mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 11:25:07 +00:00

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.
7 lines
92 B
C
7 lines
92 B
C
#pragma once
|
|
|
|
struct MousePacket {
|
|
int dx { 0 };
|
|
int dy { 0 };
|
|
byte buttons;
|
|
};
|