diff options
Diffstat (limited to 'keyboards/rocketboard_16')
-rw-r--r-- | keyboards/rocketboard_16/keycode_lookup.c | 37 | ||||
-rw-r--r-- | keyboards/rocketboard_16/keycode_lookup.h | 2 |
2 files changed, 19 insertions, 20 deletions
diff --git a/keyboards/rocketboard_16/keycode_lookup.c b/keyboards/rocketboard_16/keycode_lookup.c index 0e6e47ba0d..5305b74cc5 100644 --- a/keyboards/rocketboard_16/keycode_lookup.c +++ b/keyboards/rocketboard_16/keycode_lookup.c @@ -18,7 +18,7 @@ #include "print.h" #include "via.h" -#define num_keycodes (sizeof(lookup_table)/sizeof(lookup_table[0])) +#define num_keycodes ARRAY_SIZE(lookup_table) static char UNKNOWN_KEYCODE[] = "UNKNOWN"; int cmp(const void *v1, const void *v2) @@ -55,7 +55,7 @@ char* translate_keycode_to_string(uint16_t code) return (return_p); } -lookup_table_t lookup_table[334] = +lookup_table_t lookup_table[333] = { {"KC_NO", KC_NO}, {"KC_TRNS", KC_TRNS}, @@ -109,7 +109,6 @@ lookup_table_t lookup_table[334] = {"KC_SCLN", KC_SCLN}, {"KC_QUOT", KC_QUOT}, {"KC_GRV", KC_GRV}, - {"KC_ZKHK", KC_ZKHK}, {"KC_COMM", KC_COMM}, {"KC_DOT", KC_DOT}, {"KC_SLSH", KC_SLSH}, @@ -158,7 +157,7 @@ lookup_table_t lookup_table[334] = {"KC_PDOT", KC_PDOT}, {"KC_NUBS", KC_NUBS}, {"KC_APP", KC_APP}, - {"KC_POWER", KC_POWER}, + {"KC_KB_POWER", KC_KB_POWER}, {"KC_PEQL", KC_PEQL}, {"KC_F13", KC_F13}, {"KC_F14", KC_F14}, @@ -188,26 +187,26 @@ lookup_table_t lookup_table[334] = {"KC_LSCR", KC_LSCR}, {"KC_PCMM", KC_PCMM}, {"KC_KP_EQUAL_AS400", KC_KP_EQUAL_AS400}, - {"KC_RO", KC_RO}, - {"KC_KANA", KC_KANA}, - {"KC_JYEN", KC_JYEN}, - {"KC_HENK", KC_HENK}, - {"KC_MHEN", KC_MHEN}, + {"KC_INT1", KC_INT1}, + {"KC_INT2", KC_INT2}, + {"KC_INT3", KC_INT3}, + {"KC_INT4", KC_INT4}, + {"KC_INT5", KC_INT5}, {"KC_INT6", KC_INT6}, {"KC_INT7", KC_INT7}, {"KC_INT8", KC_INT8}, {"KC_INT9", KC_INT9}, - {"KC_HAEN", KC_HAEN}, - {"KC_HANJ", KC_HANJ}, - {"KC_LANG3", KC_LANG3}, - {"KC_LANG4", KC_LANG4}, - {"KC_LANG5", KC_LANG5}, - {"KC_LANG6", KC_LANG6}, - {"KC_LANG7", KC_LANG7}, - {"KC_LANG8", KC_LANG8}, - {"KC_LANG9", KC_LANG9}, + {"KC_LNG1", KC_LNG1}, + {"KC_LNG2", KC_LNG2}, + {"KC_LNG3", KC_LNG3}, + {"KC_LNG4", KC_LNG4}, + {"KC_LNG5", KC_LNG5}, + {"KC_LNG6", KC_LNG6}, + {"KC_LNG7", KC_LNG7}, + {"KC_LNG8", KC_LNG8}, + {"KC_LNG9", KC_LNG9}, {"KC_ERAS", KC_ERAS}, - {"KC_SYSREQ", KC_SYSREQ}, + {"KC_SYRQ", KC_SYRQ}, {"KC_CANCEL", KC_CANCEL}, {"KC_CLR", KC_CLR}, {"KC_CLEAR", KC_CLEAR}, diff --git a/keyboards/rocketboard_16/keycode_lookup.h b/keyboards/rocketboard_16/keycode_lookup.h index 218b709b47..35f0b66f25 100644 --- a/keyboards/rocketboard_16/keycode_lookup.h +++ b/keyboards/rocketboard_16/keycode_lookup.h @@ -26,4 +26,4 @@ typedef struct char* translate_keycode_to_string(uint16_t code); -extern lookup_table_t lookup_table[334]; +extern lookup_table_t lookup_table[333]; |