aboutsummaryrefslogtreecommitdiff
path: root/users/rupa/unicode.h
diff options
context:
space:
mode:
authorrupa <rdeadwyler@ns1.com>2020-11-10 00:04:46 -0500
committerGitHub <noreply@github.com>2020-11-10 16:04:46 +1100
commita9f65b760a49744b13d822ab359876a52779bd9e (patch)
treef5e64f0d55df4f170e05f5f9d26218388102e628 /users/rupa/unicode.h
parent53f11668a3399ff1bdf82902a7717832831219bf (diff)
downloadqmk_firmware-a9f65b760a49744b13d822ab359876a52779bd9e.tar.gz
qmk_firmware-a9f65b760a49744b13d822ab359876a52779bd9e.zip
userspace and keymap changes for rupa (#10489)
* userspace and keymap changes for rupa * remove layout wrappers and blocker rows from wrappers handle this in keymaps for now
Diffstat (limited to 'users/rupa/unicode.h')
-rw-r--r--[-rwxr-xr-x]users/rupa/unicode.h52
1 files changed, 43 insertions, 9 deletions
diff --git a/users/rupa/unicode.h b/users/rupa/unicode.h
index 0c067bd91..92303b13f 100755..100644
--- a/users/rupa/unicode.h
+++ b/users/rupa/unicode.h
@@ -20,24 +20,58 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20 20
21#if defined(UNICODEMAP_ENABLE) 21#if defined(UNICODEMAP_ENABLE)
22enum unicode_names { 22enum unicode_names {
23 CHEK, 23 CCIR, // COMBINING ⃝
24 /* 24 CENT, // ¢
25 DI1, // ⚀ 25 CHEK, // ✓
26 DI2, // ⚁ 26 CKEY, // COMBINING ⃣
27 DI3, // ⚂ 27 CUI, // ⚠
28 DI4, // ⚃ 28 ECKS, // ✖
29 DI5, // ⚄ 29 EFF, // ſ
30 DI6, // ⚅
31 */
32 HAS, // ☭ 30 HAS, // ☭
31 HUN, // 💯
33 IBNG, // ‽ 32 IBNG, // ‽
34 IRNY, // ⸮ 33 IRNY, // ⸮
34 LALL, // ∀
35 LELM, // ∈
36 LEXI, // ∃
37 LPRO, // ⊢
35 M4, // ♩ 38 M4, // ♩
36 M8, // ♪ 39 M8, // ♪
37 M8B, // ♫ 40 M8B, // ♫
38 M16, // ♬ 41 M16, // ♬
42 NEG, // COMBINING ⃠
43 NOPE, // 🚫
44 NUM, // №
39 OM, // ॐ 45 OM, // ॐ
46 SMB, // ☻
47 SMW, // ☺
40 STB, // ★ 48 STB, // ★
49 STOP, // ⛔
41 STW, // ☆ 50 STW, // ☆
42}; 51};
43#endif 52#endif
53
54typedef enum combined_modes {
55 CM_NULL = 0,
56 CM_CIRCLE,
57 CM_NO,
58 CM_KEYCAP,
59 CM_ZALGO,
60 CM_MAX
61} combined_mode_t;
62
63combined_mode_t combined_mode;
64
65// random choices
66const char * d6(void);
67const char * dance(bool more);
68const char * flip(bool back);
69const char * joy(bool harder);
70
71// like X and XP
72bool u_x(const char *text);
73bool u_xp(bool is_shifted, const char * shifted, const char *plain);
74
75bool combined_text(uint16_t keycode);
76void cycle_combined_mode(void);
77combined_mode_t set_combined_mode(combined_mode_t mode);