ruiqimao / qmkbuilder

Online GUI for QMK Firmware
http://kbfirmware.com
GNU General Public License v3.0
382 stars 123 forks source link

Wire keys directly to pins #35

Open danielo515 opened 6 years ago

danielo515 commented 6 years ago

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 commented 6 years ago

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