Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align definition of unicode_map #19452

Merged
merged 1 commit into from
Jan 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion keyboards/a_dux/keymaps/daliusd/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ą
Expand Down
2 changes: 1 addition & 1 deletion keyboards/abacus/keymaps/unicodemap/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/contra/keymaps/bramver/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/crkbd/keymaps/ardakilic/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/durgod/k320/keymaps/kuenhlee/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ²
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/aranck/keymaps/turkishish/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/heisenberg/keymaps/turkishish/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/promethium/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/promethium/keymaps/priyadi/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/t111/keymaps/oleg/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ]
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/wulkan/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/keebio/nyquist/keymaps/bramver/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/keebio/quefrency/keymaps/bramver/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/keychron/q1/iso/keymaps/victorsavu3/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ enum unicode_names {
SAD,
};

const uint32_t PROGMEM unicode_map[] = {
const uint32_t unicode_map[] PROGMEM = {
[GRIN] = 0x1F600, // 😀
[SAD] = 0x1F61E, // 😞
};
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ktec/ergodone/keymaps/vega/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, //∫
Expand Down
2 changes: 1 addition & 1 deletion keyboards/mlego/m65/keymaps/uk/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 , // β
Expand Down
2 changes: 1 addition & 1 deletion keyboards/planck/keymaps/mwpeterson/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion keyboards/planck/keymaps/rootiest/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // 🐍
Expand Down
2 changes: 1 addition & 1 deletion keyboards/planck/keymaps/zach/zach_common_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/preonic/keymaps/zach/zach_common_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/reviung/reviung41/keymaps/ciutadellla/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ´
Expand Down
2 changes: 1 addition & 1 deletion keyboards/signum/3_0/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ⃗
Expand Down
2 changes: 1 addition & 1 deletion keyboards/signum/3_0/keymaps/default/km_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ enum unicode_name {
//<enum/>
};

const uint32_t PROGMEM unicode_map[] = {
const uint32_t unicode_map[] PROGMEM = {
//<uc_map/>
};

Expand Down
2 changes: 1 addition & 1 deletion keyboards/spaceman/2_milk/keymaps/encg/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // 🐔
Expand Down
2 changes: 1 addition & 1 deletion keyboards/splitkb/kyria/keymaps/lw/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ´
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {

};

Expand Down
2 changes: 1 addition & 1 deletion keyboards/xiudi/xd75/keymaps/bramver/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/xiudi/xd75/keymaps/minna/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 // 🍻
};
Expand Down
2 changes: 1 addition & 1 deletion layouts/community/60_iso/bifbofii/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ü
Expand Down
2 changes: 1 addition & 1 deletion layouts/community/ortho_4x12/bifbofii/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ü
Expand Down
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_unicodemap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
2 changes: 1 addition & 1 deletion users/charlesrocket/apl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ¨
Expand Down
2 changes: 1 addition & 1 deletion users/klackygears/klackygears.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, // 🐍
Expand Down
2 changes: 1 addition & 1 deletion users/konstantin/unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion users/konstantin/unicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion users/kuchosauronad0/unicode.c
Original file line number Diff line number Diff line change
@@ -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,// °
Expand Down
2 changes: 1 addition & 1 deletion users/nstickney/unicodemap.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ enum {
CPL
};

const uint32_t PROGMEM unicode_map[] = {
const uint32_t unicode_map[] PROGMEM = {
[IEX] = 0xA1, // ¡
[SS2] = 0xB2, // ²
[SS3] = 0xB3, // ³
Expand Down
2 changes: 1 addition & 1 deletion users/ridingqwerty/unicode.c
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion users/ridingqwerty/unicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion users/rmeli/keyrecords/unicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, // À
Expand Down
2 changes: 1 addition & 1 deletion users/rupa/unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, // ✓
Expand Down
2 changes: 1 addition & 1 deletion users/rverst/unicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading