20 #include "UsbHumanInterfaceDevice.h" 21 #include "modules/Module.h" 22 #include "modules/system/usb/UsbDevice.h" 23 #include "modules/system/usb/UsbPnP.h" 24 #include "pedigree/kernel/utilities/new" 40 3, SubclassNone, ProtocolNone, hidConnected);
48 MODULE_INFO(
"usb-hid", &entry, &exit,
"hid",
"usb");
Interface * getInterface()
Returns the interface in use.
DeviceDescriptor * getDescriptor()
Returns the device descriptor of the device.
static UsbPnP & instance()
Singleton design.
void registerCallback(uint16_t nVendorId, uint16_t nProductId, callback_t callback)
Register a callback for the given vendor and product IDs.