1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

Kernel: Stub absolute mouse positioning support

This is not the real kernel patch, @supercomputer7 is doing that :^)
This commit is contained in:
Sergey Bugaev 2020-02-03 19:29:40 +03:00 committed by Andreas Kling
parent 6c9d66ed4b
commit 0334656e45
2 changed files with 7 additions and 6 deletions

View file

@ -139,9 +139,9 @@ void PS2MouseDevice::parse_data_packet()
y = 0;
}
MousePacket packet;
packet.dx = x;
packet.dy = y;
packet.dz = z;
packet.x = x;
packet.y = y;
packet.z = z;
packet.buttons = m_data[0] & 0x07;
m_queue.enqueue(packet);