MOD_RGUI
This commit is contained in:
parent
341f8f5d67
commit
e2c9f4d364
8 changed files with 853 additions and 133 deletions
59
README.org
59
README.org
File diff suppressed because one or more lines are too long
19
config.h
19
config.h
|
@ -9,7 +9,15 @@
|
|||
#define FORCE_NKRO
|
||||
#undef RGBLIGHT_ANIMATIONS
|
||||
|
||||
// END-MUGUR-REGION #define UNICODE_SELECTED_MODES UC_MAC
|
||||
// END-MUGUR-REGION
|
||||
|
||||
#define EE_HANDS
|
||||
|
||||
#define TAPPING_TOGGLE 2
|
||||
#define TAPPING_TERM 175
|
||||
#define COMBO_TERM 300
|
||||
|
||||
#define UNICODE_SELECTED_MODES UC_MAC
|
||||
|
||||
#define VENDOR_ID 0x4653
|
||||
#define PRODUCT_ID 0x0001
|
||||
|
@ -28,7 +36,7 @@
|
|||
|
||||
#define DISABLE_RGB_MATRIX_ALPHAS_MODS
|
||||
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
/* #define DISABLE_RGB_MATRIX_BREATHING */
|
||||
#define DISABLE_RGB_MATRIX_BREATHING
|
||||
#define DISABLE_RGB_MATRIX_CYCLE_ALL
|
||||
#define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
#define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
||||
|
@ -54,16 +62,9 @@
|
|||
#define DISABLE_RGB_MATRIX_MULTISPLASH
|
||||
#define DISABLE_RGB_MATRIX_SOLID_SPLASH
|
||||
#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
|
||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_TYPING_HEATMAP
|
||||
#define RGB_MATRIX_STARTUP_HUE 128 // HSV_CYAN
|
||||
#define RGB_MATRIX_STARTUP_SAT 255
|
||||
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
// #define RGB_MATRIX_STARTUP_SPD
|
||||
#endif
|
||||
|
||||
#define EE_HANDS
|
||||
|
||||
#define TAPPING_TERM 175
|
||||
#define COMBO_TERM 300
|
||||
#define RETRO_TAPPING
|
||||
|
|
372
data/zzkt--alphalikes.kle.json
Normal file
372
data/zzkt--alphalikes.kle.json
Normal file
|
@ -0,0 +1,372 @@
|
|||
[
|
||||
{
|
||||
"name": "zzkt - alphalikes",
|
||||
"author": "https://github.com/zzkt/crkbd",
|
||||
"notes": "layers:\n- 0 default\n- 1 numeric\n- 2 move\n- 3 emacs\n- 4 hypm\n- 5 qmik",
|
||||
"plate": false
|
||||
},
|
||||
[
|
||||
{
|
||||
"x": 3,
|
||||
"t": "#000000\n\n#dd3c84"
|
||||
},
|
||||
"\n\n#\n\n\n\n\n\n\nE",
|
||||
{
|
||||
"x": 7
|
||||
},
|
||||
"\n\n*\n\n\n\n\n\n\nI"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 2,
|
||||
"t": "#000000\n\n#dd3c84\n#1c937f"
|
||||
},
|
||||
"\n\n@\n▲\n\n\n\n\n\nW"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -1,
|
||||
"x": 4,
|
||||
"t": "#000000\n\n#dd3c84"
|
||||
},
|
||||
"\n\n$\n\n\n\n\n\n\nR",
|
||||
{
|
||||
"x": 5
|
||||
},
|
||||
"\n\n&\n\n\n\n\n\n\nU",
|
||||
{
|
||||
"x": 1,
|
||||
"t": "#000000\n\n#dd3c84\n\n\n\n\n#dd3c84",
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
4
|
||||
]
|
||||
},
|
||||
"\n\n_\n\n\n\n\n-\n\nO"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000001,
|
||||
"x": 5,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"f": 3
|
||||
},
|
||||
"\n\n%\n\n\n\n\n\n\nT",
|
||||
{
|
||||
"x": 3,
|
||||
"f": 3
|
||||
},
|
||||
"\n\n^\n\n\n\n\n\n\nY"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"f": 3
|
||||
},
|
||||
"\n\n~\n\n\n\nTab",
|
||||
{
|
||||
"t": "#000000\n\n#dd3c84\n#1c937f",
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"\n\n!\nM v\n\n\n\n\n\nQ",
|
||||
{
|
||||
"x": 11,
|
||||
"t": "#000000\n\n#dd3c84\n\n\n\n\n#dd3c84"
|
||||
},
|
||||
"\n\n+\n\n\n\n\n=\n\nP",
|
||||
{
|
||||
"t": "#000000",
|
||||
"a": 7
|
||||
},
|
||||
"Bksp"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.30000000000000004,
|
||||
"x": 3,
|
||||
"t": "#000000\n\n#dd3c84\n1c937f",
|
||||
"a": 4,
|
||||
"f2": 0
|
||||
},
|
||||
"\n\n3\n►\n\n\n\n\n\nD",
|
||||
{
|
||||
"x": 7
|
||||
},
|
||||
"\n\n8\n▼\n\n\n\n\n\nK"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 2
|
||||
},
|
||||
"\n\n2\n▼\n\n\n\n\n\nS",
|
||||
{
|
||||
"x": 1,
|
||||
"t": "#000000\n\n#dd3c84\n#1c937f"
|
||||
},
|
||||
"\n\n4\nC e\n\n\n\n\n\nF",
|
||||
{
|
||||
"x": 5,
|
||||
"t": "#000000\n\n#dd3c84\n1c937f"
|
||||
},
|
||||
"\n\n7\n▲\n\n\n\n\n\nJ",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"\n\n9\n►\n\n\n\n\n\nL"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000001,
|
||||
"x": 5,
|
||||
"t": "#000000\n\n#dd3c84"
|
||||
},
|
||||
"\n\n5\n\n\n\n\n\n\nG",
|
||||
{
|
||||
"x": 3,
|
||||
"t": "#000000\n\n#dd3c84\n1c937f",
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"\n\n6\n◀︎\n\n\n\n\n\nH"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000001,
|
||||
"t": "#000000\n\n#dd3c84\n#1c937f",
|
||||
"f": 3
|
||||
},
|
||||
"\n\n0\nC a\n\n\n\n\n\nCtrl",
|
||||
{
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"\n\n1\n◀︎\n\n\n\n\n\nA",
|
||||
{
|
||||
"x": 11,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
4
|
||||
]
|
||||
},
|
||||
"\n\n0\n\n\n\n\n\n:\n;",
|
||||
{
|
||||
"t": "#000000\n\n#dd3c84\n#1c937f",
|
||||
"f": 2
|
||||
},
|
||||
"\n(LT 2)\n\n●\n\n\n\n\n\"\n'"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.2999999999999998,
|
||||
"x": 3,
|
||||
"f": 3,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"\n\n\\\nM >\n\n\n\n\n\nC",
|
||||
{
|
||||
"x": 7,
|
||||
"t": "#000000",
|
||||
"a": 5,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
6
|
||||
]
|
||||
},
|
||||
"<\n\n\n\n\n\n,"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 2,
|
||||
"t": "#000000\n\n\n#1c937f",
|
||||
"a": 4
|
||||
},
|
||||
"\n\n\nC v\n\n\n\n\n\nX",
|
||||
{
|
||||
"x": 1,
|
||||
"t": "#000000\n\n#dd3c84"
|
||||
},
|
||||
"\n\n{\n\n\n\n\n\n\nV",
|
||||
{
|
||||
"x": 5
|
||||
},
|
||||
"\n\n}\n\n\n\n\n\n\nM",
|
||||
{
|
||||
"x": 1,
|
||||
"t": "#000000",
|
||||
"a": 5
|
||||
},
|
||||
">\n\n\n\n\n\n."
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 5,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4
|
||||
},
|
||||
"\n\n[\n\n\n\n\n\n\nB",
|
||||
{
|
||||
"x": 3
|
||||
},
|
||||
"\n\n]\n\n\n\n\n\n\nN"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000004,
|
||||
"t": "#000000",
|
||||
"a": 5,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
4
|
||||
]
|
||||
},
|
||||
"\nShift\n\n\n\n\n▲",
|
||||
{
|
||||
"t": "#000000\n\n#dd3c84\n#1c937f",
|
||||
"a": 4,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
6,
|
||||
2
|
||||
]
|
||||
},
|
||||
"Z\n\n`\nM <",
|
||||
{
|
||||
"x": 11,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"f": 3
|
||||
},
|
||||
"\n\n|\n\n\n\n\n\n?\n/",
|
||||
{
|
||||
"t": "#000000",
|
||||
"a": 5,
|
||||
"f": 2,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
6,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
4
|
||||
]
|
||||
},
|
||||
"\n(LT 4)\n\n\n\n\n▼"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.19999999999999973,
|
||||
"x": 3.5,
|
||||
"t": "#dd3c84\n#1c937f\n\n\n\n\n#000000",
|
||||
"a": 4,
|
||||
"f": 2
|
||||
},
|
||||
"(TG 5)\nCtrl\n\n\n\n\n(MO 3)",
|
||||
{
|
||||
"x": 6,
|
||||
"t": "#000000\n\n#dd3c84"
|
||||
},
|
||||
"(TG 1)\n\n●"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 15,
|
||||
"rx": 4.5,
|
||||
"ry": 4.1,
|
||||
"y": -0.9999999999999996,
|
||||
"t": "#000000\n#1c937f",
|
||||
"f": 3,
|
||||
"f2": 2
|
||||
},
|
||||
"lapo\nShift"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 30,
|
||||
"rx": 5.4,
|
||||
"ry": 4.3,
|
||||
"y": -1.5,
|
||||
"x": 0.09999999999999964,
|
||||
"t": "#000000",
|
||||
"f": 2,
|
||||
"h": 1.5
|
||||
},
|
||||
"(G spc)"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -30,
|
||||
"rx": 9.6,
|
||||
"y": -1.5,
|
||||
"x": -1.0999999999999996,
|
||||
"a": 5,
|
||||
"f": 3,
|
||||
"h": 1.5
|
||||
},
|
||||
"(G ↵ )"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -15,
|
||||
"rx": 10.5,
|
||||
"ry": 4.1,
|
||||
"y": -0.9999999999999996,
|
||||
"x": -1,
|
||||
"a": 4
|
||||
},
|
||||
"rapc"
|
||||
]
|
||||
]
|
333
data/zzkt--emacs.kle.json
Normal file
333
data/zzkt--emacs.kle.json
Normal file
|
@ -0,0 +1,333 @@
|
|||
[
|
||||
{
|
||||
"name": "zzkt - emacs",
|
||||
"author": "https://github.com/zzkt/crkbd",
|
||||
"notes": "layers:\n- 0 default\n- 1 numeric\n- 2 move\n- 3 emacs\n- 4 hypm\n- 5 qmik",
|
||||
"plate": false
|
||||
},
|
||||
[
|
||||
{
|
||||
"x": 3,
|
||||
"a": 7
|
||||
},
|
||||
"C-x 0",
|
||||
{
|
||||
"x": 7,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4
|
||||
},
|
||||
"\n\nH-i"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 2,
|
||||
"t": "#000000",
|
||||
"a": 7
|
||||
},
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -1,
|
||||
"x": 4
|
||||
},
|
||||
"C-x 2",
|
||||
{
|
||||
"x": 5
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 1,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"\n\nH-i o\n\n\n\n\n\n\nC-M o"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000001,
|
||||
"x": 5,
|
||||
"t": "#000000",
|
||||
"a": 7
|
||||
},
|
||||
"C-x 3",
|
||||
{
|
||||
"x": 3
|
||||
},
|
||||
"C-x 4 t"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"a": 4,
|
||||
"fa": [
|
||||
2
|
||||
]
|
||||
},
|
||||
"esc",
|
||||
{
|
||||
"a": 7
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 11,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4,
|
||||
"fa": [
|
||||
2,
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"\n\nH-i l",
|
||||
{
|
||||
"t": "#000000",
|
||||
"a": 7
|
||||
},
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.30000000000000004,
|
||||
"x": 3,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4,
|
||||
"f": 3
|
||||
},
|
||||
"\n\nH-d",
|
||||
{
|
||||
"x": 7,
|
||||
"t": "#000000",
|
||||
"a": 7
|
||||
},
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 2,
|
||||
"f": 3
|
||||
},
|
||||
"M-%",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 5
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000001,
|
||||
"x": 5
|
||||
},
|
||||
"(gtd)",
|
||||
{
|
||||
"x": 3,
|
||||
"f": 3
|
||||
},
|
||||
"C-x b"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000001
|
||||
},
|
||||
"",
|
||||
"",
|
||||
{
|
||||
"x": 11
|
||||
},
|
||||
"",
|
||||
{
|
||||
"f": 2
|
||||
},
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.2999999999999998,
|
||||
"x": 3,
|
||||
"f": 3
|
||||
},
|
||||
"C-c",
|
||||
{
|
||||
"x": 7,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"\n\nH-m s"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 2,
|
||||
"t": "#000000",
|
||||
"a": 7
|
||||
},
|
||||
"M-x",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 5,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4,
|
||||
"fa": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
"\n\nH-m\n\n\n\n\n\n\n(magit)",
|
||||
{
|
||||
"x": 1,
|
||||
"t": "#000000",
|
||||
"a": 7
|
||||
},
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 5
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 3,
|
||||
"t": "#000000\n\n#dd3c84",
|
||||
"a": 4
|
||||
},
|
||||
"\n\nH-n"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000004,
|
||||
"t": "#000000"
|
||||
},
|
||||
"reset",
|
||||
{
|
||||
"a": 7
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 11
|
||||
},
|
||||
"",
|
||||
{
|
||||
"t": "#dd3c84",
|
||||
"f": 2
|
||||
},
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.19999999999999973,
|
||||
"x": 3.5
|
||||
},
|
||||
"",
|
||||
{
|
||||
"x": 6,
|
||||
"t": "#000000"
|
||||
},
|
||||
"(MO 4)"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 15,
|
||||
"rx": 4.5,
|
||||
"ry": 4.1,
|
||||
"y": -0.9999999999999996,
|
||||
"a": 4,
|
||||
"f": 3
|
||||
},
|
||||
"lapo"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 30,
|
||||
"rx": 5.4,
|
||||
"ry": 4.3,
|
||||
"y": -1.5,
|
||||
"x": 0.09999999999999964,
|
||||
"a": 5,
|
||||
"f": 2,
|
||||
"fa": [
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"h": 1.5
|
||||
},
|
||||
"H-i e"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -30,
|
||||
"rx": 9.6,
|
||||
"y": -1.5,
|
||||
"x": -1.0999999999999996,
|
||||
"f": 3,
|
||||
"fa": [
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"h": 1.5
|
||||
},
|
||||
"C-x 8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -15,
|
||||
"rx": 10.5,
|
||||
"ry": 4.1,
|
||||
"y": -0.9999999999999996,
|
||||
"x": -1,
|
||||
"a": 4,
|
||||
"fa": [
|
||||
2
|
||||
]
|
||||
},
|
||||
"rapc"
|
||||
]
|
||||
]
|
BIN
img/zzkt--alphalikes.png
Normal file
BIN
img/zzkt--alphalikes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
BIN
img/zzkt--emacs.png
Normal file
BIN
img/zzkt--emacs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
54
keymap.c
54
keymap.c
|
@ -1,13 +1,12 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
#include "version.h"
|
||||
#include "split_util.h"
|
||||
|
||||
// START-MUGUR-REGION
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "version.h"
|
||||
|
||||
/* Macros */
|
||||
enum custom_keycodes {EPRM = SAFE_RANGE, MACRO_15, MACRO_14, MACRO_13, MACRO_12, MACRO_11, MACRO_10, MACRO_9, MACRO_8, MACRO_7, MACRO_6, MACRO_5, MACRO_4, MACRO_3, MACRO_2, MACRO_1};
|
||||
enum custom_keycodes {EPRM = SAFE_RANGE, MACRO_16, MACRO_15, MACRO_14, MACRO_13, MACRO_12, MACRO_11, MACRO_10, MACRO_9, MACRO_8, MACRO_7, MACRO_6, MACRO_5, MACRO_4, MACRO_3, MACRO_2, MACRO_1};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
|
@ -16,47 +15,38 @@ case MACRO_1: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_0)); return false;
|
|||
case MACRO_2: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_2)); return false;
|
||||
case MACRO_3: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_3)); return false;
|
||||
case MACRO_4: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_4) SS_TAP(X_T)); return false;
|
||||
case MACRO_5: SEND_STRING(SS_LALT(SS_TAP(X_X)) "gtd" SS_TAP(X_ENTER)); return false;
|
||||
case MACRO_6: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_B)); return false;
|
||||
case MACRO_7: SEND_STRING("λ"); return false;
|
||||
case MACRO_8: SEND_STRING(SS_LALT(SS_TAP(X_X)) "magit" SS_TAP(X_ENTER)); return false;
|
||||
case MACRO_9: SEND_STRING(SS_RGUI(SS_TAP(X_I)) SS_TAP(X_E)); return false;
|
||||
case MACRO_10: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_8)); return false;
|
||||
case MACRO_11: SEND_STRING(SS_RGUI(SS_TAP(X_I)) SS_TAP(X_O)); return false;
|
||||
case MACRO_12: SEND_STRING(SS_RGUI(SS_TAP(X_I)) SS_TAP(X_L)); return false;
|
||||
case MACRO_13: SEND_STRING(SS_RGUI(SS_TAP(X_M)) SS_TAP(X_S)); return false;
|
||||
case MACRO_14: SEND_STRING(SS_RGUI(SS_TAP(X_D))); return false;
|
||||
case MACRO_15: SEND_STRING(SS_RGUI(SS_TAP(X_M)) SS_TAP(X_ENTER)); return false;
|
||||
}
|
||||
case MACRO_5: SEND_STRING(SS_LCTL(SS_TAP(X_LALT)) SS_TAP(X_O)); return false;
|
||||
case MACRO_6: SEND_STRING(SS_LALT(SS_TAP(X_X)) "gtd" SS_TAP(X_ENTER)); return false;
|
||||
case MACRO_7: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_B)); return false;
|
||||
case MACRO_8: SEND_STRING("λ"); return false;
|
||||
case MACRO_9: SEND_STRING(SS_LALT(SS_TAP(X_X)) "magit" SS_TAP(X_ENTER)); return false;
|
||||
case MACRO_10: SEND_STRING(SS_RCMD(SS_TAP(X_I)) SS_TAP(X_E)); return false;
|
||||
case MACRO_11: SEND_STRING(SS_LCTL(SS_TAP(X_X)) SS_TAP(X_8)); return false;
|
||||
case MACRO_12: SEND_STRING(SS_RCMD(SS_TAP(X_I)) SS_TAP(X_O)); return false;
|
||||
case MACRO_13: SEND_STRING(SS_RCMD(SS_TAP(X_I)) SS_TAP(X_L)); return false;
|
||||
case MACRO_14: SEND_STRING(SS_RCMD(SS_TAP(X_M)) SS_TAP(X_N)); return false;
|
||||
case MACRO_15: SEND_STRING(SS_RCMD(SS_TAP(X_M)) SS_TAP(X_M)); return false;
|
||||
case MACRO_16: SEND_STRING(SS_RCMD(SS_TAP(X_M)) SS_TAP(X_S)); return false;}
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
/* Tap Dances */
|
||||
|
||||
|
||||
/* Leader Keys */
|
||||
|
||||
|
||||
/* Combos */
|
||||
|
||||
|
||||
/* Layer Codes and Matrix */
|
||||
enum layer_codes {BASE, NUMERIC, MOVE, EMACS, HYPM, QMIK};
|
||||
enum layer_codes {BASE = 0, NUMERIC = 1, MOVE = 2, EMACS = 3, HYPM = 4, QMIK = 15};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[BASE] = LAYOUT_split_3x6_3(KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPACE, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON, LT(MOVE, KC_QUOTE), KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_QUESTION, MO(QMIK), MO(EMACS), KC_LAPO, MT(MOD_LGUI, KC_SPACE), KC_ENTER, KC_RAPC, TG(NUMERIC)),
|
||||
[BASE] = LAYOUT_split_3x6_3(KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPACE, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON, LT(MOVE, KC_QUOTE), MT(MOD_LSFT, KC_UP), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, LT(HYPM, KC_DOWN), MO(EMACS), KC_LAPO, MT(MOD_LGUI, KC_SPACE), MT(MOD_RGUI, KC_ENTER), KC_RAPC, TT(NUMERIC)),
|
||||
|
||||
[NUMERIC] = LAYOUT_split_3x6_3(KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_MINUS, KC_EQUAL, KC_BSPACE, KC_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, LT(MOVE, KC_ENTER), KC_LSFT, KC_TRNS, KC_LEFT_ANGLE_BRACKET, KC_LEFT_CURLY_BRACE, KC_LBRACKET, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_RBRACKET, KC_RIGHT_CURLY_BRACE, KC_RIGHT_ANGLE_BRACKET, KC_PIPE, MO(EMACS), TG(QMIK), LCTL(KC_LALT), KC_TRNS, KC_TRNS, KC_LSFT, TG(NUMERIC)),
|
||||
[NUMERIC] = LAYOUT_split_3x6_3(KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_MINUS, KC_EQUAL, KC_BSPACE, KC_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, LT(MOVE, KC_ENTER), MT(MOD_LSFT, KC_LEFT), KC_GRAVE, KC_TRNS, KC_TRNS, KC_LEFT_CURLY_BRACE, KC_LBRACKET, KC_RBRACKET, KC_RIGHT_CURLY_BRACE, KC_COMMA, KC_DOT, KC_PIPE, MT(MOD_RSFT, KC_RIGHT), TG(QMIK), KC_LAPO, KC_TRNS, KC_TRNS, KC_RAPC, KC_TRNS),
|
||||
|
||||
[MOVE] = LAYOUT_split_3x6_3(KC_TRNS, LALT(KC_V), KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LCTL(KC_A), KC_LEFT, KC_DOWN, KC_RIGHT, LCTL(KC_E), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LALT(KC_LEFT_ANGLE_BRACKET), LCTL(KC_V), LALT(KC_RIGHT_ANGLE_BRACKET), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
[MOVE] = LAYOUT_split_3x6_3(KC_TRNS, LALT(KC_V), KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LCTL(KC_A), KC_LEFT, KC_DOWN, KC_RIGHT, LCTL(KC_E), KC_TRNS, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, LALT(KC_LEFT_ANGLE_BRACKET), LCTL(KC_V), LALT(KC_RIGHT_ANGLE_BRACKET), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCTL, KC_LSFT, KC_LGUI, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[EMACS] = LAYOUT_split_3x6_3(KC_ESCAPE, KC_TRNS, KC_TRNS, MACRO_1, MACRO_2, MACRO_3, MACRO_4, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LALT(KC_PERCENT), KC_TRNS, KC_TRNS, MACRO_5, MACRO_6, KC_TRNS, KC_TRNS, MACRO_7, KC_TRNS, KC_TRNS, RESET, KC_TRNS, LALT(KC_X), LCTL(KC_C), KC_TRNS, KC_LEFT_PAREN, KC_RIGHT_PAREN, MACRO_8, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MACRO_9, MACRO_10, KC_TRNS, MO(HYPM)),
|
||||
[EMACS] = LAYOUT_split_3x6_3(KC_ESCAPE, KC_TRNS, KC_TRNS, MACRO_1, MACRO_2, MACRO_3, MACRO_4, KC_TRNS, KC_TRNS, MACRO_5, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LALT(KC_PERCENT), KC_TRNS, KC_TRNS, MACRO_6, MACRO_7, KC_TRNS, KC_TRNS, MACRO_8, KC_TRNS, KC_TRNS, RESET, KC_TRNS, LALT(KC_X), LCTL(KC_C), KC_TRNS, KC_LEFT_PAREN, KC_RIGHT_PAREN, MACRO_9, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MACRO_10, MACRO_11, KC_TRNS, MO(HYPM)),
|
||||
|
||||
[HYPM] = LAYOUT_split_3x6_3(KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MACRO_15, MACRO_11, MACRO_12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MACRO_14, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_M, MACRO_13, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
[HYPM] = LAYOUT_split_3x6_3(KC_X, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_I, MACRO_12, MACRO_13, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_D, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MACRO_14, MACRO_15, MACRO_16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[QMIK] = LAYOUT_split_3x6_3(KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, RGB_SAD, RGB_VAD, RGB_HUD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SAI, RGB_VAI, RGB_HUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)};
|
||||
[QMIK] = LAYOUT_split_3x6_3(KC_NO, RGB_TOG, RGB_MOD, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, RGB_SAD, RGB_VAD, RGB_HUD, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SAI, RGB_VAI, RGB_HUI, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)};
|
||||
|
||||
// END-MUGUR-REGION
|
||||
|
||||
|
@ -118,7 +108,7 @@ void oled_task_user(void) {
|
|||
|
||||
void keyboard_post_init_user(void) {
|
||||
debug_enable=true;
|
||||
//debug_matrix=true;
|
||||
debug_keyboard=true;
|
||||
//debug_matrix=true;
|
||||
//debug_mouse=true;
|
||||
}
|
||||
|
|
15
rules.mk
15
rules.mk
|
@ -1,18 +1,27 @@
|
|||
|
||||
BOOTLOADER = dfu # Elite-C
|
||||
|
||||
# START-MUGUR-REGION
|
||||
|
||||
FORCE_NKRO = yes
|
||||
LEADER_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
COMBO_ENABLE = no
|
||||
|
||||
# END-MUGUR-REGION BOOTLOADER = atmel-dfu # Elite-C
|
||||
# END-MUGUR-REGION
|
||||
|
||||
NKRO_ENABLE = no # six simultaneous keys should be enough
|
||||
|
||||
|
||||
RGBLIGHT_ENABLE = no
|
||||
RGB_MATRIX_ENABLE = yes # WS2812 # per-key RGB and underglow
|
||||
RGB_MATRIX_ENABLE = no # yes # WS2812 # per-key RGB and underglow
|
||||
|
||||
VIA_ENABLE = yes
|
||||
|
||||
UNICODE_ENABLE = yes
|
||||
|
||||
OLED_DRIVER_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = no # use mouse keys or not
|
||||
|
||||
CONSOLE_ENABLE = no # debug info
|
||||
|
|
Loading…
Reference in a new issue