Reorganization for use with the CMake "Modules"

- Include option is currently "hacked" and needs to be fixed
- Builds on Linux, but Mac and Windows needs to be tested
- Loader script generation isn't complete
This commit is contained in:
Jacob Alexander 2011-09-28 23:25:51 -07:00
parent 0415ba2481
commit b4e1868d19
19 changed files with 2910 additions and 7 deletions

16
USB/pjrc/usb_keyboard.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef usb_serial_h__
#define usb_serial_h__
#include <stdint.h>
void usb_init(void); // initialize everything
uint8_t usb_configured(void); // is the USB port configured
int8_t usb_keyboard_press(uint8_t key, uint8_t modifier);
int8_t usb_keyboard_send(void);
extern uint8_t keyboard_modifier_keys;
extern uint8_t keyboard_keys[6];
extern volatile uint8_t keyboard_leds;
#endif