mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-19 08:03:22 +00:00
0b9b2a6376
* add readme.md * add extern declaration of edvorakjp_config to edvorakjp.h * add oled.c * add layout definitions * add keymap.c * add rules.mk * fix rgblight issue: rgblight_setrgb() ignore RGBLIGHT_LIMIT_VAL
104 lines
6.4 KiB
C
104 lines
6.4 KiB
C
#include "helix.h"
|
|
#include "keymap_xrows.h"
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
[_EDVORAK] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
GRV ,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN,BSPC,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
LBRC,RBRC,COMM,DOT , P , Y , F , G , R , W , Q ,BSLS,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
EQL , A , O , E , I , U , D , T , N , S , M ,MINS,
|
|
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
|
|
QUOT,SCLN, X , C , V , Z ,TMB4, TMB5, B , H , J , K , L ,SLSH,
|
|
//|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
|
|
LEFT,DOWN, UP ,RGHT,TMB1,TMB2,TMB3, TMB6,TMB7,TMB8,LEFT,DOWN, UP ,RGHT
|
|
//`----+----+----+----+----+----+----/ \----+----+----+----+----+----+----'
|
|
),
|
|
|
|
[_EDVORAKJ1] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
, , , , , , , , , , , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
, AI , OU , EI , , , , , , , , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
, , , , , , , , , Y , , ,
|
|
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
|
|
,ANN ,ONN ,ENN ,INN ,UNN , , , , , , , , ,
|
|
//|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
|
|
, , , , , , , , , , , , ,
|
|
//`----+----+----+----+----+----+----/ \----+----+----+----+----+----+----'
|
|
),
|
|
|
|
[_EDVORAKJ2] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
, , , , , , , , , , , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
, AI , OU , EI , , , , , , , , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
, , , , , , , Y , , , , ,
|
|
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
|
|
,ANN ,ONN ,ENN ,INN ,UNN , , , , , , , , ,
|
|
//|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
|
|
, , , , , , , , , , , , ,
|
|
//`----+----+----+----+----+----+----/ \----+----+----+----+----+----+----'
|
|
),
|
|
|
|
[_QWERTY] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
GRV ,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN,BSPC,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
EQL , Q , W , E , R , T , Y , U , I , O , P ,MINS,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
LBRC, A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
|
|
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
|
|
RBRC, Z , X , C , V , B , , , N , M ,COMM,DOT ,SLSH,BSLS,
|
|
//|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
|
|
, , , , , , , , , , , , ,
|
|
//`----+----+----+----+----+----+----/ \----+----+----+----+----+----+----'
|
|
),
|
|
|
|
[_LOWER] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
, , , , , , , ,SLSH,ASTR, , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
F1 , F2 , F3 , F4 , F5 ,LCBR, RCBR, 7 , 8 , 9 ,MINS, ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
F6 , F7 , F8 , F9 ,F10 ,LPRN, RPRN, 4 , 5 , 6 ,PLUS, ,
|
|
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
|
|
F11 ,F12 ,PSCR,SLCK,PAUS,LBRC,LOCK, ,RBRC, 1 , 2 , 3 , , ,
|
|
//|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
|
|
HOME,PGDN,PGUP,END ,TMB9, , , , , 0 ,HOME,PGDN,PGUP,END
|
|
//`----+----+----+----+----+----+----/ \----+----+----+----+----+----+----'
|
|
),
|
|
|
|
[_RAISE] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
, , , , , , , ,SLSH,ASTR, , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
F1 , F2 , F3 , F4 , F5 ,LCBR, RCBR, 7 , 8 , 9 ,MINS, ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
F6 , F7 , F8 , F9 ,F10 ,LPRN, RPRN, 4 , 5 , 6 ,PLUS, ,
|
|
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
|
|
F11 ,F12 ,PSCR,SLCK,PAUS,LBRC,LOCK, ,RBRC, 1 , 2 , 3 , , ,
|
|
//|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
|
|
HOME,PGDN,PGUP,END ,TMB9, , , , , 0 ,HOME,PGDN,PGUP,END
|
|
//`----+----+----+----+----+----+----/ \----+----+----+----+----+----+----'
|
|
),
|
|
|
|
[_ADJUST] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
, , , , , , , , , , , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
, , , ,EXTOFF, , ,EXTON, , , , ,
|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
,RST ,DBUG,RTOG,WIN , , ,MAC ,QWER,EDJP, , ,
|
|
//|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
|
|
, , , , , , , , , , , , , ,
|
|
//|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
|
|
, , , , , , , , , , , , ,
|
|
//`----+----+----+----+----+----+----/ \----+----+----+----+----+----+----'
|
|
)
|
|
};
|