Mercurial > louis > kiibohd-controller
view usb_keyboard.h @ 12:d42d16dd7393
Moving the layouts to a separate file.
author | Jacob Alexander <triplehaata@gmail.com> |
---|---|
date | Wed, 30 Mar 2011 17:51:28 -0700 |
parents | 43dfb6e4e697 |
children |
line wrap: on
line source
#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