X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fkeymap.h;h=e1a6f992e64cf47e0201790ddce1b8f069c6c06a;hb=6c06b9031fd09479d552f9750a3b1cfe259678fd;hp=bf32acedad7fd08e05894f22e4607816277534cc;hpb=4e93b3fa67d3b8170de2f05322738e08ac17948e;p=qmk_firmware.git diff --git a/common/keymap.h b/common/keymap.h index bf32aceda..e1a6f992e 100644 --- a/common/keymap.h +++ b/common/keymap.h @@ -35,7 +35,7 @@ typedef union { bool no_gui:1; bool swap_grave_esc:1; bool swap_backslash_backspace:1; - bool reserved:1; + bool nkro:1; }; } keymap_config_t; keymap_config_t keymap_config; @@ -43,7 +43,7 @@ keymap_config_t keymap_config; /* translates key to keycode */ -uint8_t keymap_key_to_keycode(uint8_t layer, key_t key); +uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key); /* translates Fn keycode to action */ action_t keymap_fn_to_action(uint8_t keycode);