Hi, I'm trying to make 65% keyboard from scratch. I finnished my own pcb design, I used ATMega32u4 microprocessor and I have usb type-C on my board, no LED, and I ordered it from jlcpcb factory, it will be delivered soon. I'm now wondering how to choose a right keyboard on QMK Configurator for a proper firmware, because pcb isn't bought it is my own design I'm not sure what to do for this problem. Thanks in advance for your answers and time.
Typically two approaches.
Mine as a reference: https://github.com/myst729/qmk_firmware/tree/master/keyboards/dg/xtrm
if you designed your own PCB you will obviously not be able to use any existing keyboard in qmk but will have to create a new one with the matrix mapping that matches your own board.
like myst729 suggested, copying an existing keyboard and making your changes to that is probably the best option.
you should also read the documentation on how to create the layout macros for the matrix mapping and how to set all the necessary configuration parameters for the board.
/* key matrix pins */
/* This marks, { D2, D3, F1, B7 }, and { F0, D5, F4, F5, F6, F7, C7, C6, B6, B5, B4, D4 }, is it automaticaly assigned or is there any rule for this */
THIS IS YOUR GENERATED KEYMAP
#define KEYMAP(
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011,
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K111,
K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211,
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311
) {
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 },
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO, K111 },
{ K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 },
{ K300, K301, KC_NO, K303, K304, K305, K306, K307, K308, K309, K310, K311 }
}
Mine should be something close to it due to similar key numeration:

But will the pin mark be the same, I mean the only difference in code shuold be the matrix.
The pins for the rows and columns in QMK are the numbers of the pins on the controller where the rows and columns connect to.
You have to fill this out according to your PCB design. Otherwise QMK won't know how the matrix is wired up.
The keymap macro defines how the actual matrix is wired up electrically (in the second part of it) and how it looks physically on the PCB (the first part of the macro).
There is no way to generate this stuff automatically since QMK can't know how the stuff is wired up without your help.
You have to fill out all that information by hand.
Yeah, It is now more understandable for me, like on microcontroller there are pin marks on it, like PB6,PF6..., I saw some tip from mechmerlin on stream the day before and he found some site to generete it (https://kle2qmk.mrkeebs.com/) from keyboard layout editor raw data. But you have to put correct pin numbers in layout editor, but eventualy it was more precise doing it manually.
But in my case these PB6 is that like P for PIN and B6 for actual pin number?
And again, thanks for answers, you were so helpfull, this is my first time doing something like this.
Exactly.
PB6 would be called B6 in the QMK configuration.
Thank you so much! 馃檱 馃槉
Hope I will make it work.
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
For maintainers: Please label with bug, in progress, on hold, discussion or to do to prevent the issue from being re-flagged.
Most helpful comment
The pins for the rows and columns in QMK are the numbers of the pins on the controller where the rows and columns connect to.
You have to fill this out according to your PCB design. Otherwise QMK won't know how the matrix is wired up.
The keymap macro defines how the actual matrix is wired up electrically (in the second part of it) and how it looks physically on the PCB (the first part of the macro).
There is no way to generate this stuff automatically since QMK can't know how the stuff is wired up without your help.
You have to fill out all that information by hand.