Kernel: Fix USB code

Fix USB Keyboard scan code table for bottom row of keyboard

Support multiple interfaces on a single USB device

Add usb mouse to default qemu settings
This commit is contained in:
2024-07-15 11:48:48 +03:00
parent 75875d3a8f
commit 4cd9252ff6
5 changed files with 19 additions and 15 deletions

View File

@@ -81,8 +81,7 @@ namespace Kernel
DeviceDescriptor m_descriptor;
BAN::UniqPtr<DMARegion> m_dma_buffer;
// FIXME: support more than one interface from a configuration
BAN::UniqPtr<USBClassDriver> m_class_driver;
BAN::Vector<BAN::UniqPtr<USBClassDriver>> m_class_drivers;
};
}