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

usb_extra.h 332B

1234567891011121314151617181920
  1. #ifndef USB_EXTRA_H
  2. #define USB_EXTRA_H 1
  3. #include <stdint.h>
  4. #include "usb.h"
  5. #define EXTRA_INTERFACE 3
  6. #define EXTRA_ENDPOINT 4
  7. #define EXTRA_SIZE 2
  8. #define EXTRA_BUFFER EP_DOUBLE_BUFFER
  9. #define AUDIO_VOL_UP (1<<0)
  10. #define AUDIO_VOL_DOWN (1<<1)
  11. #define AUDIO_MUTE (1<<2)
  12. int8_t usb_extra_send(uint8_t bits);
  13. #endif