Align definition of unicode_map (#19452)

This commit is contained in:
Joel Challis 2023-01-01 00:54:12 +00:00 committed by GitHub
parent 4704a4e053
commit d0ebafaea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 46 additions and 46 deletions

View file

@ -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, // ą

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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, // ²

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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, // ]

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -31,7 +31,7 @@ enum unicode_names {
SAD,
};
const uint32_t PROGMEM unicode_map[] = {
const uint32_t unicode_map[] PROGMEM = {
[GRIN] = 0x1F600, // 😀
[SAD] = 0x1F61E, // 😞
};

View file

@ -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, //∫

View file

@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
const uint32_t PROGMEM unicode_map[] = {
const uint32_t unicode_map[] PROGMEM = {
[la] = 0x03B1 , // α
[lA] = 0x0391 , // Α
[lb] = 0x03B2 , // β

View file

@ -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

View file

@ -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, // 🐍

View file

@ -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,

View file

@ -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,

View file

@ -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, // ´

View file

@ -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, // ⃗

View file

@ -7,7 +7,7 @@ enum unicode_name {
//<enum/>
};
const uint32_t PROGMEM unicode_map[] = {
const uint32_t unicode_map[] PROGMEM = {
//<uc_map/>
};

View file

@ -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, // 🐔

View file

@ -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, // ´

View file

@ -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 = {
};

View file

@ -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,

View file

@ -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 // 🍻
};

View file

@ -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, // ü

View file

@ -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, // ü

View file

@ -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);

View file

@ -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, // ¨

View file

@ -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, // 🐍

View file

@ -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

View file

@ -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)

View file

@ -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,// °

View file

@ -37,7 +37,7 @@ enum {
CPL
};
const uint32_t PROGMEM unicode_map[] = {
const uint32_t unicode_map[] PROGMEM = {
[IEX] = 0xA1, // ¡
[SS2] = 0xB2, // ²
[SS3] = 0xB3, // ³

View file

@ -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

View file

@ -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)

View file

@ -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, // À

View file

@ -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, // ✓

View file

@ -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,

View file

@ -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, // ←

View file

@ -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,// °