|
|
@ -1,11 +1,11 @@ |
|
|
|
#ifndef DRIVER_INTERFACE_H |
|
|
|
#ifndef DRIVER_INTERFACE_H |
|
|
|
#define DRIVER_INTERFACE_H |
|
|
|
#define DRIVER_INTERFACE_H |
|
|
|
|
|
|
|
|
|
|
|
enum device_capacity_t |
|
|
|
typedef enum DEVICE_CAPACITY |
|
|
|
{ |
|
|
|
{ |
|
|
|
DEVICE_CAPACITY_MOUSE, |
|
|
|
DEVICE_CAPACITY_MOUSE, |
|
|
|
DEVICE_CAPACITY_WIRELESS, |
|
|
|
DEVICE_CAPACITY_WIRELESS, |
|
|
|
}; |
|
|
|
} device_capacity_t; |
|
|
|
|
|
|
|
|
|
|
|
void driver_init(); // Initialization
|
|
|
|
void driver_init(); // Initialization
|
|
|
|
uint32_t driver_getkey(); // Calls to this function must return USB keys that this driver registers, until 0
|
|
|
|
uint32_t driver_getkey(); // Calls to this function must return USB keys that this driver registers, until 0
|
|
|
|