Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

led.h 321B

12345678910111213141516
  1. #ifndef LED_H
  2. #define LED_H
  3. #include "stdint.h"
  4. /* keyboard LEDs */
  5. #define USB_LED_NUM_LOCK 0
  6. #define USB_LED_CAPS_LOCK 1
  7. #define USB_LED_SCROLL_LOCK 2
  8. #define USB_LED_COMPOSE 3
  9. #define USB_LED_KANA 4
  10. void led_set(uint8_t usb_led);
  11. #endif