diff options
| author | Joshua Diamond <josh@windowoffire.com> | 2020-06-05 05:01:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-05 02:01:47 -0700 |
| commit | d03bc3a9c185f97d3813758e7f6df7c879f42ad0 (patch) | |
| tree | 8b5a0b3aeede0aed5ab52061b8a129f808525526 /users/spidey3/unicode.c | |
| parent | c12e429da28399004dddcf2c67f7cb4bca8d28e4 (diff) | |
| download | qmk_firmware-d03bc3a9c185f97d3813758e7f6df7c879f42ad0.tar.gz qmk_firmware-d03bc3a9c185f97d3813758e7f6df7c879f42ad0.zip | |
Major enhancements to spidey3 keymaps and userspace (#9261)
* Add Chrome OS specific keys to 75_ansi/spidey3
* Clean up duplicative settings in rules.mk
* Refactor spidey3 userspace to use rgb layer blink
* Blink green on wakeup
* Improve _FN layer indicator
* Glyph transformation modes: wide, script, fraktur, and enclosed characters
* Add spider unicode glyph
* Fix compile error when NO_ACTION_ONESHOT
* Add a few more emoji
* Further refinement of lighting layer usage
* Fix reversed yes/no ack
* Lighting layers override RGB off
* Fix missing wide and incorrect script numbers
* Add LOL and surprise emoji
* Add missing break in switch statement
* Trim firmware size
* Use usage ID definitions in report.h
* Some minor whitespace cleanup
* Disable some unused features to reduce firmware size
* Print version on startup
* Seed rand() on first keystroke
* Add a key to immediately sleep CrOS
* Switch to Bootmagic Lite
* Trim down firmware size a little bit more
* Make RGBLIGHT_MODE_TWINKLE+4 my default
* Scan rate debug / fix version printing
Delay printing version on startup (console may not be ready)
Better scan rate reporting
* Disable locking caps, etc. to save more space
* Enable LTO
* Better seed for rand()
* Set MAX_LAYER for some performance improvement
* Another scan rate improvement
* Set manufacturer
* New startup animation
* Add GUI lock for F-keys (for CrOS)
* Add visual indication for glyph replacement and F-keys GUI lock
* Some cleanup; run cformat on spidey3 userspace
* Cycle between debug verbosity options
* Fix disable RGB Lighting after wakeup on Mac
Diffstat (limited to 'users/spidey3/unicode.c')
| -rw-r--r-- | users/spidey3/unicode.c | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/users/spidey3/unicode.c b/users/spidey3/unicode.c index 41ceef837..39a990674 100644 --- a/users/spidey3/unicode.c +++ b/users/spidey3/unicode.c | |||
| @@ -2,18 +2,24 @@ | |||
| 2 | #include "unicode.h" | 2 | #include "unicode.h" |
| 3 | 3 | ||
| 4 | const uint32_t PROGMEM unicode_map[] = { | 4 | const uint32_t PROGMEM unicode_map[] = { |
| 5 | [BUL1] = 0x2022, // • | 5 | [BUL1] = 0x2022, // • |
| 6 | [BUL2] = 0x25E6, // ◦ | 6 | [BUL2] = 0x25E6, // ◦ |
| 7 | [LARR] = 0x2190, // ← | 7 | [LARR] = 0x2190, // ← |
| 8 | [RARR] = 0x2192, // → | 8 | [RARR] = 0x2192, // → |
| 9 | [ENDASH] = 0x2013, // – | 9 | [ENDASH] = 0x2013, // – |
| 10 | [EMDASH] = 0x2014, // — | 10 | [EMDASH] = 0x2014, // — |
| 11 | [SPIDER] = 0x1F577, // 🕷 | ||
| 12 | [SAD] = 0x2639, // ☹ | ||
| 13 | [MEH] = 0x1F611, // 😑 | ||
| 14 | [HAPPY] = 0x1F600, // 😀 | ||
| 15 | [ANGRY] = 0x1F620, // 😠 | ||
| 16 | [THUMBUP] = 0x1F44D, // 👍 | ||
| 17 | [THUMBDN] = 0x1F44E, // 👎 | ||
| 18 | [LOL] = 0x1F602, // 😂 | ||
| 19 | [SURPRISE] = 0x1F62E, // 😮 | ||
| 11 | }; | 20 | }; |
| 12 | 21 | ||
| 13 | void eeconfig_init_user_unicode(void) | 22 | void eeconfig_init_user_unicode(void) { |
| 14 | { | 23 | // Default to Linux style |
| 15 | // Default to Linux style | 24 | set_unicode_input_mode(UC_LNX); |
| 16 | set_unicode_input_mode(UC_LNX); | ||
| 17 | } | 25 | } |
| 18 | |||
| 19 | |||
