keychron_qmk_firmware/pjrc/usb_keyboard.h

20 lines
419 B
C
Raw Normal View History

#ifndef USB_KEYBOARD_H
#define USB_KEYBOARD_H 1
#include <stdint.h>
2010-10-23 22:17:26 +06:00
#include <stdbool.h>
2010-09-30 11:17:01 +06:00
#include "usb.h"
2011-02-12 21:15:51 +06:00
#include "host.h"
2010-11-03 14:33:20 +06: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;
2011-02-12 21:15:51 +06:00
int8_t usb_keyboard_send_report(report_keyboard_t *report);
void usb_keyboard_print_report(report_keyboard_t *report);
#endif