diff options
| author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-02 12:54:03 +0000 | 
|---|---|---|
| committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-02 12:54:03 +0000 | 
| commit | 8c7ee88332652e7e79f6c1e4baacabe2183f7e8e (patch) | |
| tree | a26ca60a089015822fa81ef44567927c1d8e334d /app/dummy_kb.c | |
| parent | 3d48137c00511b3f2d35511482d1a76f8d06382d (diff) | |
| download | clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.tar.gz clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.tar.bz2 clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.zip | |
working, with hybrid FLL/PLL, new refclk input and support for max7219 displays, neo 5 and neo 7 and a bazillion other fixes
Diffstat (limited to 'app/dummy_kb.c')
| -rw-r--r-- | app/dummy_kb.c | 26 | 
1 files changed, 26 insertions, 0 deletions
| diff --git a/app/dummy_kb.c b/app/dummy_kb.c new file mode 100644 index 0000000..a1d61c7 --- /dev/null +++ b/app/dummy_kb.c @@ -0,0 +1,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, +}; + | 
