diff options
author | Joel Challis <git@zvecr.com> | 2023-11-26 18:36:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 05:36:45 +1100 |
commit | 1ed03f498fa204178c2696c510ac6a2cd8524e2d (patch) | |
tree | b97c1f983b7e4b57c007d0feedadd3ad3e39062b /users/konstantin/unicode.h | |
parent | 4908d4b1ca260efecf3613e6517aa3a6f2034876 (diff) | |
download | qmk_firmware-1ed03f498fa204178c2696c510ac6a2cd8524e2d.tar.gz qmk_firmware-1ed03f498fa204178c2696c510ac6a2cd8524e2d.zip |
Remove userspace keymaps (#22544)
Diffstat (limited to 'users/konstantin/unicode.h')
-rw-r--r-- | users/konstantin/unicode.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/users/konstantin/unicode.h b/users/konstantin/unicode.h deleted file mode 100644 index 472f48a942..0000000000 --- a/users/konstantin/unicode.h +++ /dev/null @@ -1,50 +0,0 @@ -/* Copyright 2019-2021 Konstantin Đorđević <vomindoraan@gmail.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "quantum.h" - -#define FOREACH_UNICODE(M) \ - M(COMMA, 0x002C) \ - M(L_PAREN, 0x0028) \ - M(R_PAREN, 0x0029) \ - M(EQUALS, 0x003D) \ - M(TIMES, 0x00D7) \ - M(DIVIDE, 0x00F7) \ - M(MINUS, 0x2212) - -#define UC_KEYCODE(name, code) name = UC(code), - -#define UCM_NAME(name, code) UCM_ ## name, -#define UCM_ENTRY(name, code) [UCM_ ## name] = code, -#define UCM_KEYCODE(name, code) name = UM(UCM_ ## name), - -#if defined(UNICODE_ENABLE) -enum unicode_keycodes { - FOREACH_UNICODE(UC_KEYCODE) -}; -#elif defined(UNICODEMAP_ENABLE) -enum unicode_names { - FOREACH_UNICODE(UCM_NAME) -}; - -extern const uint32_t unicode_map[] PROGMEM; - -enum unicode_keycodes { - FOREACH_UNICODE(UCM_KEYCODE) -}; -#endif |