Hello coders, It's been 2 days that I'm struggling with my AMJ40's firmware.
I've found a fonctional one on Github, but I want to edit the keymap. So I opened keymap_default with Mfile and changed the keymap.
Build the firmware, load it on AMJ40, but I'm back with the older keymap.
Do I need to change something else in Makefile, config.h or keymap_common.h ??
I tried removing driver, changing VID and PID, nothing worked.
Newbie there. Excuse me if this basic question have been already asked, but I've read build/keymap's core/faq and found nothing about this.
Edited keymap:
/* Keymap 0: Default Layer
* ,-------------------------------------------------.
* |Esc | Q| W| E| R| T| Y| U| I| O| P| Bs |
* |-------------------------------------------------|
* |Tab | A| S| D| F| G| H| J| K| L| Ent |
* |-------------------------------------------------|
* |Shift | Z| X| C| V| B| N| M| /| SFT|FN0|
* |-------------------------------------------------|
* |Ctrl|Win |Alt | Space | ' |Ctrl|
* `-------------------------------------------------'
*/
KEYMAP(
ESC, Q, W, E, R, T, Y, U, I, O, P, BSPC,\
TAB,A, S, D, F, G, H, J, K, L, ENT,\
LSFT, Z, X, C, V, B, N, M, SLSH,RSFT, FN0,\
LCTL,LGUI,LALT, SPC, QUOT,RCTL),
Original:
/* Keymap 0: Default Layer
* ,-------------------------------------------------.
* |Esc | Q| W| E| R| T| Y| U| I| O| P| Bs |
* |-------------------------------------------------|
* |Caps | A| S| D| F| G| H| J| K| L| Ent |
* |-------------------------------------------------|
* |Shift | Z| X| C| V| B| N| M| /| SFT|FN0|
* |-------------------------------------------------|
* |Ctrl|Win |Alt | Space | Alt |Ctrl|
* `-------------------------------------------------'
*/
KEYMAP(
ESC, Q, W, E, R, T, Y, U, I, O, P, BSPC,\
CAPS,A, S, D, F, G, H, J, K, L, ENT,\
LSFT, Z, X, C, V, B, N, M, SLSH,RSFT, FN0,\
LCTL,LGUI,LALT, SPC, RALT,RCTL),