2019-09-02 16:40:01 +02:00
|
|
|
/* Copyright 2019 @ninjonas
|
|
|
|
*
|
|
|
|
* 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 QMK_KEYBOARD_H
|
2019-09-26 06:28:06 +02:00
|
|
|
#include "ninjonas.h"
|
2019-09-02 16:40:01 +02:00
|
|
|
|
|
|
|
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
|
|
|
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
|
|
|
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
|
|
|
// entirely and just use numbers.
|
|
|
|
|
|
|
|
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
[_QWERTY] = LAYOUT_wrapper(
|
|
|
|
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________QWERTY_L1______________________, KC_MPLY, KC_MUTE, _____________________QWERTY_R1______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________QWERTY_L2______________________, T_LBRC, T_RBRC, _____________________QWERTY_R2______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________QWERTY_L3______________________, LT_RAI, LT_LOW, _____________________QWERTY_R3______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
________MOD_LEFT_________, K_LAPP, K_RAPP, ________MOD_RIGHT________
|
2019-09-02 16:40:01 +02:00
|
|
|
//`---------------------------------------' `---------------------------------------'
|
|
|
|
),
|
|
|
|
|
|
|
|
[_DVORAK] = LAYOUT_wrapper(
|
|
|
|
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________DVORAK_L1______________________, KC_MPLY, KC_MUTE, _____________________DVORAK_R1______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________DVORAK_L2______________________, T_LBRC, T_RBRC, _____________________DVORAK_R2______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________DVORAK_L3______________________, LT_RAI, LT_LOW, _____________________DVORAK_R3______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
________MOD_LEFT_________, K_LAPP, K_RAPP, ________MOD_RIGHT________
|
2019-09-02 16:40:01 +02:00
|
|
|
//`---------------------------------------' `---------------------------------------'
|
|
|
|
),
|
|
|
|
|
|
|
|
[_COLEMAK] = LAYOUT_wrapper(
|
|
|
|
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________COLEMAK_L1_____________________, KC_MPLY, KC_MUTE, _____________________COLEMAK_R1_____________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________COLEMAK_L2_____________________, T_LBRC, T_RBRC, _____________________COLEMAK_R2_____________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________COLEMAK_L3_____________________, LT_RAI, LT_LOW, _____________________COLEMAK_R3_____________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
________MOD_LEFT_________, K_LAPP, K_RAPP, ________MOD_RIGHT________
|
2019-09-02 16:40:01 +02:00
|
|
|
//`---------------------------------------' `---------------------------------------'
|
|
|
|
),
|
|
|
|
|
2019-09-26 06:28:06 +02:00
|
|
|
[_LOWER] = LAYOUT_wrapper(
|
2019-09-02 16:40:01 +02:00
|
|
|
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
|
2019-10-07 19:42:03 +02:00
|
|
|
_____________________LOWER_L1_______________________, K_CSCN, XXXXXXX, _____________________LOWER_R1_______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-10-07 19:42:03 +02:00
|
|
|
_____________________LOWER_L2_______________________, XXXXXXX, XXXXXXX, _____________________LOWER_R2_______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-10-07 19:42:03 +02:00
|
|
|
_____________________LOWER_L3_______________________, _______, _______, _____________________LOWER_R3_______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
__________________________________, _______, _______, M_CODE, _______
|
2019-09-02 16:40:01 +02:00
|
|
|
//`---------------------------------------' `---------------------------------------'
|
|
|
|
),
|
|
|
|
|
2019-09-26 06:28:06 +02:00
|
|
|
[_RAISE] = LAYOUT_wrapper(
|
2019-09-02 16:40:01 +02:00
|
|
|
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________NUM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________NUM_RIGHT______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________SYM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________SYM_RIGHT______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_____________________FUNC_LEFT______________________, _______, _______, _____________________FUNC_RIGHT_____________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
__________________________________, __________________________________
|
2019-09-02 16:40:01 +02:00
|
|
|
//`---------------------------------------' `---------------------------------------'
|
|
|
|
),
|
|
|
|
|
2019-09-26 06:28:06 +02:00
|
|
|
[_ADJUST] = LAYOUT_wrapper(
|
2019-09-02 16:40:01 +02:00
|
|
|
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
|
2019-10-07 19:42:03 +02:00
|
|
|
_____________________ADJUST_L1______________________, XXXXXXX, XXXXXXX, _____________________ADJUST_R1______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-10-07 19:42:03 +02:00
|
|
|
_____________________ADJUST_L2______________________, XXXXXXX, XXXXXXX, _____________________ADJUST_R2______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-10-07 19:42:03 +02:00
|
|
|
_____________________ADJUST_L3______________________, _______, _______, _____________________ADJUST_R3______________________,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
__________________________________, __________________________________
|
2019-09-02 16:40:01 +02:00
|
|
|
//`---------------------------------------' `---------------------------------------'
|
|
|
|
),
|
|
|
|
|
|
|
|
/*
|
2019-09-26 06:28:06 +02:00
|
|
|
[_TEMPLATE] = LAYOUT(
|
2019-09-02 16:40:01 +02:00
|
|
|
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
|
2019-09-26 06:28:06 +02:00
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
2019-09-02 16:40:01 +02:00
|
|
|
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
2019-09-26 06:28:06 +02:00
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______
|
2019-09-02 16:40:01 +02:00
|
|
|
//`---------------------------------------' `---------------------------------------'
|
|
|
|
)
|
|
|
|
*/
|
|
|
|
};
|