Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot customize a VIA keymap #41

Closed
tzeitim opened this issue Mar 26, 2023 · 1 comment
Closed

Cannot customize a VIA keymap #41

tzeitim opened this issue Mar 26, 2023 · 1 comment

Comments

@tzeitim
Copy link

tzeitim commented Mar 26, 2023

Not sure if this is a problem for via or qmk but since I am using the dilemma this repo was my first choice. Any suggestions of a better forum are welcome.

After having compiled a via keymap it is impossible to generate never versions of keymap.c (like this), even when using -c
For example:

qmk compile -kb bastardkb/dilemma/3x5_2/assembled -km via -c 

The compilation is successful and flashing works too, but they don't reflect changes on keymap.c.

I have tried to purposely break the syntax of keymap.c as a control and, as expected, compilation doesn't complete.

I have tried freshly cloned repose, running make distclean within qmk_firmware and nothing works.

Non-VIA-based keymaps work fine so my setup is functional, at least at that level.

As an example of what I mean with 'never versions of keymap.c':

This is the original

#define LAYOUT_LAYER_BASE                                                                     \
       KC_Q,    KC_W,    KC_E,    KC_R,    KC_T,    KC_Y,    KC_U,    KC_I,    KC_O,  KC_P, \
       KC_A,    KC_S,    KC_D,    KC_F,    KC_G,    KC_H,    KC_J,    KC_K,    KC_L, KC_QUOT, \
       KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    KC_N,    KC_M, KC_COMM,  KC_DOT, KC_SLSH, \
                               TAB_FUN, SPC_NAV, ENT_SYM, BSP_NUM

A newer version (changed KC_P to QK_BOOT)

#define LAYOUT_LAYER_BASE                                                                     \
       KC_Q,    KC_W,    KC_E,    KC_R,    KC_T,    KC_Y,    KC_U,    KC_I,    KC_O,  QK_BOOT, \
       KC_A,    KC_S,    KC_D,    KC_F,    KC_G,    KC_H,    KC_J,    KC_K,    KC_L, KC_QUOT, \
       KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    KC_N,    KC_M, KC_COMM,  KC_DOT, KC_SLSH, \
                               TAB_FUN, SPC_NAV, ENT_SYM, BSP_NUM
@tzeitim
Copy link
Author

tzeitim commented Mar 26, 2023

After some help in other forums I was redirected to this ref that explains how to clear the EEPROM.

After doing it (added the QK_CLEAR_EEPROM keycode to a flashable keymap) this issue was resolved.

@tzeitim tzeitim closed this as completed Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant