Declare Japanese language (for keyboard)

This commit is contained in:
Raphaël Assénat 2013-11-23 02:24:46 +00:00
parent 2449b650cf
commit da0914ccce
1 changed files with 4 additions and 4 deletions

8
main.c
View File

@ -82,10 +82,10 @@ uchar my_usbDescriptorConfiguration[] = { /* USB configuration descriptor */
9, /* sizeof(usbDescrHID): length of descriptor in bytes */ 9, /* sizeof(usbDescrHID): length of descriptor in bytes */
USBDESCR_HID, /* descriptor type: HID */ USBDESCR_HID, /* descriptor type: HID */
0x01, 0x01, /* BCD representation of HID version */ 0x01, 0x01, /* BCD representation of HID version */
0x00, /* target country code */ /* 22 */ 15, /* target country code : 15 = Japan */
0x01, /* number of HID Report (or other HID class) Descriptor infos to follow */ /* 23 */ 0x01, /* number of HID Report (or other HID class) Descriptor infos to follow */
0x22, /* descriptor type: report */ /* 24 */ 0x22, /* descriptor type: report */
USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH, 0, /* total length of report descriptor */ /* 25 */ USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH, 0, /* total length of report descriptor */
//#endif //#endif
#if USB_CFG_HAVE_INTRIN_ENDPOINT /* endpoint descriptor for endpoint 1 */ #if USB_CFG_HAVE_INTRIN_ENDPOINT /* endpoint descriptor for endpoint 1 */
7, /* sizeof(usbDescrEndpoint) */ 7, /* sizeof(usbDescrEndpoint) */