qmkbuilder icon indicating copy to clipboard operation
qmkbuilder copied to clipboard

Wire keys directly to pins

Open danielo515 opened this issue 7 years ago • 1 comments

Hello,

There are some cases where you have so few keys (ej: a 9 key macro pad) that it's way easier to attach each key to a single pin than building a matrix. Is there a way to specify this on your tool ?

Thanks in advance

danielo515 avatar Nov 27 '17 11:11 danielo515

FInally I figured it out I'm compiling here the proper steps so anyone else can follow them easily. The scenario is as follows: you have an arduino pro micro, with enough pins for your 3x3 macro keypad, so you want to save some diodes and don't use a matrix.

  1. The first step is to create a 9x1 layout at keyboard-layout-editor. You can take this one as [[example|http://www.keyboard-layout-editor.com/#/gists/63503f3118a7a71aadbdfb23e743716c]]
  2. Then you want to copy the info at the raw data section, and paste (or import it) into https://kbfirmware.com/
  3. Probably the most confusing part is the pinout. Leave the rows at B0, which seems to mean ground.
  4. Set the pins on the columns making use of this this schema: 04a3e694-22b3-11e7-8a1f-46b9376ae991 just remove the letter P and you will have the correct pin. EJ: PD1 -> D1 which is labeled as 2 on the arduino
  5. Download the .hex file and burn it using QMK toolbox

DONE! It is working fine for me

danielo515 avatar Dec 09 '17 10:12 danielo515