mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 09:56:54 +06:00
79e6b78669
* [keymap] ninjonas keymap updates * [refactor(kyria)] updating keymap for numpad layer to be transparent rather than ignores * [keymap(lily58)] added numpad layer * [keymap(crkbd)] added numpad layer activated through tapdance * [fix(8170)] fixing code review changes requested by noroadsleft * [fix(8170)] updating comments and .md files to use 'Cmd' instead of and ⌘
101 lines
8.3 KiB
C
101 lines
8.3 KiB
C
#include QMK_KEYBOARD_H
|
|
#include "ninjonas.h"
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
[_QWERTY] = LAYOUT_wrapper(
|
|
//,----------------------------------------------------. ,----------------------------------------------------.
|
|
_____________________QWERTY_L1______________________, _____________________QWERTY_R1______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________QWERTY_L2______________________, _____________________QWERTY_R2______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________QWERTY_L3______________________, _____________________QWERTY_R3______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
________MOD_LEFT_________, ________MOD_RIGHT________
|
|
//`---------------------' `---------------------'
|
|
),
|
|
|
|
[_DVORAK] = LAYOUT_wrapper(
|
|
//,----------------------------------------------------. ,----------------------------------------------------.
|
|
_____________________DVORAK_L1______________________, _____________________DVORAK_R1______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________DVORAK_L2______________________, _____________________DVORAK_R2______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________DVORAK_L3______________________, _____________________DVORAK_R3______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
________MOD_LEFT_________, ________MOD_RIGHT________
|
|
//`---------------------' `---------------------'
|
|
),
|
|
|
|
[_COLEMAK] = LAYOUT_wrapper(
|
|
//,----------------------------------------------------. ,----------------------------------------------------.
|
|
_____________________COLEMAK_L1_____________________, _____________________COLEMAK_R1_____________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________COLEMAK_L2_____________________, _____________________COLEMAK_R2_____________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________COLEMAK_L3_____________________, _____________________COLEMAK_R3_____________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
________MOD_LEFT_________, ________MOD_RIGHT________
|
|
//`---------------------' `---------------------'
|
|
),
|
|
|
|
[_LOWER] = LAYOUT_wrapper(
|
|
//,----------------------------------------------------. ,----------------------------------------------------.
|
|
_____________________LOWER_L1_______________________, _____________________LOWER_R1_______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________LOWER_L2_______________________, _____________________LOWER_R2_______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________LOWER_L3_______________________, _____________________LOWER_R3_______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_______,_______,_______, _______,_______,_______
|
|
//`---------------------' `---------------------'
|
|
),
|
|
|
|
[_RAISE] = LAYOUT_wrapper( \
|
|
//,----------------------------------------------------. ,----------------------------------------------------.
|
|
_____________________NUM_LEFT_______________________, _____________________NUM_RIGHT______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________SYM_LEFT_______________________, _____________________SYM_RIGHT______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________FUNC_LEFT______________________, _____________________FUNC_RIGHT_____________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_______,_______,_______, _______,_______,_______
|
|
//`---------------------' `---------------------'
|
|
),
|
|
|
|
[_ADJUST] = LAYOUT_wrapper( \
|
|
//,----------------------------------------------------. ,----------------------------------------------------.
|
|
_____________________ADJUST_L1______________________, _____________________ADJUST_R1______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________ADJUST_L2______________________, _____________________ADJUST_R2______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_____________________ADJUST_L3______________________, _____________________ADJUST_R3______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_______,_______,_______, _______,_______,_______
|
|
//`---------------------' `---------------------'
|
|
),
|
|
|
|
[_NUMPAD] = LAYOUT_wrapper( \
|
|
//,----------------------------------------------------. ,----------------------------------------------------.
|
|
_______, _______, _______, _______, _______, _______, _____________________NUMPAD_1_______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_______, _______, _______, _______, _______, _______, _____________________NUMPAD_2_______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_______, _______, _______, _______, _______, _______, _____________________NUMPAD_3_______________________,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_______,_______,_______, _______,_______,_______
|
|
//`---------------------' `---------------------'
|
|
),
|
|
/*
|
|
[_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,
|
|
//|--------+--------+--------+--------+--------+-------| |--------+--------+--------+--------+--------+-------|
|
|
_______,_______,_______, _______,_______,_______
|
|
//`---------------------' `---------------------'
|
|
),
|
|
*/
|
|
}; |