20#include "pedigree/kernel/Log.h"
21#include "pedigree/kernel/utilities/new"
23#include "UsbHumanInterfaceDevice.h"
24#include "modules/Module.h"
25#include "modules/system/usb/UsbDevice.h"
26#include "modules/system/usb/UsbPnP.h"
45 if (!g_Registration.reset())
46 FATAL(
"USB HID binding could not be retired");
49MODULE_INFO(
"usb-hid", &entry, &exit,
"hid",
"usb");
DeviceDescriptor * getDescriptor()
Returns the device descriptor of the device.
Interface * getInterface()
Returns the interface in use.
MUST_USE_RESULT bool registerCallback(uint16_t nVendorId, uint16_t nProductId, callback_t callback, Registration ®istration)
Register a callback for the given vendor and product IDs.
static UsbPnP & instance()
Singleton design.