Get *basic* USB report sending working.
This commit is contained in:
parent
fe961d54a3
commit
a63a773983
8 changed files with 126 additions and 11 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <devicetree.h>
|
||||
|
||||
#include "kscan.h"
|
||||
#include "usb_hid.h"
|
||||
|
||||
void main(void)
|
||||
{
|
||||
|
|
@ -18,4 +19,9 @@ void main(void)
|
|||
printk("Keyboard Scan Init Failed\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (zmk_usb_hid_init() < 0) {
|
||||
printk("USB HID Init Failed\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue