X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fkeycode_config.h;h=c15b0d32f870d8928d84b82877e12c86b0659a68;hb=6390033e8688550826a4bd3004a2e76568600657;hp=c41c08706c77039db6d1ce342075820b6e5da7c3;hpb=f6d1ce7863893e6dd0233c57f04b262f6808d78a;p=qmk_firmware.git diff --git a/quantum/keycode_config.h b/quantum/keycode_config.h index c41c08706..c15b0d32f 100644 --- a/quantum/keycode_config.h +++ b/quantum/keycode_config.h @@ -1,6 +1,9 @@ #include "eeconfig.h" #include "keycode.h" +#ifndef KEYCODE_CONFIG_H +#define KEYCODE_CONFIG_H + uint16_t keycode_config(uint16_t keycode); /* NOTE: Not portable. Bit field order depends on implementation */ @@ -18,4 +21,6 @@ typedef union { }; } keymap_config_t; -keymap_config_t keymap_config; \ No newline at end of file +extern keymap_config_t keymap_config; + +#endif /* KEYCODE_CONFIG_H */