5 #define FOREACH_UNICODE(M) \
14 #define UC_KEYCODE(name, code) name = UC(code),
16 #define UCM_NAME(name, code) UCM_ ## name,
17 #define UCM_ENTRY(name, code) [UCM_ ## name] = code,
18 #define UCM_KEYCODE(name, code) name = X(UCM_ ## name),
20 #if defined(UNICODE_ENABLE)
21 enum unicode_keycodes {
22 FOREACH_UNICODE(UC_KEYCODE)
24 #elif defined(UNICODEMAP_ENABLE)
26 FOREACH_UNICODE(UCM_NAME)
29 extern const uint32_t PROGMEM unicode_map[];
31 enum unicode_keycodes {
32 FOREACH_UNICODE(UCM_KEYCODE)