[Keymap] Add csolje 42 keymap for the cantor (#18125)

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Christian Solje <csolje@gn.com>
master^2
Christian Solje 2022-08-29 20:22:01 +02:00 committed by GitHub
parent 56b93a3ad8
commit 22136f8135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 107 additions and 0 deletions

View File

@ -0,0 +1,107 @@
// Copyright 2022 Diego Palacios (@diepala)
// SPDX-License-Identifier: GPL-2.0
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* Tab Q W E R T Y U I O P Bsp
*
* ESC A S D F G H J K L ; '
*
* Sft Z X C V B N M , . / Sft
*
*
* LCTL Alt
* GUI/Bsp TO(1)
* ALT/ENT SPC
*
*/
[0] = LAYOUT_split_3x6_3(
//-------------------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
//-------------------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_ESCAPE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
//-------------------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
//-------------------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_LCTL, MT(MOD_LGUI, KC_BSPC), MT(MOD_LALT, KC_ENT), KC_SPC, TO(1), KC_RALT
//-------------------------------------------------------------------------- ---------------------------------------------------------------------------------
),
/*
*
* `~ 1 2 3 4 5 6 7 8 9 0 Bsp
*
* ! @ # $ % ^ & * ( ) |
*
* Sft += -_ + { } [ ] ; : \
*
*
* MLCKSCN TO(3)
* TO(0) TO(2)
* < >
*
*/
[1] = LAYOUT_split_3x6_3(
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_TRNS, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PIPE,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_LSFT, KC_EQL, KC_MINS, KC_PLUS, KC_LCBR, KC_RCBR, KC_LBRC, KC_RBRC, KC_SCLN, KC_COLN, KC_BSLS, KC_RSFT,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_TRNS, TO(0), KC_LT, KC_GT, TO(2), TO(3)
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
),
/*
*
* MSTP Play PRVS Next CAPS PgDn PgUp INS Print Bsp
*
* HOME END LCTRL+C LCTRL+V Left Down Up Right Del
*
* Sft UNDO CUT COPY PASTE RApp Vol- Vol+ Mute RGui
*
*
* LCTRL TO(3)
* TO(0) TO(0)
* ALT SPC
*
*/
[2] = LAYOUT_split_3x6_3(
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_MSTP, KC_MPLY, KC_MPRV, KC_MNXT, KC_NO, KC_CAPS, KC_PGDOWN, KC_PGUP, KC_INS, KC_PSCR, KC_NO, KC_BSPC,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_NO, KC_HOME, KC_END, C(KC_C), C(KC_V), KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_DEL, KC_NO,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_TAB, KC_UNDO, KC_CUT, KC_COPY, KC_PASTE, KC_APP, KC_VOLD, KC_VOLU, KC_MUTE, KC_NO, KC_NO, KC_RSFT,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_LCTL, TO(0), KC_LALT, KC_TRNS, KC_TRNS, TO(3)
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
),
/*
*
* F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11
*
* F12
*
*
*
*
*
* TO(0)
* ENT
*
*/
[3] = LAYOUT_split_3x6_3(
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
KC_NO, TO(0), KC_NO, KC_NO, KC_NO, KC_NO
//-------------------------------------------------------------- ---------------------------------------------------------------------------------
)
};