mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
Kernel: Add support for the PS/2 mouse wheel if detected.
This commit is contained in:
parent
852d648912
commit
dae8eb6454
3 changed files with 78 additions and 17 deletions
|
@ -33,8 +33,10 @@ private:
|
|||
void wait_then_write(byte port, byte data);
|
||||
byte wait_then_read(byte port);
|
||||
void parse_data_packet();
|
||||
void expect_ack();
|
||||
|
||||
CircularQueue<MousePacket, 100> m_queue;
|
||||
byte m_data_state { 0 };
|
||||
byte m_data[3];
|
||||
byte m_data[4];
|
||||
bool m_has_wheel { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue