jlj-qmk/keyboards/nyquist/keymaps/mtdjr/keymap.c
mtdjr 96648a133d Keymap: mtdjr userspace changes and Nyquist keymap addition (#3940)
* holefully correct error in mtdjr userspace for layer_state_set_user

* return state and wrap rgb actions in their own conditional

* mtdjr nyquist and userspace updates

* mtdjr updates as requested
2018-09-26 12:23:30 -07:00

65 lines
3.2 KiB
C

#include QMK_KEYBOARD_H
#include "mtdjr.h"
extern keymap_config_t keymap_config;
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_kc (
// ,-----------------------------. .-----------------------------.
GESC, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 ,BSPC,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
TAB, Q , W , E , R , T , Y , U , I , O , P ,QUOT,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
RASE, A , S , D , F , G , H , J , K , L ,SCLN, ENT,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
LSFT, Z , X , C , V , B , N , M ,COMM, DOT,SLSH,xxxx,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
LOWR,LCTL,LALT,LGUI, SPC, SPC, SPC, SPC,LEFT,DOWN, UP ,RGHT
// '-----------------------------' '-----------------------------'
),
[_LOWER] = LAYOUT_kc(
// ,-----------------------------. .-----------------------------.
TILD,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,UNDS,PLUS, DEL,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,LBRC,RBRC,BSLS,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,UNDO, CUT,XCPY,XINS,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, , , , , , , ,MNXT,VOLD,VOLU,MPLY
// '-----------------------------' '-----------------------------'
),
[_RAISE] = LAYOUT_kc(
// ,-----------------------------. .-----------------------------.
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,MINS, EQL, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,LCBR,RCBR,PIPE,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, , , , , , , ,MNXT,VOLD,VOLU,MPLY
// '-----------------------------' '-----------------------------'
),
[_ADJUST] = LAYOUT_kc(
// ,-----------------------------. .-----------------------------.
xxxx,ROOT,PPLY,PSEF,xxxx,xxxx, F1 , F2 , F3 , F4 , F5 , F6 ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,xxxx,xxxx,xxxx, RST,xxxx, F7 , F8 , F9 , F10, F11, F12,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, RGB,RHUI,RSAI,RVAI, MOD, xxxx,xxxx,xxxx,xxxx,xxxx, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,RBTH,RHUD,RSAD,RVAD,RMOD, xxxx,xxxx,xxxx,xxxx,xxxx, BLB,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
,xxxx,xxxx,xxxx, , , , ,BLOF, BLD, BLI,BLON
// '-----------------------------' '-----------------------------'
)
};