20 #ifndef USBHUMANINTERFACEDEVICE_H 21 #define USBHUMANINTERFACEDEVICE_H 23 #include "modules/system/usb/UsbDevice.h" 24 #include "pedigree/kernel/compiler.h" 25 #include "pedigree/kernel/processor/types.h" 26 #include "pedigree/kernel/utilities/String.h" 27 #include "pedigree/kernel/utilities/new" 39 virtual void getName(
String &str)
41 str =
"USB Human Interface Device";
51 nDescriptorLength = pDescriptor->nDescriptorLength;
59 uint16_t nBcdHidRelease;
62 uint8_t nDescriptorType;
63 uint16_t nDescriptorLength;
66 uint16_t nDescriptorLength;
69 static void callback(uintptr_t pParam, ssize_t ret);
virtual void initialiseDriver()
Implemented by the driver class, initialises driver-specific stuff.
Endpoint * m_pInEndpoint
The endpoint used to receive input reports from the device.
uint8_t * m_pOldInReportBuffer
Old input report buffer.
uint8_t * m_pInReportBuffer
Input report buffer.
HidReport * m_pReport
The report instance used for input parsing.