X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fkeymap.h;h=e1a6f992e64cf47e0201790ddce1b8f069c6c06a;hb=c67ae2a6b546c822759352586c14cd9dccbbe0ff;hp=bf32acedad7fd08e05894f22e4607816277534cc;hpb=e59fb6f908e3e05ed135bf6d004524b0b6bf9119;p=tmk_firmware.git diff --git a/common/keymap.h b/common/keymap.h index bf32ace..e1a6f99 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);