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
|
|
|
|
#include "ninjonas.h"
|
|
|
|
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
|
|
|
|
/* QWERTY
|
|
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
|
|
* | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | ESC | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
|
|
|
|
* |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
|
|
|
|
* |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / | = |
|
|
|
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
2020-02-17 10:30:03 +01:00
|
|
|
* | Alt | Cmd | Ctrl | /Space / \Enter \ |BackSP| Del |LOWER |
|
2019-09-02 16:40:01 +02:00
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
|
|
|
*/
|
|
|
|
[_QWERTY] = LAYOUT_wrapper(
|
2020-02-17 10:30:03 +01:00
|
|
|
_____________________NUM_LEFT_______________________, _____________________NUM_RIGHT______________________,
|
|
|
|
_____________________QWERTY_L1______________________, _____________________QWERTY_R1______________________,
|
|
|
|
_____________________QWERTY_L2______________________, _____________________QWERTY_R2______________________,
|
|
|
|
_____________________QWERTY_L3______________________, T_LBRC, T_RBRC, _____________________QWERTY_R3______________________,
|
|
|
|
_____________MOD_LEFT_____________, _____________MOD_RIGHT____________
|
2019-09-02 16:40:01 +02:00
|
|
|
),
|
|
|
|
|
|
|
|
/* DVORAK
|
|
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
|
|
* | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | Tab | ' | , | . | P | Y | | F | G | C | R | L | \ |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | ESC | A | O | E | U | I |-------. ,-------| D | H | T | N | S | / |
|
|
|
|
* |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
|
|
|
|
* |LShift| ; | Q | J | K | X |-------| |-------| B | M | W | V | Z | = |
|
|
|
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
2020-02-17 10:30:03 +01:00
|
|
|
* | Alt | Cmd | Ctrl | /Space / \Enter \ |BackSP| Del |LOWER |
|
2019-09-02 16:40:01 +02:00
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
|
|
|
*/
|
|
|
|
[_DVORAK] = LAYOUT_wrapper(
|
2020-02-17 10:30:03 +01:00
|
|
|
_____________________NUM_LEFT_______________________, _____________________NUM_RIGHT______________________,
|
|
|
|
_____________________DVORAK_L1______________________, _____________________DVORAK_R1______________________,
|
|
|
|
_____________________DVORAK_L2______________________, _____________________DVORAK_R2______________________,
|
|
|
|
_____________________DVORAK_L3______________________, T_LBRC, T_RBRC, _____________________DVORAK_R3______________________,
|
|
|
|
_____________MOD_LEFT_____________, _____________MOD_RIGHT____________
|
2019-09-02 16:40:01 +02:00
|
|
|
),
|
|
|
|
|
|
|
|
/* COLEMAK
|
|
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
|
|
* | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | ESC | A | R | S | T | D |-------. ,-------| H | N | E | I | O | ' |
|
|
|
|
* |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
|
|
|
|
* |LShift| Z | X | C | V | B |-------| |-------| K | M | , | . | / | = |
|
|
|
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
2020-02-17 10:30:03 +01:00
|
|
|
* | Alt | Cmd | Ctrl | /Space / \Enter \ |BackSP| Del |LOWER |
|
2019-09-02 16:40:01 +02:00
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
|
|
|
*/
|
|
|
|
[_COLEMAK] = LAYOUT_wrapper(
|
2020-02-17 10:30:03 +01:00
|
|
|
_____________________NUM_LEFT_______________________, _____________________NUM_RIGHT______________________,
|
|
|
|
_____________________COLEMAK_L1_____________________, _____________________COLEMAK_R1_____________________,
|
|
|
|
_____________________COLEMAK_L2_____________________, _____________________COLEMAK_R2_____________________,
|
|
|
|
_____________________COLEMAK_L3_____________________, T_LBRC, T_RBRC, _____________________COLEMAK_R3_____________________,
|
|
|
|
_____________MOD_LEFT_____________, _____________MOD_RIGHT____________
|
2019-09-02 16:40:01 +02:00
|
|
|
),
|
|
|
|
|
|
|
|
/* LOWER
|
|
|
|
* ,------------------------------------------. ,------------------------------------------.
|
|
|
|
* | F11 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F12 |
|
|
|
|
* |------+------+------+-------+------+------| |------+------+------+------+-------+------|
|
2019-09-26 06:28:06 +02:00
|
|
|
* | | |KC_BRIU| Play | Mute | | | PgUp | Home | Up | End | |K_MDSH|
|
2019-09-02 16:40:01 +02:00
|
|
|
* |------+------+------+-------+------+------| |------+------+------+------+-------+------|
|
2019-09-26 06:28:06 +02:00
|
|
|
* | | |KC_BRID| Next |VolUp | |-------. ,-------| PgDn | Left | Down |Right |K_LOCK | |
|
2019-09-02 16:40:01 +02:00
|
|
|
* |------+------+------+-------+------+------| | | |------+------+------+------+-------+------|
|
2019-09-30 19:50:27 +02:00
|
|
|
* | |M_SHFT| | Prev |VolDn | |-------| |-------| | M | | | |M_PYNV|
|
2019-09-02 16:40:01 +02:00
|
|
|
* `------------------------------------------/ / \ \------------------------------------------'
|
|
|
|
* | | | | / / \ \ | |M_CODE| |
|
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
|
|
|
*/
|
|
|
|
[_LOWER] = LAYOUT_wrapper( \
|
2020-02-17 10:30:03 +01:00
|
|
|
_____________________FUNC_LEFT______________________, _____________________FUNC_RIGHT_____________________,
|
|
|
|
_____________________LOWER_L1_______________________, _____________________LOWER_R1_______________________,
|
|
|
|
_____________________LOWER_L2_______________________, _____________________LOWER_R2_______________________,
|
|
|
|
_____________________LOWER_L3_______________________, _______, _______, _____________________LOWER_R3_______________________,
|
|
|
|
__________________________________, _______, _______, M_CODE, _______
|
2019-09-02 16:40:01 +02:00
|
|
|
),
|
|
|
|
|
|
|
|
/* RAISE
|
|
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
|
|
* | | | | |K_CSCN| | | | | | | | |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | | | MS_1 | MS_U | MS_2 | WH_U | | | | | | | |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | | | MS_L | MS_D | MS_R | WH_D |-------. ,-------| | | | | | |
|
|
|
|
* |------+------+------+------+------+------| | | |------+------+------+------+------+------|
|
|
|
|
* | | | | | | |-------| |-------| | | | | | |
|
|
|
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
|
|
|
* | | | | / / \ \ | | | |
|
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
|
|
|
*/
|
|
|
|
[_RAISE] = LAYOUT_wrapper( \
|
2020-02-17 10:30:03 +01:00
|
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
XXXXXXX, XXXXXXX, _____________MOUSE_1______________, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
XXXXXXX, XXXXXXX, _____________MOUSE_2______________, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
2020-03-14 00:56:21 +01:00
|
|
|
__________________________________, _______, _______, _______, K_CPRF
|
2019-09-02 16:40:01 +02:00
|
|
|
),
|
|
|
|
|
|
|
|
/* ADJUST
|
|
|
|
* ,------------------------------------------. ,-----------------------------------------.
|
2019-10-07 19:42:03 +02:00
|
|
|
* | | | | | | | | | | | | | |
|
2019-09-02 16:40:01 +02:00
|
|
|
* |-------+------+------+------+------+------| |------+------+------+------+------+------|
|
2019-10-07 19:42:03 +02:00
|
|
|
* |M_MAKE |EEPRST| | | | | | | | |COLMAK|DVORAK|QWERTY|
|
2019-09-02 16:40:01 +02:00
|
|
|
* |-------+------+------+------+------+------| |------+------+------+------+------+------|
|
2019-09-26 06:28:06 +02:00
|
|
|
* |M_VRSN |M_MALL| | | | |-------. ,-------| | | | | | |
|
2019-09-02 16:40:01 +02:00
|
|
|
* |-------+------+------+------+------+------| | | |------+------+------+------+------+------|
|
2019-09-26 06:28:06 +02:00
|
|
|
* |M_FLSH | | | | | |-------| |-------| | | | | | |
|
2019-09-02 16:40:01 +02:00
|
|
|
* `------------------------------------------/ / \ \-----------------------------------------'
|
2019-09-26 06:28:06 +02:00
|
|
|
* | | | | / / \ \ | | | |
|
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
2019-09-02 16:40:01 +02:00
|
|
|
*/
|
|
|
|
[_ADJUST] = LAYOUT_wrapper( \
|
2020-02-17 10:30:03 +01:00
|
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
_____________________ADJUST_L1______________________, _____________________ADJUST_R1______________________,
|
|
|
|
_____________________ADJUST_L2______________________, _____________________ADJUST_R2______________________,
|
|
|
|
_____________________ADJUST_L3______________________, XXXXXXX, XXXXXXX, _____________________ADJUST_R3______________________,
|
|
|
|
__________________________________, __________________________________
|
2019-09-02 16:40:01 +02:00
|
|
|
),
|
2020-02-17 10:30:03 +01:00
|
|
|
/* TEMPLATE
|
|
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
|
|
* | | | | | | | | | | | | | |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | | | | | | | | | | | | | |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | | | | | | |-------. ,-------| | | | | | |
|
|
|
|
* |------+------+------+------+------+------| | | |------+------+------+------+------+------|
|
|
|
|
* | | | | | | |-------| |-------| | | | | | |
|
|
|
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
|
|
|
* | | | | / / \ \ | | | |
|
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
|
|
|
*/
|
|
|
|
[_NUMPAD] = LAYOUT_wrapper( \
|
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, _______, _______, _______, _______, _______, _____________________NUMPAD_1_______________________,
|
|
|
|
_______, _______, _______, _______, _______, _______, _____________________NUMPAD_2_______________________,
|
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _____________________NUMPAD_3_______________________,
|
|
|
|
__________________________________, __________________________________
|
|
|
|
),
|
|
|
|
};
|
|
|
|
|
|
|
|
/* TEMPLATE
|
|
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
|
|
* | | | | | | | | | | | | | |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | | | | | | | | | | | | | |
|
|
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
|
|
* | | | | | | |-------. ,-------| | | | | | |
|
|
|
|
* |------+------+------+------+------+------| | | |------+------+------+------+------+------|
|
|
|
|
* | | | | | | |-------| |-------| | | | | | |
|
|
|
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
|
|
|
* | | | | / / \ \ | | | |
|
|
|
|
* | | | |/ / \ \ | | | |
|
|
|
|
* `----------------------------' '------''--------------------'
|
|
|
|
*
|
|
|
|
[_TEMPLATE] = LAYOUT_wrapper( \
|
|
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
|
|
__________________________________, __________________________________
|
|
|
|
),
|
|
|
|
*/
|