2010-09-23 20:23:50 +09:00
|
|
|
#ifndef USB_KEYBOARD_H
|
|
|
|
#define USB_KEYBOARD_H 1
|
|
|
|
|
|
|
|
#include <stdint.h>
|
2010-10-24 01:17:26 +09:00
|
|
|
#include <stdbool.h>
|
2010-09-30 14:17:01 +09:00
|
|
|
#include "usb.h"
|
2011-02-13 00:15:51 +09:00
|
|
|
#include "host.h"
|
2010-09-23 20:23:50 +09:00
|
|
|
|
|
|
|
|
2010-11-03 17:33:20 +09:00
|
|
|
extern uint8_t usb_keyboard_protocol;
|
|
|
|
extern uint8_t usb_keyboard_idle_config;
|
|
|
|
extern uint8_t usb_keyboard_idle_count;
|
|
|
|
extern volatile uint8_t usb_keyboard_leds;
|
|
|
|
|
2010-12-08 01:47:57 +09:00
|
|
|
|
2011-02-13 00:15:51 +09:00
|
|
|
int8_t usb_keyboard_send_report(report_keyboard_t *report);
|
|
|
|
void usb_keyboard_print_report(report_keyboard_t *report);
|
2010-09-23 20:23:50 +09:00
|
|
|
|
|
|
|
#endif
|