keychron_qmk_firmware/users/ericgebhart/layers/toprows.h

81 lines
3.5 KiB
C
Raw Normal View History

/*
Copyright 2018-2022 Eric Gebhart <e.a.gebhart@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/>.
*/
#include "keycodes.h"
/*******************************************************************/
/* A Top Rows layer. Pick your parts. Bepo and Qwerty */
/* */
/* This is, to me, a stop gap layer. If I need symbols, numbers or */
/* function keys these rows are nicely predictable to most people. */
/* I currently use the beakl number row with regular symbols. */
/* I never use function keys for anything. */
/*******************************************************************/
// Kinesis function key row. I don't use them. but might as well define them.
#define ___KINTFUNC_L___ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8
2022-11-15 22:52:01 +06:00
// #define ___KINTFUNC_RIGHT___ KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, KC_FN0, QK_BOOT
#define ___KINTFUNC_R___ KC_F9, KC_F10, KC_F11, KC_F12, XXX, XXX, XXX, XXX, QK_BOOT
// A TOPROWS Layer.
// set it how you like it, if you like it.
//#define ___MODS_ROW___ ___OS_MODS_L___, ___, ___SML_MODS_R___
#define ___MODS_ROW___ ___SML_MODS_L___, ___, ___OS_MODS_R___
/********************************************************************************/
/* TOPROWS Layer chunk */
/********************************************************************************/
// These rows have already been langed, at their creation.
// altogether in a chunk.
#define CARTE_TOPROWS \
carte_de_map(" !@#$% ^&*()", \
" 40123 76598", \
" F1- -- -F12")
#define ___TOPROWS_3x10___ \
___10_SYMBOLS___, \
___10_NUMBERS_BEAKL15___, \
___10_FUNCS___
#define CARTE_TOPROWS_MOD \
carte_de_map(" !@#$% ^&*()", \
" 40123 76598", \
" SLMods OSMods")
#define ___TOPROWS_MOD_3x10___ \
___10_SYMBOLS___, \
___10_NUMBERS_BEAKL15___, \
___MODS_ROW___
#define CARTE_TOPROWS_BKL19 \
carte_de_map(" !@#$% ^&*()", \
" 32104 76598", \
" F1- -- -F12")
#define ___TOPROWS_BKL19_3x10___ \
___10_SYMBOLS___, \
___10_NUMBERS_BEAKL19___, \
___10_FUNCS___
#define CARTE_RAISE \
carte_de_map(" !@#$% ^&*()", \
" 12345 67890", \
" F1- -- -F12")
#define ___RAISE_3x10___ \
___10_SYMBOLS___, \
___10_NUMBERS___, \
___10_FUNCS___