add mouse function.
This commit is contained in:
parent
e7c6839d2d
commit
d3b1af9572
14 changed files with 281 additions and 123 deletions
|
@ -2,11 +2,11 @@
|
|||
#define USB_KEYBOARD_H 1
|
||||
|
||||
#include <stdint.h>
|
||||
#include "usb_device.h"
|
||||
#include "usb.h"
|
||||
|
||||
|
||||
#define KEYBOARD_INTERFACE 0
|
||||
#define KEYBOARD_ENDPOINT 3
|
||||
#define KEYBOARD_ENDPOINT 1
|
||||
#define KEYBOARD_SIZE 8
|
||||
#define KEYBOARD_BUFFER EP_DOUBLE_BUFFER
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue