Closed CommandLineDesign closed 4 years ago
I was looking at recent changes to the HHKB keyboard section and noticed this: https://github.com/qmk/qmk_firmware/pull/8618/files
Is it necessary to add the LAYOUT_JP
to the rules.mk in the same manner LAYOUT_60_hhkb
was added?
Edit: I pulled QMK and tested compiling the default hhkb_jp keymap, and it seems to work fine.
After manually running qmk json2c with the exported json file, I am able to compile and flash the keyboard successfully, however the layout does not match the UI's config, there seems to be an incorrect layout definition for HHKB_JP
I believe the issue is that the LAYOUT_JP
entry in /keyboards/hhkb/info.json
is incorrect.
The Enter key: is in "y": 1
and it should be in "y": 2
https://github.com/qmk/qmk_firmware/blob/master/keyboards/hhkb/info.json#L103
Edit: I'll be glad to make a PR vs QMK_Firmware with the fix I identified but I have two questions hopefully someone can help me with:
The reason for this is the existing HHKB codebase requires a define to be set in order to compile firmware for the board, but Configurator's API doesn't have any support for changing build options or setting extra defines, so only the ANSI version can be compiled.
There's actually already a PR open that will allow the HHKB JP to be compiled, but it won't land on QMK until the end of the month because it's part of the current Breaking Changes cycle.
Edit: Also, yes, the layout definition for LAYOUT_JP is incorrect, which I discovered this morning while looking into the aforementioned PR.
Your issue as it stands isn't a WONTFIX
, but given the current state of things it'd be best to leave this alone for now.
@noroadsleft Great, thanks for your reply! 🙏
This is fixed btw. Sorry for the late notice.
It seems there are a lot of issues for HHKB-JP Layout. For one, the default keymap is blank. For two, it seems it's not possible to compile even a very simple layout for it.
Here's an example from a very simple test with no functions or layers: