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:
2009-02-14 21:11:43 +00:00
parent 68abf87a9c
commit ced5a39988
9 changed files with 263 additions and 19 deletions

View File

@ -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);