Dear #askFedi,

do you have a copy of the #40percentclub Git?

I've tried porting #Vial for #Gherkin, but messed up the layout naïvely thinking it was a 3×10 matrix and I would like to look at the schematics to prepare a #KLE layout.

(Also this somehow messed up the further layers with the QK_BOOT key, which makes the whole thing an issue for later.)

Unless someone has an idea how to pull it from the #QMK repo.

#MechanicalKeyboards #mkb

@dzwiedziu The QMK repo has the mapping from the physical layout to the matrix positions starting here: https://github.com/qmk/qmk_firmware/blob/aa5a6d38de72e9aa2547302c64769f0536de1de6/keyboards/40percentclub/gherkin/info.json#L26
It is a 5 row, 6 column matrix. Per https://github.com/qmk/qmk_firmware/blob/master/keyboards/40percentclub/gherkin/pro_micro/keyboard.json the Pro Micro version has the columns on pins B4, E6, D7, C6, D4, and D0 and the rows on F7, B1, B3, B2, and B6. Similarly, https://github.com/qmk/qmk_firmware/blob/master/keyboards/40percentclub/gherkin/kb2040/keyboard.json has the pins used for the KB2040 version.
qmk_firmware/keyboards/40percentclub/gherkin/info.json at aa5a6d38de72e9aa2547302c64769f0536de1de6 · qmk/qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families - qmk/qmk_firmware

GitHub

@ajwk Yeah, I've transplanted that and before it worked for QMK itself (with one quirk that I bought a mirrored layout).

I've messed up the `vial.json` KLE part.
And searching for it I've saw that I've missed the option to use the `LAYOUT` macro (see: https://get.vial.today/docs/porting-to-via.html#following-an-existing-qmk-layout). So maybe I'll salvage this without gerbers.

So thanks for juggling my mind.

Yet still I'd like for such project files to be preserved for it's own sake.

Build support 1 - Create JSON

Vial is an open-source cross-platform (Windows, Linux and Mac) GUI and a QMK fork for configuring your keyboard in real time.

Vial
@dzwiedziu There are gerbers (but no schematics) for one version of Gherkin in the 'keyboard/gherkin/pcb' folder of this fork of the TMK repo: https://github.com/di0ib/tmk_keyboard/tree/master/keyboard/gherkin/pcb
tmk_keyboard/keyboard/gherkin/pcb at master · di0ib/tmk_keyboard

Keyboard firmwares for Atmel AVR and Cortex-M. Contribute to di0ib/tmk_keyboard development by creating an account on GitHub.

GitHub