Many changes: added commandhandler module, macro functions, toggle function and
speed settings. Removed key repetition (no idea why it was there).
This commit is contained in:
@ -13,4 +13,16 @@
|
||||
#define LED_COMPOSE 0x08 ///< compose LED on a boot-protocol keyboard
|
||||
#define LED_KANA 0x10 ///< kana LED on a boot-protocol keyboard
|
||||
|
||||
|
||||
/**
|
||||
* This structure can be used as a container for a single 'key'. It consists of
|
||||
* the key-code and the modifier-code.
|
||||
*/
|
||||
typedef struct {
|
||||
uint8_t mode;
|
||||
uint8_t key;
|
||||
} Key;
|
||||
|
||||
void sendString(char* string);
|
||||
void sendKey(Key keytosend);
|
||||
void usbSendReportBuffer(uint8_t* reportbuffer, uint8_t size);
|
||||
|
Reference in New Issue
Block a user