mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
Kernel: Add horizontal mouse scroll support
This commit is contained in:
parent
1afb6d5eca
commit
d61cc47055
Notes:
sideshowbarker
2024-07-17 20:34:55 +09:00
Author: https://github.com/can3p
Commit: d61cc47055
Pull-request: https://github.com/SerenityOS/serenity/pull/11246
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
5 changed files with 30 additions and 5 deletions
|
@ -35,7 +35,7 @@ ErrorOr<size_t> MouseDevice::read(OpenFileDescription&, u64, UserOrKernelBuffer&
|
|||
lock.unlock();
|
||||
|
||||
dbgln_if(MOUSE_DEBUG, "Mouse Read: Buttons {:x}", packet.buttons);
|
||||
dbgln_if(MOUSE_DEBUG, "PS2 Mouse: X {}, Y {}, Z {}, Relative {}", packet.x, packet.y, packet.z, packet.buttons);
|
||||
dbgln_if(MOUSE_DEBUG, "PS2 Mouse: X {}, Y {}, Z {}, W {}, Relative {}", packet.x, packet.y, packet.z, packet.w, packet.buttons);
|
||||
dbgln_if(MOUSE_DEBUG, "PS2 Mouse Read: Filter packets");
|
||||
|
||||
size_t bytes_read_from_packet = min(remaining_space_in_buffer, sizeof(MousePacket));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue