Created
July 4, 2021 13:46
-
-
Save tmk/6c9b88c117725446dd768a4270847019 to your computer and use it in GitHub Desktop.
Ducky One 2 Mini - USB Descriptor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ducky One 2 Mini - USB Descriptor | |
--------------------------------- | |
Device Descriptor: | |
12 01 10 01 00 00 00 08 33 32 01 63 00 00 01 02 | |
03 01 | |
Config0: len:006D | |
09 02 6D 00 04 01 00 80 32 09 04 00 00 01 03 00 | |
01 00 09 21 10 01 00 01 22 40 00 07 05 81 03 08 | |
00 01 09 04 01 00 01 03 00 02 00 09 21 10 01 00 | |
01 22 34 00 07 05 82 03 04 00 01 09 04 02 00 01 | |
03 00 01 00 09 21 10 01 00 01 22 2D 00 07 05 83 | |
03 40 00 01 09 04 03 00 01 03 00 00 00 09 21 10 | |
01 00 01 22 39 00 07 05 84 03 04 00 01 | |
Report0: len:0040 | |
05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01 | |
75 01 95 08 81 02 95 01 75 08 81 03 95 03 75 01 | |
05 08 19 01 29 03 91 02 95 01 75 05 91 03 95 06 | |
75 08 15 00 26 A4 00 05 07 19 00 29 A4 81 00 C0 | |
Report1: len:0034 | |
05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 05 | |
15 00 25 01 75 01 95 05 81 02 75 03 95 01 81 01 | |
05 01 09 30 09 31 09 38 15 81 25 7F 75 08 95 03 | |
81 06 C0 C0 | |
Report2: len:002D | |
05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01 | |
75 01 95 08 81 02 95 01 75 08 81 01 95 3E 75 08 | |
15 00 25 65 05 07 19 00 29 65 81 00 C0 | |
Report3: len:0039 | |
05 0C 09 01 A1 01 05 0C 15 00 25 01 75 01 95 0D | |
09 E2 09 E9 09 EA 09 CD 09 B7 09 B5 09 B6 0A 92 | |
01 0A 94 01 0A 23 02 0A 8A 01 0A 83 01 0A 21 02 | |
81 02 75 13 95 01 81 01 C0 | |
Device | |
------ | |
0x12, // bLength | |
0x01, // bDescriptorType (Device) | |
0x10, 0x01, // bcdUSB 1.10 | |
0x00, // bDeviceClass (Use class information in the Interface Descriptors) | |
0x00, // bDeviceSubClass | |
0x00, // bDeviceProtocol | |
0x08, // bMaxPacketSize0 8 | |
0x33, 0x32, // idVendor 0x3233 | |
0x01, 0x63, // idProduct 0x6301 | |
0x00, 0x00, // bcdDevice 0.00 | |
0x01, // iManufacturer (String Index) | |
0x02, // iProduct (String Index) | |
0x03, // iSerialNumber (String Index) | |
0x01, // bNumConfigurations 1 | |
Configuration | |
------------- | |
0x09, // bLength | |
0x02, // bDescriptorType (Configuration) | |
0x6D, 0x00, // wTotalLength 109 | |
0x04, // bNumInterfaces 4 | |
0x01, // bConfigurationValue | |
0x00, // iConfiguration (String Index) | |
0x80, // bmAttributes | |
0x32, // bMaxPower 100mA | |
Interface0 | |
---------- | |
0x09, // bLength | |
0x04, // bDescriptorType (Interface) | |
0x00, // bInterfaceNumber 0 | |
0x00, // bAlternateSetting | |
0x01, // bNumEndpoints 1 | |
0x03, // bInterfaceClass | |
0x00, // bInterfaceSubClass | |
0x01, // bInterfaceProtocol | |
0x00, // iInterface (String Index) | |
0x09, // bLength | |
0x21, // bDescriptorType (HID) | |
0x10, 0x01, // bcdHID 1.10 | |
0x00, // bCountryCode | |
0x01, // bNumDescriptors | |
0x22, // bDescriptorType[0] (HID) | |
0x40, 0x00, // wDescriptorLength[0] 64 | |
0x07, // bLength | |
0x05, // bDescriptorType (Endpoint) | |
0x81, // bEndpointAddress (IN/D2H) | |
0x03, // bmAttributes (Interrupt) | |
0x08, 0x00, // wMaxPacketSize 8 | |
0x01, // bInterval 1 (unit depends on device speed) | |
Interface1 | |
---------- | |
0x09, // bLength | |
0x04, // bDescriptorType (Interface) | |
0x01, // bInterfaceNumber 1 | |
0x00, // bAlternateSetting | |
0x01, // bNumEndpoints 1 | |
0x03, // bInterfaceClass | |
0x00, // bInterfaceSubClass | |
0x02, // bInterfaceProtocol | |
0x00, // iInterface (String Index) | |
0x09, // bLength | |
0x21, // bDescriptorType (HID) | |
0x10, 0x01, // bcdHID 1.10 | |
0x00, // bCountryCode | |
0x01, // bNumDescriptors | |
0x22, // bDescriptorType[0] (HID) | |
0x34, 0x00, // wDescriptorLength[0] 52 | |
0x07, // bLength | |
0x05, // bDescriptorType (Endpoint) | |
0x82, // bEndpointAddress (IN/D2H) | |
0x03, // bmAttributes (Interrupt) | |
0x04, 0x00, // wMaxPacketSize 4 | |
0x01, // bInterval 1 (unit depends on device speed) | |
Interface2 | |
---------- | |
0x09, // bLength | |
0x04, // bDescriptorType (Interface) | |
0x02, // bInterfaceNumber 2 | |
0x00, // bAlternateSetting | |
0x01, // bNumEndpoints 1 | |
0x03, // bInterfaceClass | |
0x00, // bInterfaceSubClass | |
0x01, // bInterfaceProtocol | |
0x00, // iInterface (String Index) | |
0x09, // bLength | |
0x21, // bDescriptorType (HID) | |
0x10, 0x01, // bcdHID 1.10 | |
0x00, // bCountryCode | |
0x01, // bNumDescriptors | |
0x22, // bDescriptorType[0] (HID) | |
0x2D, 0x00, // wDescriptorLength[0] 45 | |
0x07, // bLength | |
0x05, // bDescriptorType (Endpoint) | |
0x83, // bEndpointAddress (IN/D2H) | |
0x03, // bmAttributes (Interrupt) | |
0x40, 0x00, // wMaxPacketSize 64 | |
0x01, // bInterval 1 (unit depends on device speed) | |
Interface3 | |
---------- | |
0x09, // bLength | |
0x04, // bDescriptorType (Interface) | |
0x03, // bInterfaceNumber 3 | |
0x00, // bAlternateSetting | |
0x01, // bNumEndpoints 1 | |
0x03, // bInterfaceClass | |
0x00, // bInterfaceSubClass | |
0x00, // bInterfaceProtocol | |
0x00, // iInterface (String Index) | |
0x09, // bLength | |
0x21, // bDescriptorType (HID) | |
0x10, 0x01, // bcdHID 1.10 | |
0x00, // bCountryCode | |
0x01, // bNumDescriptors | |
0x22, // bDescriptorType[0] (HID) | |
0x39, 0x00, // wDescriptorLength[0] 57 | |
0x07, // bLength | |
0x05, // bDescriptorType (Endpoint) | |
0x84, // bEndpointAddress (IN/D2H) | |
0x03, // bmAttributes (Interrupt) | |
0x04, 0x00, // wMaxPacketSize 4 | |
0x01, // bInterval 1 (unit depends on device speed) | |
Report0 | |
------- | |
0x05, 0x01, // Usage Page (Generic Desktop Ctrls) | |
0x09, 0x06, // Usage (Keyboard) | |
0xA1, 0x01, // Collection (Application) | |
0x05, 0x07, // Usage Page (Kbrd/Keypad) | |
0x19, 0xE0, // Usage Minimum (0xE0) | |
0x29, 0xE7, // Usage Maximum (0xE7) | |
0x15, 0x00, // Logical Minimum (0) | |
0x25, 0x01, // Logical Maximum (1) | |
0x75, 0x01, // Report Size (1) | |
0x95, 0x08, // Report Count (8) | |
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0x95, 0x01, // Report Count (1) | |
0x75, 0x08, // Report Size (8) | |
0x81, 0x03, // Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0x95, 0x03, // Report Count (3) | |
0x75, 0x01, // Report Size (1) | |
0x05, 0x08, // Usage Page (LEDs) | |
0x19, 0x01, // Usage Minimum (Num Lock) | |
0x29, 0x03, // Usage Maximum (Scroll Lock) | |
0x91, 0x02, // Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile) | |
0x95, 0x01, // Report Count (1) | |
0x75, 0x05, // Report Size (5) | |
0x91, 0x03, // Output (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile) | |
0x95, 0x06, // Report Count (6) | |
0x75, 0x08, // Report Size (8) | |
0x15, 0x00, // Logical Minimum (0) | |
0x26, 0xA4, 0x00, // Logical Maximum (164) | |
0x05, 0x07, // Usage Page (Kbrd/Keypad) | |
0x19, 0x00, // Usage Minimum (0x00) | |
0x29, 0xA4, // Usage Maximum (0xA4) | |
0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0xC0, // End Collection | |
Report1 | |
------- | |
0x05, 0x01, // Usage Page (Generic Desktop Ctrls) | |
0x09, 0x02, // Usage (Mouse) | |
0xA1, 0x01, // Collection (Application) | |
0x09, 0x01, // Usage (Pointer) | |
0xA1, 0x00, // Collection (Physical) | |
0x05, 0x09, // Usage Page (Button) | |
0x19, 0x01, // Usage Minimum (0x01) | |
0x29, 0x05, // Usage Maximum (0x05) | |
0x15, 0x00, // Logical Minimum (0) | |
0x25, 0x01, // Logical Maximum (1) | |
0x75, 0x01, // Report Size (1) | |
0x95, 0x05, // Report Count (5) | |
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0x75, 0x03, // Report Size (3) | |
0x95, 0x01, // Report Count (1) | |
0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0x05, 0x01, // Usage Page (Generic Desktop Ctrls) | |
0x09, 0x30, // Usage (X) | |
0x09, 0x31, // Usage (Y) | |
0x09, 0x38, // Usage (Wheel) | |
0x15, 0x81, // Logical Minimum (-127) | |
0x25, 0x7F, // Logical Maximum (127) | |
0x75, 0x08, // Report Size (8) | |
0x95, 0x03, // Report Count (3) | |
0x81, 0x06, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position) | |
0xC0, // End Collection | |
0xC0, // End Collection | |
Report2 | |
------- | |
0x05, 0x01, // Usage Page (Generic Desktop Ctrls) | |
0x09, 0x06, // Usage (Keyboard) | |
0xA1, 0x01, // Collection (Application) | |
0x05, 0x07, // Usage Page (Kbrd/Keypad) | |
0x19, 0xE0, // Usage Minimum (0xE0) | |
0x29, 0xE7, // Usage Maximum (0xE7) | |
0x15, 0x00, // Logical Minimum (0) | |
0x25, 0x01, // Logical Maximum (1) | |
0x75, 0x01, // Report Size (1) | |
0x95, 0x08, // Report Count (8) | |
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0x95, 0x01, // Report Count (1) | |
0x75, 0x08, // Report Size (8) | |
0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0x95, 0x3E, // Report Count (62) | |
0x75, 0x08, // Report Size (8) | |
0x15, 0x00, // Logical Minimum (0) | |
0x25, 0x65, // Logical Maximum (101) | |
0x05, 0x07, // Usage Page (Kbrd/Keypad) | |
0x19, 0x00, // Usage Minimum (0x00) | |
0x29, 0x65, // Usage Maximum (0x65) | |
0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0xC0, // End Collection | |
Report3 | |
------- | |
0x05, 0x0C, // Usage Page (Consumer) | |
0x09, 0x01, // Usage (Consumer Control) | |
0xA1, 0x01, // Collection (Application) | |
0x05, 0x0C, // Usage Page (Consumer) | |
0x15, 0x00, // Logical Minimum (0) | |
0x25, 0x01, // Logical Maximum (1) | |
0x75, 0x01, // Report Size (1) | |
0x95, 0x0D, // Report Count (13) | |
0x09, 0xE2, // Usage (Mute) | |
0x09, 0xE9, // Usage (Volume Increment) | |
0x09, 0xEA, // Usage (Volume Decrement) | |
0x09, 0xCD, // Usage (Play/Pause) | |
0x09, 0xB7, // Usage (Stop) | |
0x09, 0xB5, // Usage (Scan Next Track) | |
0x09, 0xB6, // Usage (Scan Previous Track) | |
0x0A, 0x92, 0x01, // Usage (AL Calculator) | |
0x0A, 0x94, 0x01, // Usage (AL Local Machine Browser) | |
0x0A, 0x23, 0x02, // Usage (AC Home) | |
0x0A, 0x8A, 0x01, // Usage (AL Email Reader) | |
0x0A, 0x83, 0x01, // Usage (AL Consumer Control Configuration) | |
0x0A, 0x21, 0x02, // Usage (AC Search) | |
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0x75, 0x13, // Report Size (19) | |
0x95, 0x01, // Report Count (1) | |
0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) | |
0xC0, // End Collection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment