forked from mirrors/qmk_userspace
added protocol stack: pjrc, vusb
This commit is contained in:
parent
5552b5afea
commit
acc974c64b
55 changed files with 836 additions and 1832 deletions
16
led.h
Normal file
16
led.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef LED_H
|
||||
#define LED_H
|
||||
#include "stdint.h"
|
||||
|
||||
|
||||
/* keyboard LEDs */
|
||||
#define USB_LED_NUM_LOCK 0
|
||||
#define USB_LED_CAPS_LOCK 1
|
||||
#define USB_LED_SCROLL_LOCK 2
|
||||
#define USB_LED_COMPOSE 3
|
||||
#define USB_LED_KANA 4
|
||||
|
||||
|
||||
void led_set(uint8_t usb_led);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue