I can't figure out what I'm doing here... I've tried to adapt this firmware to my project, and I had a C programmer try to assist me, and we've gotten nowhere, this is really damn confusing, I have the primary and 1 function layer. It just does nothing after it's flashed. I'm using an Atmega32U4 (just the chip, not a teensy). Can someone put this into something that would actually work since I clearly have no idea what I'm doing, and I've spent weeks on this.
matrix pins:
Column pin configuration
col: 0 1 2 3 4 5 6 7 8 9 10 11
pin: B4 B5 D6 D7 C7 B6 D3 B3 B7 D0 D1 D2
Row pin configuration
row: 0 1 2 3 4
pin: D5 C6 E2 B0 E6
#define KEYMAP( \
K03, K04, K07, K08, \
K10, K11, K12, K13, K14, K15, K17, K18, K19, K1A, K1B, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, \
) { \
{ KC_NO, KC_NO, KC_NO, KC_##K03, KC_##K04, KC_NO, KC_NO, KC_##K07, KC_##K08, KC_NO, KC_NO, KC_NO }, \
{ KC_##K10, KC_##K11, KC_##K12, KC_##K13, KC_##K14, KC_##K15, KC_NO, KC_##K17, KC_##K18, KC_##K19, KC_##K1A, KC_##K1B }, \
{ KC_##K20, KC_##K21, KC_##K22, KC_##K23, KC_##K24, KC_##K25, KC_##K26, KC_##K27, KC_##K28, KC_##K29, KC_##K2A, KC_##K2B }, \
{ KC_##K30, KC_##K31, KC_##K32, KC_##K33, KC_##K34, KC_##K35, KC_##K36, KC_##K37, KC_##K38, KC_##K39, KC_##K3A, KC_##K3B }, \
{ KC_##K40, KC_##K41, KC_##K42, KC_##K43, KC_##K44, KC_##K45, KC_##K46, KC_##K47, KC_##K48, KC_##K49, KC_##K4A, KC_##K4B } \
}
/* Keymap 0: Default Layer
* ,---------------------------------------------------.
* | ESC| \| ;| DEL |
* |---------------------------------------------------|
* | Q| W| E| R| T| ALT| Y| U| I| O| P|
* |---------------------------------------------------|
* | A| S| D| F| G| FN1| ENT| H| J| K| L| '|
* |---------------------------------------------------|
* | Z | X| C| V| B|LCTL|BSPC| N| M| ,| .| /|
* |---------------------------------------------------|
* | 1| 2| 3| 4| 5| SPC|LSFT| 6| 7| 8| 9| 0|
* `---------------------------------------------------'
*/
KEYMAP(
ESC,BSLS, SCLN, DEL, \
Q, W, E, R, T, ALT, Y, U, I, O, P, \
A, S, D, F, G, FN1, ENT, H, J, K, L,QUOT, \
Z, X, C, V, B,LCTL,BSPC, N, M,COMM, DOT,SLSH, \
1, 2, 3, 4, 5, SPC,LSFT, 6, 7, 8, 9, 0),
/* Overlay 1
* ,----------------------------------------------------------.
* | `| -| =| DEL |
* |----------------------------------------------------------|
* | Q| W| E| R| T| ALT| PGUP|HOME| UP| END|PSCR|
* |----------------------------------------------------------|
* | A| S| D| F| G| | ENT|PGDN|LEFT|DOWN|RGHT| '|
* |----------------------------------------------------------|
* | Z | X| C| V| B|LCTL| F12| N| M| [| ]| /|
* |----------------------------------------------------------|
* | F1| F2| F3| F4| F5| F11|CAPS| F6| F7| F8| F9| F10|
* `----------------------------------------------------------'
*/
KEYMAP(
GRV,MINS, EQL,BSPC, \
Q, W, E, R, T, ALT, PGUP,HOME, UP, END,PSCR, \
A, S, D, F, G,TRNS, ENT,PGDN,LEFT,DOWN,RGHT,QUOT, \
Z, X, C, V, B,LCTL, F12, N, M,LBRC,RBRC,SLSH, \
F1, F2, F3, F4, F5, F11,CAPS, F6, F7, F8, F9, F10),
LEDs are on B1 and B2 for caps and Fn layer.
Command combo needs to be L Shift and alt(L Alt)