From d0ebafaea6847926e6391a6920821bcb17b3c39c Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 1 Jan 2023 00:54:12 +0000 Subject: [PATCH] Align definition of unicode_map (#19452) --- keyboards/a_dux/keymaps/daliusd/keymap.c | 2 +- keyboards/abacus/keymaps/unicodemap/keymap.c | 2 +- keyboards/contra/keymaps/bramver/keymap.c | 2 +- keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c | 2 +- keyboards/crkbd/keymaps/ardakilic/keymap.c | 2 +- keyboards/durgod/k320/keymaps/kuenhlee/keymap.c | 2 +- keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c | 2 +- keyboards/handwired/aranck/keymaps/turkishish/keymap.c | 2 +- keyboards/handwired/heisenberg/keymaps/turkishish/keymap.c | 2 +- keyboards/handwired/promethium/keymaps/default/keymap.c | 2 +- keyboards/handwired/promethium/keymaps/priyadi/keymap.c | 2 +- keyboards/handwired/t111/keymaps/oleg/keymap.c | 2 +- keyboards/handwired/wulkan/keymaps/default/keymap.c | 2 +- keyboards/keebio/nyquist/keymaps/bramver/keymap.c | 2 +- keyboards/keebio/quefrency/keymaps/bramver/keymap.c | 2 +- keyboards/keychron/q1/iso/keymaps/victorsavu3/keymap.c | 2 +- keyboards/ktec/ergodone/keymaps/vega/keymap.c | 2 +- keyboards/mlego/m65/keymaps/uk/keymap.c | 2 +- keyboards/planck/keymaps/mwpeterson/keymap.c | 2 +- keyboards/planck/keymaps/rootiest/keymap.c | 2 +- keyboards/planck/keymaps/zach/zach_common_functions.c | 2 +- keyboards/preonic/keymaps/zach/zach_common_functions.c | 2 +- keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c | 2 +- keyboards/signum/3_0/keymaps/default/keymap.c | 2 +- keyboards/signum/3_0/keymaps/default/km_template.txt | 2 +- keyboards/spaceman/2_milk/keymaps/encg/keymap.c | 2 +- keyboards/splitkb/kyria/keymaps/lw/keymap.c | 2 +- .../thevankeyboards/minivan/keymaps/josjoha/unicode_macros.c | 2 +- keyboards/xiudi/xd75/keymaps/bramver/keymap.c | 2 +- keyboards/xiudi/xd75/keymaps/minna/keymap.c | 2 +- layouts/community/60_iso/bifbofii/keymap.c | 2 +- layouts/community/ortho_4x12/bifbofii/keymap.c | 2 +- quantum/process_keycode/process_unicodemap.h | 2 +- users/charlesrocket/apl.c | 2 +- users/klackygears/klackygears.h | 2 +- users/konstantin/unicode.c | 2 +- users/konstantin/unicode.h | 2 +- users/kuchosauronad0/unicode.c | 2 +- users/nstickney/unicodemap.h | 2 +- users/ridingqwerty/unicode.c | 2 +- users/ridingqwerty/unicode.h | 2 +- users/rmeli/keyrecords/unicode.h | 2 +- users/rupa/unicode.c | 2 +- users/rverst/unicode.h | 2 +- users/spidey3/spidey3_unicode.c | 2 +- users/yet-another-developer/unicode.c | 2 +- 46 files changed, 46 insertions(+), 46 deletions(-) diff --git a/keyboards/a_dux/keymaps/daliusd/keymap.c b/keyboards/a_dux/keymaps/daliusd/keymap.c index 72f24172784..7dec77b01e4 100644 --- a/keyboards/a_dux/keymaps/daliusd/keymap.c +++ b/keyboards/a_dux/keymaps/daliusd/keymap.c @@ -101,7 +101,7 @@ enum unicode_names { LT_CB, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [SNEK] = 0x1F40D, // 🐍 [EURO] = 0x20ac, // € [LT_S_A] = 0x105, // ą diff --git a/keyboards/abacus/keymaps/unicodemap/keymap.c b/keyboards/abacus/keymaps/unicodemap/keymap.c index 7441b12882f..0e6ab0d6479 100644 --- a/keyboards/abacus/keymaps/unicodemap/keymap.c +++ b/keyboards/abacus/keymaps/unicodemap/keymap.c @@ -44,7 +44,7 @@ enum unicode_names { EMOJIB }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [LOVEEYES] = 0x1f60d, [THINK] = 0x1f914, [UPSIDEDOWN] = 0x1f643, diff --git a/keyboards/contra/keymaps/bramver/keymap.c b/keyboards/contra/keymaps/bramver/keymap.c index e84dcc9af6f..3816ee629e2 100644 --- a/keyboards/contra/keymaps/bramver/keymap.c +++ b/keyboards/contra/keymaps/bramver/keymap.c @@ -48,7 +48,7 @@ enum emoji_map { RGHT, // Point Right }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [UNAM] = 0x1F612, [HEYE] = 0x1f60d, [OK] = 0x1F44C, diff --git a/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c b/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c index 15db200779b..f16b3496647 100644 --- a/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c +++ b/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c @@ -97,7 +97,7 @@ enum unicode_name { SKULL, // skull }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [GRIN] = 0x1F600, [TJOY] = 0x1F602, [SMILE] = 0x1F601, diff --git a/keyboards/crkbd/keymaps/ardakilic/keymap.c b/keyboards/crkbd/keymaps/ardakilic/keymap.c index 50e4614143b..98a9fb50f3b 100644 --- a/keyboards/crkbd/keymaps/ardakilic/keymap.c +++ b/keyboards/crkbd/keymaps/ardakilic/keymap.c @@ -68,7 +68,7 @@ enum { }; // clang-format off -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [TR_C] = 0x00c7, [TR_C_L] = 0x00e7, [TR_I] = 0x0130, diff --git a/keyboards/durgod/k320/keymaps/kuenhlee/keymap.c b/keyboards/durgod/k320/keymaps/kuenhlee/keymap.c index c03fdb5bf73..7f49352de45 100644 --- a/keyboards/durgod/k320/keymaps/kuenhlee/keymap.c +++ b/keyboards/durgod/k320/keymaps/kuenhlee/keymap.c @@ -69,7 +69,7 @@ enum unicode_names { SUM, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [DEGR] = 0x00B0, // ° [PONE] = 0x00B1, // ± [POW2] = 0x00B2, // ² diff --git a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c b/keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c index 8bc5edf9371..4a6936b1124 100644 --- a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c +++ b/keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c @@ -86,7 +86,7 @@ enum unicode_names { UC_THUMBSUP, // 👎 }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [UC_GRINNING_FACE] = 0x1F603, [UC_BEAMING_FACE] = 0x1F601, [UC_GRINNING_FACE_WITH_SWEAT] = 0x1F605, diff --git a/keyboards/handwired/aranck/keymaps/turkishish/keymap.c b/keyboards/handwired/aranck/keymaps/turkishish/keymap.c index ea44b750945..39be83046b1 100644 --- a/keyboards/handwired/aranck/keymaps/turkishish/keymap.c +++ b/keyboards/handwired/aranck/keymaps/turkishish/keymap.c @@ -64,7 +64,7 @@ enum { }; // clang-format off -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [TR_C] = 0x00c7, [TR_C_L] = 0x00e7, [TR_I] = 0x0130, diff --git a/keyboards/handwired/heisenberg/keymaps/turkishish/keymap.c b/keyboards/handwired/heisenberg/keymaps/turkishish/keymap.c index 0ce2b947d78..8322e43ea83 100644 --- a/keyboards/handwired/heisenberg/keymaps/turkishish/keymap.c +++ b/keyboards/handwired/heisenberg/keymaps/turkishish/keymap.c @@ -64,7 +64,7 @@ enum { }; // clang-format off -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [TR_C] = 0x00c7, [TR_C_L] = 0x00e7, [TR_I] = 0x0130, diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c index b72d54f175c..534a2986cb1 100644 --- a/keyboards/handwired/promethium/keymaps/default/keymap.c +++ b/keyboards/handwired/promethium/keymaps/default/keymap.c @@ -256,7 +256,7 @@ enum unicode_name { PLMIN, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [GRIN] = 0x1F600, [TJOY] = 0x1F602, [SMILE] = 0x1F601, diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c index 11fd8ed74da..42710735497 100644 --- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c +++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c @@ -259,7 +259,7 @@ enum unicode_name { PLMIN, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [GRIN] = 0x1F600, [TJOY] = 0x1F602, [SMILE] = 0x1F601, diff --git a/keyboards/handwired/t111/keymaps/oleg/keymap.c b/keyboards/handwired/t111/keymaps/oleg/keymap.c index 0a00151f898..dd0c0971970 100644 --- a/keyboards/handwired/t111/keymaps/oleg/keymap.c +++ b/keyboards/handwired/t111/keymaps/oleg/keymap.c @@ -49,7 +49,7 @@ enum unicode_names { UAST }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [USCT] = 0x00A7, // § [ULSB] = 0x005B, // [ [URSB] = 0x005D, // ] diff --git a/keyboards/handwired/wulkan/keymaps/default/keymap.c b/keyboards/handwired/wulkan/keymaps/default/keymap.c index 2612c084fd3..b73592760e2 100644 --- a/keyboards/handwired/wulkan/keymaps/default/keymap.c +++ b/keyboards/handwired/wulkan/keymaps/default/keymap.c @@ -16,7 +16,7 @@ enum unicode_names { SE_ODIA_LOW, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [SE_ARNG_HIGH] = 0x00C5, [SE_ADIA_HIGH] = 0x00C4, [SE_ODIA_HIGH] = 0x00D6, diff --git a/keyboards/keebio/nyquist/keymaps/bramver/keymap.c b/keyboards/keebio/nyquist/keymaps/bramver/keymap.c index 83cd7281122..04433c41cde 100644 --- a/keyboards/keebio/nyquist/keymaps/bramver/keymap.c +++ b/keyboards/keebio/nyquist/keymaps/bramver/keymap.c @@ -59,7 +59,7 @@ enum emoji_map { RGHT, // Point Right }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [UNAM] = 0x1F612, [HEYE] = 0x1f60d, [OK] = 0x1F44C, diff --git a/keyboards/keebio/quefrency/keymaps/bramver/keymap.c b/keyboards/keebio/quefrency/keymaps/bramver/keymap.c index 2ca8f075ce6..f855425ec01 100644 --- a/keyboards/keebio/quefrency/keymaps/bramver/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/bramver/keymap.c @@ -49,7 +49,7 @@ enum emoji_map { RGHT, // Point Right }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [UNAM] = 0x1F612, [HEYE] = 0x1f60d, [OK] = 0x1F44C, diff --git a/keyboards/keychron/q1/iso/keymaps/victorsavu3/keymap.c b/keyboards/keychron/q1/iso/keymaps/victorsavu3/keymap.c index 8478ccbe573..9cfc26d1389 100644 --- a/keyboards/keychron/q1/iso/keymaps/victorsavu3/keymap.c +++ b/keyboards/keychron/q1/iso/keymaps/victorsavu3/keymap.c @@ -31,7 +31,7 @@ enum unicode_names { SAD, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [GRIN] = 0x1F600, // 😀 [SAD] = 0x1F61E, // 😞 }; diff --git a/keyboards/ktec/ergodone/keymaps/vega/keymap.c b/keyboards/ktec/ergodone/keymaps/vega/keymap.c index eafbdda5134..8e460d7b4c3 100644 --- a/keyboards/ktec/ergodone/keymaps/vega/keymap.c +++ b/keyboards/ktec/ergodone/keymaps/vega/keymap.c @@ -320,7 +320,7 @@ enum unicode_names { nullpic, // Null picture - ␀ }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { // MATH [neq] = 0x2260, //≠ [intgrl] = 0x222B, //∫ diff --git a/keyboards/mlego/m65/keymaps/uk/keymap.c b/keyboards/mlego/m65/keymaps/uk/keymap.c index 2d8e597f075..8a711234b52 100644 --- a/keyboards/mlego/m65/keymaps/uk/keymap.c +++ b/keyboards/mlego/m65/keymaps/uk/keymap.c @@ -24,7 +24,7 @@ along with this program. If not, see . #endif -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [la] = 0x03B1 , // α [lA] = 0x0391 , // Α [lb] = 0x03B2 , // β diff --git a/keyboards/planck/keymaps/mwpeterson/keymap.c b/keyboards/planck/keymaps/mwpeterson/keymap.c index 630b4f57670..5871fe4bfe3 100644 --- a/keyboards/planck/keymaps/mwpeterson/keymap.c +++ b/keyboards/planck/keymaps/mwpeterson/keymap.c @@ -43,7 +43,7 @@ enum unicode_name { IBANG // ‽ }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [IBANG] = 0x0203D // ‽ }; #endif // UNICODEMAP_ENABLE diff --git a/keyboards/planck/keymaps/rootiest/keymap.c b/keyboards/planck/keymaps/rootiest/keymap.c index 20034c97e18..616a337daf9 100644 --- a/keyboards/planck/keymaps/rootiest/keymap.c +++ b/keyboards/planck/keymaps/rootiest/keymap.c @@ -157,7 +157,7 @@ enum custom_keycodes { // Declare unicode map array enum unicode_names { BANG, SNEK }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { //[UCD_BANG] = 0x203D, // ‽ //[UCD_IRONY] = 0x2E2E, // ⸮ [SNEK] = 0x1F40D, // 🐍 diff --git a/keyboards/planck/keymaps/zach/zach_common_functions.c b/keyboards/planck/keymaps/zach/zach_common_functions.c index b6e8d9be471..97b650d9cbc 100644 --- a/keyboards/planck/keymaps/zach/zach_common_functions.c +++ b/keyboards/planck/keymaps/zach/zach_common_functions.c @@ -174,7 +174,7 @@ enum Ext_Unicode{ CHICK, TUMBLER }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [PENGUIN] = 0x1F427, [BOAR] = 0x1F417, [MONKEY] = 0x1F412, diff --git a/keyboards/preonic/keymaps/zach/zach_common_functions.c b/keyboards/preonic/keymaps/zach/zach_common_functions.c index b6e8d9be471..97b650d9cbc 100644 --- a/keyboards/preonic/keymaps/zach/zach_common_functions.c +++ b/keyboards/preonic/keymaps/zach/zach_common_functions.c @@ -174,7 +174,7 @@ enum Ext_Unicode{ CHICK, TUMBLER }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [PENGUIN] = 0x1F427, [BOAR] = 0x1F417, [MONKEY] = 0x1F412, diff --git a/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c b/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c index 7bfa16e8f44..d6962664b13 100644 --- a/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c +++ b/keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c @@ -80,7 +80,7 @@ }; //https://unicode-table.com/en/#00F1 - const uint32_t PROGMEM unicode_map[] = { + const uint32_t unicode_map[] PROGMEM = { [CKC_EUR] = 0x20AC, //€ [N_TILDE] = 0x00F1, // ñ [COMB_ACUTE_ACCENT] = 0x0301, // ´ diff --git a/keyboards/signum/3_0/keymaps/default/keymap.c b/keyboards/signum/3_0/keymaps/default/keymap.c index e9f78160188..27f79e76928 100644 --- a/keyboards/signum/3_0/keymaps/default/keymap.c +++ b/keyboards/signum/3_0/keymaps/default/keymap.c @@ -312,7 +312,7 @@ ypsilon, zeta }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [AB_ARC] = 0x0361, // ͡ [AB_LINE] = 0x0305, // ̅ [AB_VEC] = 0x20d7, // ⃗ diff --git a/keyboards/signum/3_0/keymaps/default/km_template.txt b/keyboards/signum/3_0/keymaps/default/km_template.txt index 47b35ee5149..90496170b22 100644 --- a/keyboards/signum/3_0/keymaps/default/km_template.txt +++ b/keyboards/signum/3_0/keymaps/default/km_template.txt @@ -7,7 +7,7 @@ enum unicode_name { // }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { // }; diff --git a/keyboards/spaceman/2_milk/keymaps/encg/keymap.c b/keyboards/spaceman/2_milk/keymaps/encg/keymap.c index d74f8828db2..fab1debf023 100644 --- a/keyboards/spaceman/2_milk/keymaps/encg/keymap.c +++ b/keyboards/spaceman/2_milk/keymaps/encg/keymap.c @@ -38,7 +38,7 @@ enum unicode_names { WAVE }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [COW] = 0x1F404, // 🐄 [BTTR] = 0x1F9C8, // 🧈 [CHIKN] = 0x1F414, // 🐔 diff --git a/keyboards/splitkb/kyria/keymaps/lw/keymap.c b/keyboards/splitkb/kyria/keymaps/lw/keymap.c index 0e25d2cdf37..1ff1f54d058 100644 --- a/keyboards/splitkb/kyria/keymaps/lw/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/lw/keymap.c @@ -40,7 +40,7 @@ enum unicode_names { DEGREE, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [APOST] = 0x0027, // ' [QUOTE] = 0x0022, // " [ACUTE] = 0x00B4, // ´ diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.c b/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.c index 8372ae4cd1f..f4416ca797a 100644 --- a/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.c +++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.c @@ -107,7 +107,7 @@ void unicode_hex2output_single (long unsigned int either) { // Required by QMK Unicode -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { }; diff --git a/keyboards/xiudi/xd75/keymaps/bramver/keymap.c b/keyboards/xiudi/xd75/keymaps/bramver/keymap.c index 130907f841c..f44adaf7686 100644 --- a/keyboards/xiudi/xd75/keymaps/bramver/keymap.c +++ b/keyboards/xiudi/xd75/keymaps/bramver/keymap.c @@ -35,7 +35,7 @@ enum emoji_map { NAIL, // Nailcare 💅 }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [UNAM] = 0x1F612, [HEYE] = 0x1f60d, [OK] = 0x1F44C, diff --git a/keyboards/xiudi/xd75/keymaps/minna/keymap.c b/keyboards/xiudi/xd75/keymaps/minna/keymap.c index b0b513c60f9..d3ff7557be1 100644 --- a/keyboards/xiudi/xd75/keymaps/minna/keymap.c +++ b/keyboards/xiudi/xd75/keymaps/minna/keymap.c @@ -13,7 +13,7 @@ enum custom_keycodes { QMKBEST = SAFE_RANGE, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BEER] = 0x1F37A, // 🍺 [BEERS] = 0x1F37B // 🍻 }; diff --git a/layouts/community/60_iso/bifbofii/keymap.c b/layouts/community/60_iso/bifbofii/keymap.c index f335bd32899..d9d7383c3d5 100755 --- a/layouts/community/60_iso/bifbofii/keymap.c +++ b/layouts/community/60_iso/bifbofii/keymap.c @@ -21,7 +21,7 @@ enum unicode_names { SAE, BAE, SUE, BUE, SOE, BOE, SS, EUR, CPR }; /* Unicode map */ -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [SAE] = 0x00E4, // ä [BAE] = 0x00C4, // Ä [SUE] = 0x00FC, // ü diff --git a/layouts/community/ortho_4x12/bifbofii/keymap.c b/layouts/community/ortho_4x12/bifbofii/keymap.c index fde4bd006db..7c25fed016f 100644 --- a/layouts/community/ortho_4x12/bifbofii/keymap.c +++ b/layouts/community/ortho_4x12/bifbofii/keymap.c @@ -31,7 +31,7 @@ enum unicode_names { }; /* Unicode map */ -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [SAE] = 0x00E4, // ä [BAE] = 0x00C4, // Ä [SUE] = 0x00FC, // ü diff --git a/quantum/process_keycode/process_unicodemap.h b/quantum/process_keycode/process_unicodemap.h index 73f54498640..5a3aeb00006 100644 --- a/quantum/process_keycode/process_unicodemap.h +++ b/quantum/process_keycode/process_unicodemap.h @@ -22,7 +22,7 @@ #include "action.h" #include "progmem.h" -extern const uint32_t PROGMEM unicode_map[]; +extern const uint32_t unicode_map[] PROGMEM; uint16_t unicodemap_index(uint16_t keycode); bool process_unicodemap(uint16_t keycode, keyrecord_t *record); diff --git a/users/charlesrocket/apl.c b/users/charlesrocket/apl.c index 63d835c909f..92c1ea9f3dc 100644 --- a/users/charlesrocket/apl.c +++ b/users/charlesrocket/apl.c @@ -99,7 +99,7 @@ enum unicode_names { QUAD_COLON }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [DIAMOND] = 0x25CA, // ◊ 0 [QUAD_DIAMOND] = 0x233A, // ⌺ [DIAERESIS] = 0x00A8, // ¨ diff --git a/users/klackygears/klackygears.h b/users/klackygears/klackygears.h index 69f3279e2f1..c131d46428f 100644 --- a/users/klackygears/klackygears.h +++ b/users/klackygears/klackygears.h @@ -53,7 +53,7 @@ enum unicode_names { SNEK, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x203D, // ‽ [IRONY] = 0x2E2E, // ⸮ [SNEK] = 0x1F40D, // 🐍 diff --git a/users/konstantin/unicode.c b/users/konstantin/unicode.c index 4eae716afde..ed92b818b0b 100644 --- a/users/konstantin/unicode.c +++ b/users/konstantin/unicode.c @@ -17,7 +17,7 @@ #include "unicode.h" #ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { FOREACH_UNICODE(UCM_ENTRY) }; #endif diff --git a/users/konstantin/unicode.h b/users/konstantin/unicode.h index 1a1eb608949..82caea7c9ac 100644 --- a/users/konstantin/unicode.h +++ b/users/konstantin/unicode.h @@ -42,7 +42,7 @@ enum unicode_names { FOREACH_UNICODE(UCM_NAME) }; -extern const uint32_t PROGMEM unicode_map[]; +extern const uint32_t unicode_map[] PROGMEM; enum unicode_keycodes { FOREACH_UNICODE(UCM_KEYCODE) diff --git a/users/kuchosauronad0/unicode.c b/users/kuchosauronad0/unicode.c index 8b312deb661..f0168cef9f3 100644 --- a/users/kuchosauronad0/unicode.c +++ b/users/kuchosauronad0/unicode.c @@ -1,7 +1,7 @@ #include "unicode.h" //#ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x0203D,// ‽ [IRONY] = 0x02E2E,// ⸮ [DEGREE] = 0x000B0,// ° diff --git a/users/nstickney/unicodemap.h b/users/nstickney/unicodemap.h index 3b7d9e30539..4360504ecb2 100644 --- a/users/nstickney/unicodemap.h +++ b/users/nstickney/unicodemap.h @@ -37,7 +37,7 @@ enum { CPL }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [IEX] = 0xA1, // ¡ [SS2] = 0xB2, // ² [SS3] = 0xB3, // ³ diff --git a/users/ridingqwerty/unicode.c b/users/ridingqwerty/unicode.c index 8ef5aaa1ec3..5a4c1549199 100644 --- a/users/ridingqwerty/unicode.c +++ b/users/ridingqwerty/unicode.c @@ -1,7 +1,7 @@ #include "unicode.h" #ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { FOREACH_UNICODE(UCM_ENTRY) }; #endif diff --git a/users/ridingqwerty/unicode.h b/users/ridingqwerty/unicode.h index 8b403272aef..de8d1593b4a 100644 --- a/users/ridingqwerty/unicode.h +++ b/users/ridingqwerty/unicode.h @@ -227,7 +227,7 @@ enum unicode_names { FOREACH_UNICODE(UCM_NAME) }; -extern const uint32_t PROGMEM unicode_map[]; +extern const uint32_t unicode_map[] PROGMEM; enum unicode_keycodes { FOREACH_UNICODE(UCM_KEYCODE) diff --git a/users/rmeli/keyrecords/unicode.h b/users/rmeli/keyrecords/unicode.h index d818af02eea..c3ba96d5b65 100644 --- a/users/rmeli/keyrecords/unicode.h +++ b/users/rmeli/keyrecords/unicode.h @@ -45,7 +45,7 @@ enum unicode_names { UUML, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { // KC_A [aGRV] = 0x00E0, // à [AGRV] = 0x00C0, // À diff --git a/users/rupa/unicode.c b/users/rupa/unicode.c index 2302a955521..f99e6d08325 100644 --- a/users/rupa/unicode.c +++ b/users/rupa/unicode.c @@ -21,7 +21,7 @@ combined_mode_t combined_mode = CM_NULL; bool _seeded = false; #if defined(UNICODEMAP_ENABLE) -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [CCIR] = 0x20DD, // COMBINING CIRCLE ⃝ [CENT] = 0x00A2, // ¢ [CHEK] = 0x2713, // ✓ diff --git a/users/rverst/unicode.h b/users/rverst/unicode.h index 45d15858090..4a92d320387 100644 --- a/users/rverst/unicode.h +++ b/users/rverst/unicode.h @@ -23,7 +23,7 @@ enum unicode_names { BANG, IRONY, SNEK }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x203D, [IRONY] = 0x2E2E, [SNEK] = 0x1F40D, diff --git a/users/spidey3/spidey3_unicode.c b/users/spidey3/spidey3_unicode.c index bda0876b540..011eaeb3fa4 100644 --- a/users/spidey3/spidey3_unicode.c +++ b/users/spidey3/spidey3_unicode.c @@ -4,7 +4,7 @@ #include "spidey3_unicode.h" -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BUL1] = 0x2022, // • [BUL2] = 0x25E6, // ◦ [LARR] = 0x2190, // ← diff --git a/users/yet-another-developer/unicode.c b/users/yet-another-developer/unicode.c index 8b312deb661..f0168cef9f3 100644 --- a/users/yet-another-developer/unicode.c +++ b/users/yet-another-developer/unicode.c @@ -1,7 +1,7 @@ #include "unicode.h" //#ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x0203D,// ‽ [IRONY] = 0x02E2E,// ⸮ [DEGREE] = 0x000B0,// °