kiibohd / configurator

Client-side component of the configurator
GNU General Public License v3.0
206 stars 35 forks source link

Ergodox import map missing right hand side #23

Open jordandcarter opened 7 years ago

jordandcarter commented 7 years ago

If I import my json keymap the right hand side of the keyboard fails to render.

I tried importing my old keymap from a while ago. After it made the RHS disappear I downloaded a fresh default one from website and it has the same effect.

macOS 10.13 v0.1.0-alpha6 configurator_bug

jbondeson commented 7 years ago

I know exactly what this is!

The ergodox hands each emit the exact same scancodes so to make them unique I added a “board” property items in the matrix. Each hand gets a 1 or a 0 (forget offhand which is which).

I use the combo of scancode and board to make a unique key for react, and if it duplicates you’ll only see one half.

I will need to add a fixup step to the import to add them back in.

Similar issue will occur with the WhiteFox headers.