unicode.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. Copyright 2020 rupa <rupa@lrrr.us> @rupa
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #include "unicode.h"
  15. #if defined(UNICODEMAP_ENABLE)
  16. const uint32_t PROGMEM unicode_map[] = {
  17. [CHEK] = 0x2713, // ✓
  18. /*
  19. [DI1] = 0x2680, // ⚀
  20. [DI2] = 0x2681, // ⚁
  21. [DI3] = 0x2682, // ⚂
  22. [DI4] = 0x2683, // ⚃
  23. [DI5] = 0x2684, // ⚄
  24. [DI6] = 0x2685, // ⚅
  25. */
  26. [HAS] = 0x262D, // ☭
  27. [IBNG] = 0x203D, // ‽
  28. [IRNY] = 0x2E2E, // ⸮
  29. [M4] = 0x2669, // ♩
  30. [M8] = 0x266A, // ♪
  31. [M8B] = 0x266B, // ♫
  32. [M16] = 0x266C, // ♬
  33. [OM] = 0x0950, // ॐ
  34. [STB] = 0x2605, // ★
  35. [STW] = 0x2606, // ☆
  36. };
  37. #endif