Keyboard firmwares for Atmel AVR and Cortex-M
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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