ladybird/Kernel/MousePacket.h
Andreas Kling 26a9d662f4 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.
2019-03-05 14:01:03 +01:00

8 lines
92 B
C

#pragma once
struct MousePacket {
int dx { 0 };
int dy { 0 };
byte buttons;
};