extracted HID library