From: tmk Date: Thu, 28 Jun 2012 14:54:54 +0000 (+0900) Subject: Make console compatible with PJRC hid_listen. X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=52011f08c9b4fcfc55817d24bdc4b4ff7b4fe06f;p=max%2Ftmk_keyboard.git Make console compatible with PJRC hid_listen. --- diff --git a/protocol/lufa/descriptor.c b/protocol/lufa/descriptor.c index e9925cca..59adcd18 100644 --- a/protocol/lufa/descriptor.c +++ b/protocol/lufa/descriptor.c @@ -130,8 +130,8 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM MouseReport[] = const USB_Descriptor_HIDReport_Datatype_t PROGMEM ConsoleReport[] = { - HID_RI_USAGE_PAGE(16, 0xFF00), /* Vendor Page 0 */ - HID_RI_USAGE(8, 0x01), /* Vendor Usage 1 */ + HID_RI_USAGE_PAGE(16, 0xFF31), /* Vendor Page(PJRC Teensy compatible) */ + HID_RI_USAGE(8, 0x74), /* Vendor Usage(PJRC Teensy compatible) */ HID_RI_COLLECTION(8, 0x01), /* Application */ HID_RI_USAGE(8, 0x02), /* Vendor Usage 2 */ HID_RI_LOGICAL_MINIMUM(8, 0x00),