opensteno_qmk/keyboards/lets_split/keymaps/mtdjr/keymap.c
mtdjr e8eaf5630c Updates to mtdjr userspace and keymaps (#3206)
* slight tweaks to xd75 keymap

* update to config.h to remove undef of solenoid active

* code organization for userspace

* updates to userspace and keymaps

* add rgb to userspace and lets split

* add conditional around rgb functions in userpsace

* move rgb layer changes into layer_state_set_user
2018-06-20 15:13:00 -07:00

55 lines
2.6 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(
// ,-----------------------------. .-----------------------------.
TAB, Q , W , E , R , T , Y , U , I , O , P ,BSPC,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
EXC, A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
LSFT, Z , X , C , V , B , N , M ,COMM, DOT,SLSH, ENT,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
LOWR,LCTL,LALT,LGUI,LOWR, SPC, SPC,RASE,LEFT,DOWN, UP ,RGHT
// '-----------------------------' '-----------------------------'
),
[_LOWER] = LAYOUT_kc(
// ,-----------------------------. .-----------------------------.
TILD, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , DEL,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,LBRC,RBRC,BSLS,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
,UNDO, CUT,XCPY,XINS,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, , , , , , , , , , ,
// '-----------------------------' '-----------------------------'
),
[_RAISE] = LAYOUT_kc(
// ,-----------------------------. .-----------------------------.
GRV,EXLM, AT ,HASH, DLR,PERC, CIRC,AMPR,ASTR,LPRN,RPRN, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, MINS, EQL,xxxx,LCBR,RCBR,PIPE,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
,xxxx,xxxx,xxxx,xxxx,xxxx, UNDS,PLUS,xxxx,xxxx,xxxx, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, , , , , , , ,MNXT,VOLD,VOLU,MPLY
// '-----------------------------' '-----------------------------'
),
[_ADJUST] = LAYOUT_kc( \
// ,-----------------------------. .-----------------------------.
xxxx,ROOT,PPLY,PSEF,xxxx,xxxx, RST,STOG,xxxx,xxxx,xxxx, DEL,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
RGB,RHUI,RSAI,RVAI, MOD,xxxx, F1 , F2 , F3 , F4 , F5 , F6 ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
RBTH,RHUD,RSAD,RVAD,RMOD,xxxx, F7 , F8 , F9 , F10, F11, F12,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
,xxxx,xxxx,xxxx, ,xxxx, xxxx, ,xxxx,xxxx,xxxx,xxxx
// '-----------------------------' '-----------------------------'
)
};