From da0914ccce03522ad405ac70f1d1ad5a90844a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Ass=C3=A9nat?= Date: Sat, 23 Nov 2013 02:24:46 +0000 Subject: [PATCH] Declare Japanese language (for keyboard) --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index f4b667e..351e163 100644 --- a/main.c +++ b/main.c @@ -82,10 +82,10 @@ uchar my_usbDescriptorConfiguration[] = { /* USB configuration descriptor */ 9, /* sizeof(usbDescrHID): length of descriptor in bytes */ USBDESCR_HID, /* descriptor type: HID */ 0x01, 0x01, /* BCD representation of HID version */ - 0x00, /* target country code */ - 0x01, /* number of HID Report (or other HID class) Descriptor infos to follow */ - 0x22, /* descriptor type: report */ - USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH, 0, /* total length of report descriptor */ +/* 22 */ 15, /* target country code : 15 = Japan */ +/* 23 */ 0x01, /* number of HID Report (or other HID class) Descriptor infos to follow */ +/* 24 */ 0x22, /* descriptor type: report */ +/* 25 */ USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH, 0, /* total length of report descriptor */ //#endif #if USB_CFG_HAVE_INTRIN_ENDPOINT /* endpoint descriptor for endpoint 1 */ 7, /* sizeof(usbDescrEndpoint) */