qmk_firmware
qmk_firmware copied to clipboard
The keyboard name cannot be set to F12, the compilation can pass normally, but the computer recognizes it as a string of messy letters
The keyboard name cannot be set to F12, the compilation can pass normally, but the computer recognizes it as a string of messy letters 键盘名字不能设置F12,编译能正常通过,但是电脑识别出来是一串乱七八糟的字母
This is a known issue, it has to do with how the USB manufacturer and product strings are defined in the config, as bare text:
#define MANUFACTURER Keyboard Maker
#define PRODUCT Keyboard Name
rather than string literals:
#define MANUFACTURER "Keyboard Maker"
#define PRODUCT "Keyboard Name"
Which means the preprocessor will try to evaluate it and potentially mangle the result. Fixing this is on my todo list but it involves touching pretty much every keyboard in the repo at the same time as changing the core code that deals with these defines, so it may take some time.
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
For maintainers: Please label with bug
, in progress
, on hold
, discussion
or to do
to prevent the issue from being re-flagged.
This has been fixed in the develop branch.