|
|
|
@ -7,6 +7,60 @@
|
|
|
|
|
|
|
|
|
|
int current_layer = 0;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Layer0(Default Layer)
|
|
|
|
|
* ,----------------------------------------------------------.
|
|
|
|
|
* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp|
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| |
|
|
|
|
|
* |----------------------------------------------------' |
|
|
|
|
|
* |Contr| A| S| D| F| G| H| J| K| L| ;| '|Return |
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn2|
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* |Fn3|Gui |Alt |Space |Fn1 |Lef|Dow|Up |Rig|
|
|
|
|
|
* `----------------------------------------------------------'
|
|
|
|
|
*
|
|
|
|
|
* Layer1(with Fn1)
|
|
|
|
|
* ,----------------------------------------------------------.
|
|
|
|
|
* | `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete|
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* | \ | | | | | | | | | | | | | |
|
|
|
|
|
* |----------------------------------------------------' |
|
|
|
|
|
* |Contr| | | | | |Lef|Dow|Up |Rig| | | \ |
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* |Shift | | | | | |Hom|PgD|PgU|End| |Shift | |
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* | |Gui |Alt | |Fn1 |Lef|Dow|Up |Rig|
|
|
|
|
|
* `----------------------------------------------------------'
|
|
|
|
|
*
|
|
|
|
|
* Layer2(with Fn2)
|
|
|
|
|
* ,----------------------------------------------------------.
|
|
|
|
|
* | `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete|
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* | \ | | | | | | | | | | |Up | | |
|
|
|
|
|
* |----------------------------------------------------' |
|
|
|
|
|
* |Contr|VoD|VoU|Mut|F20| | *| /|Hom|PgU|Lef|Rig| \ |
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* |Shift | | | | | | +| -|End|PgD|Dow|Shift |Fn2|
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* | |Gui |Alt | | |Lef|Dow|Up |Rig|
|
|
|
|
|
* `----------------------------------------------------------'
|
|
|
|
|
*
|
|
|
|
|
* Layer3(with Fn3)
|
|
|
|
|
* ,----------------------------------------------------------.
|
|
|
|
|
* | `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete|
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* | \ | | | | | | | | | | | | | |
|
|
|
|
|
* |----------------------------------------------------' |
|
|
|
|
|
* |Contr|Mb1|Mb2|Mb3| | |McL|McD|McU|McR| | | \ |
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* |Shift | | | | | |MwL|MwD|MwU|MwR| |Shift | |
|
|
|
|
|
* |----------------------------------------------------------|
|
|
|
|
|
* | |Gui |Alt |Mb1 |Mb2 |MsL|MsD|MsU|MsR|
|
|
|
|
|
* `----------------------------------------------------------'
|
|
|
|
|
* Mc: Mouse Cursor / Mb: Mouse Button / Mw: Mouse Wheel
|
|
|
|
|
*/
|
|
|
|
|
static const uint8_t PROGMEM Keymap[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
|
// 0: default
|
|
|
|
|
{
|
|
|
|
|