Replace Right key on base layer with RShift, convert adjust to KC_KEYMAP format

daktil_thumb_popravljen
Danny Nguyen 2018-02-08 10:09:53 -05:00 committed by Jack Humbert
parent 30b90de7c9
commit 8afbd649f0
1 changed files with 22 additions and 13 deletions

View File

@ -23,6 +23,15 @@ enum custom_keycodes {
#define KC_RASE RAISE #define KC_RASE RAISE
#define KC_RST RESET #define KC_RST RESET
#define KC_BL_S BL_STEP #define KC_BL_S BL_STEP
#define KC_DBUG DEBUG
#define KC_RTOG RGB_TOG
#define KC_RMOD RGB_MOD
#define KC_RHUI RGB_HUI
#define KC_RHUD RGB_HUD
#define KC_RSAI RGB_SAI
#define KC_RSAD RGB_SAD
#define KC_RVAI RGB_VAI
#define KC_RVAD RGB_VAD
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@ -34,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|----+----+----+----+----+----| |----+----+----+----+----+----| //|----+----+----+----+----+----| |----+----+----+----+----+----|
RASE, A , S , D , F , G , H , J , K , L ,SCLN,QUOT, RASE, A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----| //|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
LSFT, Z , X , C , V , B ,SPC , ENT , N , M ,COMM,DOT ,SLSH,RGHT, LSFT, Z , X , C , V , B ,SPC , ENT , N , M ,COMM,DOT ,SLSH,RSFT,
//`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----' //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----'
LCTL,LOWR,SPC , ENT ,LGUI,LALT LCTL,LOWR,SPC , ENT ,LGUI,LALT
// `----+----+----' `----+----+----' // `----+----+----' `----+----+----'
@ -68,18 +77,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// `----+----+----' `----+----+----' // `----+----+----' `----+----+----'
), ),
[_ADJUST] = KEYMAP( [_ADJUST] = KC_KEYMAP(
//,--------+--------+--------+--------+--------+--------. ,--------+--------+--------+--------+--------+--------. //,----+----+----+----+----+----. ,----+----+----+----+----+----.
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, , , , , , , , , , , , ,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| //|----+----+----+----+----+----| |----+----+----+----+----+----|
RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, RTOG,RMOD,RHUI,RSAI,RVAI, , , , , , , ,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| //|----+----+----+----+----+----| |----+----+----+----+----+----|
_______, DEBUG , RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, ,DBUG,RHUD,RSAD,RVAD, , , , , , , ,
//|--------+--------+--------+--------+--------+--------+--------. ,--------|--------+--------+--------+--------+--------+--------| //|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
BL_STEP, RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_S,RST , , , , , , , , , , , , ,
//`--------+--------+--------+----+---+--------+--------+--------/ \--------+--------+--------+---+----+--------+--------+--------' //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----'
_______, _______, _______, _______, _______, _______ , , , , ,
// `--------+--------+--------' `--------+--------+--------' // `----+----+----' `----+----+----'
) )
}; };