mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-09 01:20:46 +00:00
26a9d662f4
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.
8 lines
92 B
C
8 lines
92 B
C
#pragma once
|
|
|
|
struct MousePacket {
|
|
int dx { 0 };
|
|
int dy { 0 };
|
|
byte buttons;
|
|
};
|