]> git.gir.st - tmk_keyboard.git/blob - pjrc/usb_extra.h
Added PS/2 multimeda key support.
[tmk_keyboard.git] / pjrc / usb_extra.h
1 #ifndef USB_EXTRA_H
2 #define USB_EXTRA_H 1
3 /*
4 * Enhanced keyboard features for Windows:
5 * Audio control and System control
6 *
7 * http://www.microsoft.com/whdc/archive/w2kbd.mspx
8 */
9
10 #include <stdint.h>
11 #include "usb.h"
12
13
14 #define EXTRA_INTERFACE 3
15 #define EXTRA_ENDPOINT 4
16 #define EXTRA_SIZE 8
17 #define EXTRA_BUFFER EP_DOUBLE_BUFFER
18
19
20 int8_t usb_extra_consumer_send(uint16_t bits);
21 int8_t usb_extra_system_send(uint16_t bits);
22
23 #endif
Imprint / Impressum