X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Fcommand.h;h=d9d89ba0f1ec104cc0e4c423ef7ad36940ac863c;hb=435e9b7bdb89043b3ce8b0cfc9b0f3ee4d298166;hp=92b18849bf31dcaeac1918084c0cb93503af8259;hpb=fd9e5d151028e428249e4c42921e4bf2597d5f0d;p=qmk_firmware.git diff --git a/tmk_core/common/command.h b/tmk_core/common/command.h index 92b18849b..d9d89ba0f 100644 --- a/tmk_core/common/command.h +++ b/tmk_core/common/command.h @@ -18,6 +18,8 @@ along with this program. If not, see . #ifndef COMMAND_H #define COMMAND +/* FIXME: Add doxygen comments for the behavioral defines in here. */ + /* TODO: Refactoring */ typedef enum { ONESHOT, CONSOLE, MOUSEKEY } command_state_t; extern command_state_t command_state; @@ -27,6 +29,7 @@ bool command_extra(uint8_t code); bool command_console_extra(uint8_t code); #ifdef COMMAND_ENABLE +uint8_t numkey2num(uint8_t code); bool command_proc(uint8_t code); #else #define command_proc(code) false @@ -153,4 +156,4 @@ bool command_proc(uint8_t code); #define XMAGIC_KC(key) KC_##key #define MAGIC_KC(key) XMAGIC_KC(key) -#endif \ No newline at end of file +#endif