Kernel: Expose usb device's device descriptor

This is used by the joystick detection code but i forgot to commit this
:D
This commit is contained in:
Bananymous 2026-01-08 13:45:17 +02:00
parent fea5d1d82b
commit ee57cf3e9a
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ namespace Kernel
BAN::ErrorOr<void> initialize();
const USBDeviceDescriptor& device_descriptor() const { return m_descriptor.descriptor; }
const BAN::Vector<ConfigurationDescriptor>& configurations() { return m_descriptor.configurations; }
virtual BAN::ErrorOr<uint8_t> initialize_device_on_hub_port(uint8_t port_id, USB::SpeedClass) = 0;