X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Fcommand.h;h=d9d89ba0f1ec104cc0e4c423ef7ad36940ac863c;hb=7c9d5ace143d3cc6d767a354acde814926d566fd;hp=92b18849bf31dcaeac1918084c0cb93503af8259;hpb=295036d4e3f11aa00392f3315f549b15fe66846f;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