mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-19 03:36:28 +00:00
113 lines
2.3 KiB
C
113 lines
2.3 KiB
C
/* Copyright 2021 Batuhan Başerdem
|
|
* <baserdem.batuhan@gmail.com> @bbaserdem
|
|
*
|
|
* 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 "bbaserdem.h"
|
|
|
|
/* This header file contains definitons regarding custom keycodes.
|
|
* - Both regular and unicode macros are dealt with in this file
|
|
*/
|
|
|
|
// These will be delegated to keymap specific stuff (weak definition)
|
|
bool process_record_macro(uint16_t keycode, keyrecord_t *record);
|
|
|
|
// Unicodemap implementation
|
|
#ifdef UNICODEMAP_ENABLE
|
|
enum userspace_unicodemap {
|
|
UPC_A_CIRC,
|
|
UPC_C_CEDI,
|
|
UPC_G_BREV,
|
|
UPC_I_CIRC,
|
|
UPC_I_DOTL,
|
|
UPC_I_DOTT,
|
|
UPC_O_DIAE,
|
|
UPC_S_CEDI,
|
|
UPC_U_CIRC,
|
|
UPC_U_DIAE,
|
|
LOW_A_CIRC,
|
|
LOW_C_CEDI,
|
|
LOW_G_BREV,
|
|
LOW_I_CIRC,
|
|
LOW_I_DOTL,
|
|
LOW_I_DOTT,
|
|
LOW_O_DIAE,
|
|
LOW_S_CEDI,
|
|
LOW_U_CIRC,
|
|
LOW_U_DIAE,
|
|
ELLIPSIS,
|
|
PLANCK_CON,
|
|
ANGSTROM,
|
|
MATHPI,
|
|
BITCOIN,
|
|
UPC_ALPHA,
|
|
UPC_B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