mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-22 09:33:28 +00:00
e8eaf5630c
* 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
56 lines
2.6 KiB
C
56 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
|
|
// '-----------------------------' '-----------------------------'
|
|
)
|
|
};
|