mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
Kernel: Add support for vmmouse
We add this feature together with the VMWareBackdoor class. VMWareBackdoor class is responsible for enabling the vmmouse, and then controlling it from the PS2 mouse IRQ handler.
This commit is contained in:
parent
44ddfd2bf5
commit
47978a5828
Notes:
sideshowbarker
2024-07-19 09:40:10 +09:00
Author: https://github.com/supercomputer7
Commit: 47978a5828
Pull-request: https://github.com/SerenityOS/serenity/pull/1173
8 changed files with 328 additions and 3 deletions
|
@ -55,6 +55,7 @@
|
|||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/SB16.h>
|
||||
#include <Kernel/Devices/SerialDevice.h>
|
||||
#include <Kernel/Devices/VMWareBackdoor.h>
|
||||
#include <Kernel/Devices/ZeroDevice.h>
|
||||
#include <Kernel/FileSystem/Ext2FileSystem.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
|
@ -122,6 +123,10 @@ extern "C" [[noreturn]] void init()
|
|||
|
||||
new KeyboardDevice;
|
||||
new PS2MouseDevice;
|
||||
VMWareBackdoor::initialize();
|
||||
if (!KParams::the().has("no_vmmouse"))
|
||||
VMWareBackdoor::the().enable_absolute_vmmouse();
|
||||
|
||||
new SB16;
|
||||
new NullDevice;
|
||||
if (!get_serial_debug())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue