change HID name to SQ01-PDD-D1

This commit is contained in:
hyx 2026-05-07 23:50:49 +08:00
parent a42c99e284
commit b473dea1bb
2 changed files with 29 additions and 13 deletions

View File

@ -6,7 +6,7 @@
#endif #endif
#define CVERSION "1-3-9" #define CVERSION "1-4-1"
#define VERSIONLEN 5 #define VERSIONLEN 5
#define DEVICEMOD "SQ01-PDD-D1" #define DEVICEMOD "SQ01-PDD-D1"

View File

@ -177,20 +177,36 @@ const u8 usbHidPosProductStringDescriptor[] = {
* Const Name : usbHidKbdProductStringDescriptor * Const Name : usbHidKbdProductStringDescriptor
* Description: String Descriptor for get descriptor standard request * Description: String Descriptor for get descriptor standard request
**************************************************************************/ **************************************************************************/
//const u8 usbHidKbdProductStringDescriptor[] = {
//0x18,
//0x03,
//0x48, 0x00, //H
//0x49, 0x00, //I
//0x44, 0x00, //D
//0x4B, 0x00, //K
//0x65, 0x00, //e
//0x79, 0x00, //y
//0x42, 0x00, //B
//0x6F, 0x00, //o
//0x61, 0x00, //a
//0x72, 0x00, //r
//0x64, 0x00 //d
//};
const u8 usbHidKbdProductStringDescriptor[] = { const u8 usbHidKbdProductStringDescriptor[] = {
0x18, 0x18, //
0x03, 0x03,
0x48, 0x00, //H 0x53,0x00, // S
0x49, 0x00, //I 0x51,0x00, // Q
0x44, 0x00, //D 0x30,0x00, // 0
0x4B, 0x00, //K 0x31,0x00, // 1
0x65, 0x00, //e 0x2D,0x00, // -
0x79, 0x00, //y 0x50,0x00, // P
0x42, 0x00, //B 0x44,0x00, // D
0x6F, 0x00, //o 0x44,0x00, // D
0x61, 0x00, //a 0x2D,0x00, // -
0x72, 0x00, //r 0x44,0x00, // D
0x64, 0x00 //d 0x31,0x00 // 1
}; };
/*************************************************************************** /***************************************************************************