aboutsummaryrefslogtreecommitdiffstats
path: root/app/dummy_kb.c
blob: a1d61c77114afc5fb23b19370d7bb2efa146540d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "project.h"

const struct usb_interface_descriptor dummy_kb_iface = {
  .bLength = USB_DT_INTERFACE_SIZE,
  .bDescriptorType = USB_DT_INTERFACE,
  .bInterfaceNumber = 0,
  .bAlternateSetting = 0,
  .bNumEndpoints = 0,
  .bInterfaceClass = 0xff,
  .bInterfaceSubClass = 0,
  .bInterfaceProtocol = 0,
  .iInterface = 0,
};


const struct usb_iface_assoc_descriptor dummy_kb_iface_assoc = {
  .bLength = USB_DT_INTERFACE_ASSOCIATION_SIZE,
  .bDescriptorType = USB_DT_INTERFACE_ASSOCIATION,
  .bFirstInterface = 0,
  .bInterfaceCount = 1,
  .bFunctionClass = 0xff,
  .bFunctionSubClass = 0,
  .bFunctionProtocol = 0,
  .iFunction = 4,
};