X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=usb.h;h=cb2f6a223289147faa89bd329e57532cc0ae4433;hb=c8e1ad8c91e8edfd7a5c18d2b593ebf873924b13;hp=c1347f10ddc99f96ae836d541c50e8649c1a6111;hpb=d3b1af9572e123c939fc355474bf12402c86d292;p=max%2Ftmk_keyboard.git diff --git a/usb.h b/usb.h index c1347f10..cb2f6a22 100644 --- a/usb.h +++ b/usb.h @@ -71,6 +71,9 @@ uint8_t usb_configured(void); // is the USB port configured #define HID_SET_REPORT 9 #define HID_SET_IDLE 10 #define HID_SET_PROTOCOL 11 +#define HID_REPORT_INPUT 1 +#define HID_REPORT_OUTPUT 2 +#define HID_REPORT_FEATURE 3 // CDC (communication class device) #define CDC_SET_LINE_CODING 0x20 #define CDC_GET_LINE_CODING 0x21