How to make dvorak programming keyboard in M60

hi,guys
I got the M60 PCB, and it works excellently, now I want to set the dvorak programming keyboard as below https://en.wikipedia.org/wiki/File:KB_Programmer_Dvorak.svg
I need separate shift pair keys like { vs [ and \ vs | to reset key ,but I cant tear down them and remap the byte code.
I saw the LAYER_MODS ,etc… function in action_code.py ,but still don’t know how to separate the character mapping byte code
does anyone have some clue?

It seems the programmer dvorak keyboard layout is a customized dvorak layout. To support it, we need to remap some keycodes when a Shift key is pressed.
For example, we can remap the keycodes at https://github.com/makerdiary/python-keyboard/blob/main/keyboard/hid.py#L40-L72

1 Like