commit
69a6772074
@ -0,0 +1,150 @@ |
||||
{ |
||||
"keyboard_name": "Dimple", |
||||
"url": "http://lazydesigners.cn", |
||||
"maintainer": "Jacky@LAZYDESIGNERS", |
||||
"layouts": { |
||||
"LAYOUT_ortho_2u": { |
||||
"layout": [ |
||||
{"label":"Esc", "x":0, "y":0, "w":1.25}, |
||||
{"label":"Q", "x":1.25, "y":0}, |
||||
{"label":"W", "x":2.25, "y":0}, |
||||
{"label":"E", "x":3.25, "y":0}, |
||||
{"label":"R", "x":4.25, "y":0}, |
||||
{"label":"T", "x":5.25, "y":0}, |
||||
{"label":"Y", "x":6.25, "y":0}, |
||||
{"label":"U", "x":7.25, "y":0}, |
||||
{"label":"I", "x":8.25, "y":0}, |
||||
{"label":"O", "x":9.25, "y":0}, |
||||
{"label":"P", "x":10.25, "y":0}, |
||||
{"label":"BackSpace", "x":11.25, "y":0, "w":1.25}, |
||||
{"label":"Tab", "x":0, "y":1, "w":1.25}, |
||||
{"label":"A", "x":1.25, "y":1}, |
||||
{"label":"S", "x":2.25, "y":1}, |
||||
{"label":"D", "x":3.25, "y":1}, |
||||
{"label":"F", "x":4.25, "y":1}, |
||||
{"label":"G", "x":5.25, "y":1}, |
||||
{"label":"H", "x":6.25, "y":1}, |
||||
{"label":"J", "x":7.25, "y":1}, |
||||
{"label":"K", "x":8.25, "y":1}, |
||||
{"label":"L", "x":9.25, "y":1}, |
||||
{"label":"'", "x":10.25, "y":1}, |
||||
{"label":"Enter", "x":11.25, "y":1, "w":1.25}, |
||||
{"label":"Shift", "x":0, "y":2, "w":1.25}, |
||||
{"label":"Z", "x":1.25, "y":2}, |
||||
{"label":"X", "x":2.25, "y":2}, |
||||
{"label":"C", "x":3.25, "y":2}, |
||||
{"label":"V", "x":4.25, "y":2}, |
||||
{"label":"B", "x":5.25, "y":2}, |
||||
{"label":"N", "x":6.25, "y":2}, |
||||
{"label":"M", "x":7.25, "y":2}, |
||||
{"label":",", "x":8.25, "y":2}, |
||||
{"label":".", "x":9.25, "y":2}, |
||||
{"label":"Up", "x":10.25, "y":2}, |
||||
{"label":"FN", "x":11.25, "y":2, "w":1.25}, |
||||
{"label":"Ctrl", "x":0.75, "y":3}, |
||||
{"label":"Gui", "x":1.75, "y":3}, |
||||
{"label":"Alt", "x":2.75, "y":3}, |
||||
{"label":"Space", "x":3.75, "y":3, "w":2}, |
||||
{"label":"FN", "x":5.75, "y":3}, |
||||
{"label":"Space", "x":6.75, "y":3, "w":2}, |
||||
{"label":"Left", "x":8.75, "y":3}, |
||||
{"label":"Down", "x":9.75, "y":3}, |
||||
{"label":"Right", "x":10.75, "y":3} |
||||
] |
||||
}, |
||||
"LAYOUT_ortho_3u": { |
||||
"layout": [ |
||||
{"label":"Esc", "x":0, "y":0, "w":1.25}, |
||||
{"label":"Q", "x":1.25, "y":0}, |
||||
{"label":"W", "x":2.25, "y":0}, |
||||
{"label":"E", "x":3.25, "y":0}, |
||||
{"label":"R", "x":4.25, "y":0}, |
||||
{"label":"T", "x":5.25, "y":0}, |
||||
{"label":"Y", "x":6.25, "y":0}, |
||||
{"label":"U", "x":7.25, "y":0}, |
||||
{"label":"I", "x":8.25, "y":0}, |
||||
{"label":"O", "x":9.25, "y":0}, |
||||
{"label":"P", "x":10.25, "y":0}, |
||||
{"label":"BackSpace", "x":11.25, "y":0, "w":1.25}, |
||||
{"label":"Tab", "x":0, "y":1, "w":1.25}, |
||||
{"label":"A", "x":1.25, "y":1}, |
||||
{"label":"S", "x":2.25, "y":1}, |
||||
{"label":"D", "x":3.25, "y":1}, |
||||
{"label":"F", "x":4.25, "y":1}, |
||||
{"label":"G", "x":5.25, "y":1}, |
||||
{"label":"H", "x":6.25, "y":1}, |
||||
{"label":"J", "x":7.25, "y":1}, |
||||
{"label":"K", "x":8.25, "y":1}, |
||||
{"label":"L", "x":9.25, "y":1}, |
||||
{"label":"'", "x":10.25, "y":1}, |
||||
{"label":"Enter", "x":11.25, "y":1, "w":1.25}, |
||||
{"label":"Shift", "x":0, "y":2, "w":1.25}, |
||||
{"label":"Z", "x":1.25, "y":2}, |
||||
{"label":"X", "x":2.25, "y":2}, |
||||
{"label":"C", "x":3.25, "y":2}, |
||||
{"label":"V", "x":4.25, "y":2}, |
||||
{"label":"B", "x":5.25, "y":2}, |
||||
{"label":"N", "x":6.25, "y":2}, |
||||
{"label":"M", "x":7.25, "y":2}, |
||||
{"label":",", "x":8.25, "y":2}, |
||||
{"label":".", "x":9.25, "y":2}, |
||||
{"label":"Up", "x":10.25, "y":2}, |
||||
{"label":"FN", "x":11.25, "y":2, "w":1.25}, |
||||
{"label":"Ctrl", "x":0.75, "y":3}, |
||||
{"label":"Gui", "x":1.75, "y":3}, |
||||
{"label":"Alt", "x":2.75, "y":3}, |
||||
{"label":"Raise", "x":3.75, "y":3}, |
||||
{"label":"FN", "x":4.75, "y":3,"w":3}, |
||||
{"label":"Lower", "x":7.75, "y":3}, |
||||
{"label":"Left", "x":8.75, "y":3}, |
||||
{"label":"Down", "x":9.75, "y":3}, |
||||
{"label":"Right", "x":10.75, "y":3} |
||||
] |
||||
}, |
||||
"LAYOUT_ortho_7u": { |
||||
"layout": [ |
||||
{"label":"Esc", "x":0, "y":0, "w":1.25}, |
||||
{"label":"Q", "x":1.25, "y":0}, |
||||
{"label":"W", "x":2.25, "y":0}, |
||||
{"label":"E", "x":3.25, "y":0}, |
||||
{"label":"R", "x":4.25, "y":0}, |
||||
{"label":"T", "x":5.25, "y":0}, |
||||
{"label":"Y", "x":6.25, "y":0}, |
||||
{"label":"U", "x":7.25, "y":0}, |
||||
{"label":"I", "x":8.25, "y":0}, |
||||
{"label":"O", "x":9.25, "y":0}, |
||||
{"label":"P", "x":10.25, "y":0}, |
||||
{"label":"Back<br>Space", "x":11.25, "y":0, "w":1.25}, |
||||
{"label":"Tab", "x":0, "y":1, "w":1.25}, |
||||
{"label":"A", "x":1.25, "y":1}, |
||||
{"label":"S", "x":2.25, "y":1}, |
||||
{"label":"D", "x":3.25, "y":1}, |
||||
{"label":"F", "x":4.25, "y":1}, |
||||
{"label":"G", "x":5.25, "y":1}, |
||||
{"label":"H", "x":6.25, "y":1}, |
||||
{"label":"J", "x":7.25, "y":1}, |
||||
{"label":"K", "x":8.25, "y":1}, |
||||
{"label":"L", "x":9.25, "y":1}, |
||||
{"label":"'", "x":10.25, "y":1}, |
||||
{"label":"Enter", "x":11.25, "y":1, "w":1.25}, |
||||
{"label":"Shift", "x":0, "y":2, "w":1.25}, |
||||
{"label":"Z", "x":1.25, "y":2}, |
||||
{"label":"X", "x":2.25, "y":2}, |
||||
{"label":"C", "x":3.25, "y":2}, |
||||
{"label":"V", "x":4.25, "y":2}, |
||||
{"label":"B", "x":5.25, "y":2}, |
||||
{"label":"N", "x":6.25, "y":2}, |
||||
{"label":"M", "x":7.25, "y":2}, |
||||
{"label":",", "x":8.25, "y":2}, |
||||
{"label":".", "x":9.25, "y":2}, |
||||
{"label":"Up", "x":10.25, "y":2}, |
||||
{"label":"FN", "x":11.25, "y":2, "w":1.25}, |
||||
{"label":"Ctrl", "x":0.75, "y":3}, |
||||
{"label":"Gui", "x":1.75, "y":3}, |
||||
{"label":"Space", "x":2.75, "y":3, "w":7}, |
||||
{"label":"Down", "x":9.75, "y":3}, |
||||
{"label":"Right", "x":10.75, "y":3} |
||||
] |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,53 @@ |
||||
/* Copyright 2021 LAZYDESIGNERS
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#include QMK_KEYBOARD_H |
||||
|
||||
#define LT2_TAB LT(2, KC_TAB) |
||||
#define LT1_SPC LT(1, KC_SPC) |
||||
|
||||
/*
|
||||
* ,------------------------------------------------------------------. |
||||
* |Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | |
||||
* |------------------------------------------------------------------| |
||||
* |Tab/LT2| A | S | D | F | G | H | J | K | L | ' | |Enter| |
||||
* |------------------------------------------------------------------| |
||||
* | Shift | Z | X | C | V | B | N | M | , | . | Up | MO(2) | |
||||
* |------------------------------------------------------------------| |
||||
* |Ctrl|Gui |Alt | Spc/LT1 | MO(2)| Spc |Left|Down|Rght| |
||||
* `---------------------------------------------------------' |
||||
*/ |
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||
[0] = LAYOUT_ortho_2u( |
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
||||
LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, |
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, MO(2), |
||||
KC_LCTL, KC_LGUI, KC_RALT, LT1_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT |
||||
), |
||||
[1] = LAYOUT_ortho_2u( |
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, |
||||
RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_NO,
|
||||
KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO |
||||
), |
||||
[2] = LAYOUT_ortho_2u( |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO |
||||
), |
||||
}; |
@ -0,0 +1,59 @@ |
||||
/* Copyright 2021 LAZYDESIGNERS
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#include QMK_KEYBOARD_H |
||||
|
||||
#define LT2_TAB LT(2, KC_TAB) |
||||
#define LT1_SPC LT(1, KC_SPC) |
||||
|
||||
/*
|
||||
* ,------------------------------------------------------------------. |
||||
* |Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | |
||||
* |------------------------------------------------------------------| |
||||
* |Tab/LT2| A | S | D | F | G | H | J | K | L | ' | |Enter| |
||||
* |------------------------------------------------------------------| |
||||
* | Shift | Z | X | C | V | B | N | M | , | . | Up | MO(2) | |
||||
* |------------------------------------------------------------------| |
||||
* |Ctrl|Gui |Alt | Spc/LT1 | MO(2)| Spc |Left|Down|Rght| |
||||
* `---------------------------------------------------------' |
||||
*/ |
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||
[0] = LAYOUT_ortho_2u( |
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
||||
LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, |
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, MO(2), |
||||
KC_LCTL, KC_LGUI, KC_RALT, LT1_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT |
||||
), |
||||
[1] = LAYOUT_ortho_2u( |
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, |
||||
RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_NO,
|
||||
KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO |
||||
), |
||||
[2] = LAYOUT_ortho_2u( |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO |
||||
), |
||||
[3] = LAYOUT_ortho_2u( |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO |
||||
), |
||||
}; |
@ -0,0 +1,15 @@ |
||||
/*
|
||||
Copyright 2021 LAZYDESIGNERS |
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#include "ortho.h" |
@ -0,0 +1,91 @@ |
||||
/*
|
||||
Copyright 2021 LAZYDESIGNERS |
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#include "quantum.h" |
||||
|
||||
/*
|
||||
* ,-------------------------------------------------------------. |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | 2U | | 2U | | | | |
||||
* `------------------------------------------------------' |
||||
*/ |
||||
|
||||
#define LAYOUT_ortho_2u( \ |
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
|
||||
K300, K302, K303, K304, K305, K306, K307, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
|
||||
{ K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \
|
||||
} |
||||
|
||||
/*
|
||||
* ,-------------------------------------------------------------. |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | | 3U | | | | | |
||||
* `------------------------------------------------------' |
||||
*/ |
||||
|
||||
#define LAYOUT_ortho_3u( \ |
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
|
||||
K300, K302, K303, K304, K305, K306, K307, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
|
||||
{ K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \
|
||||
} |
||||
|
||||
/*
|
||||
* ,-------------------------------------------------------------. |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------------| |
||||
* | | | 7U | | | |
||||
* `------------------------------------------------------' |
||||
*/ |
||||
|
||||
#define LAYOUT_ortho_7u( \ |
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
|
||||
K300, K302, K305, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
|
||||
{ K300, KC_NO, K302, KC_NO, KC_NO, K305, KC_NO, KC_NO, K308, K309, KC_NO, KC_NO } \
|
||||
} |
||||
|
||||
|
@ -0,0 +1,3 @@ |
||||
# Disable unsupported hardware
|
||||
BACKLIGHT_SUPPORTED = no
|
||||
RGBLIGHT_ENABLE = no
|
@ -0,0 +1,19 @@ |
||||
/* Copyright 2021 LAZYDESIGNERS
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#define TAPPING_TERM 170 |
@ -0,0 +1,162 @@ |
||||
/* Copyright 2019 Erovia
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
#include QMK_KEYBOARD_H |
||||
#include "erovia.h" |
||||
|
||||
// Left space on tap, LOWER on hold
|
||||
#define SPC_LOW LT(_LOWER, KC_TAB) |
||||
// Left space on tap, UPPER on hold
|
||||
#define SPC_UPR LT(_RAISE, KC_SPC) |
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | ` | Q | W | E | R | T | Y | U | I | O | P | Bspc | |
||||
* |---------------------------------------------------------------| |
||||
* | Esc | A | S | D | F | G | H | J | K | L | ' | . | |
||||
* |---------------------------------------------------------------| |
||||
* | Shift | Z | X | C | V | B | N | M | , | . | Enter | |
||||
* |---------------------------------------------------------------| |
||||
* |Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse | | | | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
[_QWERTY] = LAYOUT( |
||||
KC_GRV, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
||||
VIM_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_DOT, |
||||
TD_SHFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, TD_ENTR, |
||||
KC_LCTL, KC_LGUI, KC_LALT, SPC_LOW, SPC_UPR, KC_NO, KC_NO, KC_NO |
||||
), |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | ` | Q | W | E | R | T | Y | U | I | O | P | Bspc | |
||||
* |---------------------------------------------------------------| |
||||
* | Esc | A | S | D | F | G | H | J | K | L | ' | ' | |
||||
* |---------------------------------------------------------------| |
||||
* | Shift | Z | X | C | V | B | N | M | , | . | Enter | |
||||
* |---------------------------------------------------------------| |
||||
* |Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse | | | | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
[_COLEMAK] = LAYOUT( |
||||
KC_GRV, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, |
||||
VIM_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_QUOT, |
||||
TD_SHFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, TD_ENTR, |
||||
KC_LCTL, KC_LGUI, KC_LALT, SPC_LOW, SPC_UPR, KC_NO, KC_NO, KC_NO |
||||
), |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | | |
||||
* |---------------------------------------------------------------| |
||||
* | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | F7 | F8 | F9 |F10 |F11 |F12 | | ; |PgUp| / | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | |Home|PgDn|End | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
[_LOWER] = LAYOUT( |
||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TRNS, |
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, |
||||
KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_SCLN, KC_PGUP, KC_SLSH, |
||||
KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END |
||||
), |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | |
||||
* |---------------------------------------------------------------| |
||||
* | Ins | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | |
||||
* |---------------------------------------------------------------| |
||||
* | | F7 | F8 | F9 |F10 |F11 |F12 | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* |VolD|Mute|VolU| | | | | | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
[_RAISE] = LAYOUT( |
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, |
||||
KC_INS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, |
||||
KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO |
||||
), |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* |EEPR|RST | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* |Leader| | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* |RGB-|RGB |RGB+| | | | | | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
[_ADJUST] = LAYOUT( |
||||
EEP_RST, RESET, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_LEAD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, QWERTY, COLEMAK, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
RGB_VAD, RGB_TOG, RGB_VAI, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO |
||||
), |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | H | J | K | L | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | |Up | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | |Left|Down|Rght| |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
[_VIM] = LAYOUT( |
||||
EEP_RST, RESET, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_H, KC_J, KC_K, KC_L, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, |
||||
RGB_VAD, RGB_TOG, RGB_VAI, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT |
||||
), |
||||
}; |
||||
|
||||
layer_state_t layer_state_set_keymap(layer_state_t state) { |
||||
state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); |
||||
switch (biton32(state)) { |
||||
case _LOWER: |
||||
rgblight_sethsv_noeeprom(HSV_GREEN); |
||||
break; |
||||
case _RAISE: |
||||
rgblight_sethsv_noeeprom(HSV_GOLD); |
||||
break; |
||||
case _ADJUST: |
||||
rgblight_sethsv_noeeprom(HSV_RED); |
||||
break; |
||||
default: |
||||
rgblight_sethsv_noeeprom(HSV_WHITE); |
||||
break; |
||||
} |
||||
return state; |
||||
} |
||||
|
||||
void keyboard_post_init_user(void) { |
||||
dimple_led_off(); |
||||
} |
@ -0,0 +1,60 @@ |
||||
# The default keymap for Dimple |
||||
|
||||
**Features** |
||||
|
||||
* Shift acts as CapsLock when tapped |
||||
* Left space: space on tap, Lower layer on hold |
||||
* Right space: space on tap, Raise layer on hold |
||||
* Both space: Adjust layer on hold |
||||
|
||||
## QWERTY (Normal) Layer |
||||
``` |
||||
,---------------------------------------------------------------. |
||||
|Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | |
||||
|---------------------------------------------------------------| |
||||
| Tab | A | S | D | F | G | H | J | K | L | ' |Enter | |
||||
|---------------------------------------------------------------| |
||||
| Shift | Z | X | C | V | B | N | M | , | Up | . | |
||||
|---------------------------------------------------------------| |
||||
|Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse |Left|Down|Rght| |
||||
`-----------------------------------------------------' |
||||
``` |
||||
|
||||
## Lower Layer |
||||
``` |
||||
,---------------------------------------------------------------. |
||||
| ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | | |
||||
|---------------------------------------------------------------| |
||||
| Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | |
||||
|---------------------------------------------------------------| |
||||
| | F7 | F8 | F9 |F10 |F11 |F12 | | ; |PgUp| / | |
||||
|---------------------------------------------------------------| |
||||
| | | | | |Home|PgDn|End | |
||||
`-----------------------------------------------------' |
||||
``` |
||||
|
||||
## Raise Layer |
||||
``` |
||||
,---------------------------------------------------------------. |
||||
| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | |
||||
|---------------------------------------------------------------| |
||||
| Ins | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | |
||||
|---------------------------------------------------------------| |
||||
| | F7 | F8 | F9 |F10 |F11 |F12 | | | | | |
||||
|---------------------------------------------------------------| |
||||
|VolD|Mute|VolU| | | | | | |
||||
`-----------------------------------------------------' |
||||
``` |
||||
|
||||
## Adjust Layer |
||||
``` |
||||
,---------------------------------------------------------------. |
||||
|EEPR|RST | | | | | | | | | | | |
||||
|---------------------------------------------------------------| |
||||
| | | | | | | | | | | | | |
||||
|---------------------------------------------------------------| |
||||
| | | | | | | | | | | | |
||||
|---------------------------------------------------------------| |
||||
|RGB-|RGB |RGB+| | | | | | |
||||
`-----------------------------------------------------' |
||||
``` |
@ -0,0 +1,23 @@ |
||||
/* Copyright 2021 LAZYDESIGNERS
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#include QMK_KEYBOARD_H |
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||
[0] = LAYOUT(KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT(KC_SLSH), KC_DEL, KC_ESC, KC_LALT, KC_SPC, LT(1,KC_SPC), KC_RALT, KC_RGUI, KC_LCTL), |
||||
[1] = LAYOUT(KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, RESET, RGB_SPI, RGB_SPD, RGB_M_P, RGB_M_B, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, KC_SCLN, KC_NO, KC_LSFT, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_VAI, RGB_VAD, KC_NO, KC_UP, KC_NO, KC_NO, KC_NO, KC_NO, MO(2), KC_NO, KC_LEFT, KC_DOWN, KC_RGHT), |
||||
[2] = LAYOUT(KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO) |
||||
}; |
@ -0,0 +1,2 @@ |
||||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
@ -0,0 +1,20 @@ |
||||
/* Copyright 2021 LAZYDESIGNERS
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#define LED_CAPS_LOCK_PIN E6 |
||||
#define LED_PIN_ON_STATE 0 |
@ -0,0 +1,4 @@ |
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
|
||||
# Disable unsupported hardware
|
||||
BACKLIGHT_SUPPORTED = no
|
@ -0,0 +1,4 @@ |
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
|
||||
# Disable unsupported hardware
|
||||
RGBLIGHT_ENABLE = no
|
@ -0,0 +1,22 @@ |
||||
/* Copyright 2021 LAZYDESIGNERS
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#define BACKLIGHT_PIN B7 |
||||
// #define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 3 |
||||
|
@ -0,0 +1,144 @@ |
||||
{ |
||||
"keyboard_name": "Dimple", |
||||
"url": "http://lazydesigners.cn", |
||||
"maintainer": "Jacky@LAZYDESIGNERS", |
||||
"layouts": { |
||||
"LAYOUT_all": { |
||||
"layout": [ |
||||
{"label":"Esc", "x":0, "y":0}, |
||||
{"label":"Q", "x":1, "y":0}, |
||||
{"label":"W", "x":2, "y":0}, |
||||
{"label":"E", "x":3, "y":0}, |
||||
{"label":"R", "x":4, "y":0}, |
||||
{"label":"T", "x":5, "y":0}, |
||||
{"label":"Y", "x":6, "y":0}, |
||||
{"label":"U", "x":7, "y":0}, |
||||
{"label":"I", "x":8, "y":0}, |
||||
{"label":"O", "x":9, "y":0}, |
||||
{"label":"P", "x":10, "y":0}, |
||||
{"label":"Back<br>Space", "x":11, "y":0, "w":1.5}, |
||||
{"label":"Tab", "x":0, "y":1, "w":1.25}, |
||||
{"label":"A", "x":1.25, "y":1}, |
||||
{"label":"S", "x":2.25, "y":1}, |
||||
{"label":"D", "x":3.25, "y":1}, |
||||
{"label":"F", "x":4.25, "y":1}, |
||||
{"label":"G", "x":5.25, "y":1}, |
||||
{"label":"H", "x":6.25, "y":1}, |
||||
{"label":"J", "x":7.25, "y":1}, |
||||
{"label":"K", "x":8.25, "y":1}, |
||||
{"label":"L", "x":9.25, "y":1}, |
||||
{"label":"'", "x":10.25, "y":1}, |
||||
{"label":"Enter", "x":11.25, "y":1, "w":1.25}, |
||||
{"label":"Shift", "x":0, "y":2, "w":1.75}, |
||||
{"label":"Z", "x":1.75, "y":2}, |
||||
{"label":"X", "x":2.75, "y":2}, |
||||
{"label":"C", "x":3.75, "y":2}, |
||||
{"label":"V", "x":4.75, "y":2}, |
||||
{"label":"B", "x":5.75, "y":2}, |
||||
{"label":"N", "x":6.75, "y":2}, |
||||
{"label":"M", "x":7.75, "y":2}, |
||||
{"label":",", "x":8.75, "y":2}, |
||||
{"label":"Up", "x":9.75, "y":2}, |
||||
{"label":".", "x":10.75, "y":2, "w":1.75}, |
||||
{"label":"Ctrl", "x":0.75, "y":3}, |
||||
{"label":"Gui", "x":1.75, "y":3}, |
||||
{"label":"Alt", "x":2.75, "y":3}, |
||||
{"label":"Space", "x":3.75, "y":3, "w":2.25}, |
||||
{"label":"Space", "x":6, "y":3, "w":2.75}, |
||||
{"label":"Left", "x":8.75, "y":3}, |
||||
{"label":"Down", "x":9.75, "y":3}, |
||||
{"label":"Right", "x":10.75, "y":3} |
||||
] |
||||
}, |
||||
"LAYOUT_iso": { |
||||
"layout": [ |
||||
{"label":"Esc", "x":0, "y":0}, |
||||
{"label":"Q", "x":1, "y":0}, |
||||
{"label":"W", "x":2, "y":0}, |
||||
{"label":"E", "x":3, "y":0}, |
||||
{"label":"R", "x":4, "y":0}, |
||||
{"label":"T", "x":5, "y":0}, |
||||
{"label":"Y", "x":6, "y":0}, |
||||
{"label":"U", "x":7, "y":0}, |
||||
{"label":"I", "x":8, "y":0}, |
||||
{"label":"O", "x":9, "y":0}, |
||||
{"label":"P", "x":10, "y":0}, |
||||
{"label":"Tab", "x":0, "y":1, "w":1.25}, |
||||
{"label":"A", "x":1.25, "y":1}, |
||||
{"label":"S", "x":2.25, "y":1}, |
||||
{"label":"D", "x":3.25, "y":1}, |
||||
{"label":"F", "x":4.25, "y":1}, |
||||
{"label":"G", "x":5.25, "y":1}, |
||||
{"label":"H", "x":6.25, "y":1}, |
||||
{"label":"J", "x":7.25, "y":1}, |
||||
{"label":"K", "x":8.25, "y":1}, |
||||
{"label":"L", "x":9.25, "y":1}, |
||||
{"label":"'", "x":10.25, "y":1}, |
||||
{"label":"Enter", "x":11.25, "y":0, "w":1.25,"h":2}, |
||||
{"label":"Shift", "x":0, "y":2, "w":1.75}, |
||||
{"label":"Z", "x":1.75, "y":2}, |
||||
{"label":"X", "x":2.75, "y":2}, |
||||
{"label":"C", "x":3.75, "y":2}, |
||||
{"label":"V", "x":4.75, "y":2}, |
||||
{"label":"B", "x":5.75, "y":2}, |
||||
{"label":"N", "x":6.75, "y":2}, |
||||
{"label":"M", "x":7.75, "y":2}, |
||||
{"label":",", "x":8.75, "y":2}, |
||||
{"label":"Up", "x":9.75, "y":2}, |
||||
{"label":".", "x":10.75, "y":2, "w":1.75}, |
||||
{"label":"Ctrl", "x":0.75, "y":3}, |
||||
{"label":"Gui", "x":1.75, "y":3}, |
||||
{"label":"Alt", "x":2.75, "y":3}, |
||||
{"label":"Space", "x":3.75, "y":3, "w":2.25}, |
||||
{"label":"Space", "x":6, "y":3, "w":2.75}, |
||||
{"label":"Left", "x":8.75, "y":3}, |
||||
{"label":"Down", "x":9.75, "y":3}, |
||||
{"label":"Right", "x":10.75, "y":3} |
||||
] |
||||
}, |
||||
"LAYOUT_7u": { |
||||
"layout": [ |
||||
{"label":"Esc", "x":0, "y":0}, |
||||
{"label":"Q", "x":1, "y":0}, |
||||
{"label":"W", "x":2, "y":0}, |
||||
{"label":"E", "x":3, "y":0}, |
||||
{"label":"R", "x":4, "y":0}, |
||||
{"label":"T", "x":5, "y":0}, |
||||
{"label":"Y", "x":6, "y":0}, |
||||
{"label":"U", "x":7, "y":0}, |
||||
{"label":"I", "x":8, "y":0}, |
||||
{"label":"O", "x":9, "y":0}, |
||||
{"label":"P", "x":10, "y":0}, |
||||
{"label":"Back<br>Space", "x":11, "y":0, "w":1.5}, |
||||
{"label":"Tab", "x":0, "y":1, "w":1.25}, |
||||
{"label":"A", "x":1.25, "y":1}, |
||||
{"label":"S", "x":2.25, "y":1}, |
||||
{"label":"D", "x":3.25, "y":1}, |
||||
{"label":"F", "x":4.25, "y":1}, |
||||
{"label":"G", "x":5.25, "y":1}, |
||||
{"label":"H", "x":6.25, "y":1}, |
||||
{"label":"J", "x":7.25, "y":1}, |
||||
{"label":"K", "x":8.25, "y":1}, |
||||
{"label":"L", "x":9.25, "y":1}, |
||||
{"label":"'", "x":10.25, "y":1}, |
||||
{"label":"Enter", "x":11.25, "y":1, "w":1.25}, |
||||
{"label":"Shift", "x":0, "y":2, "w":1.75}, |
||||
{"label":"Z", "x":1.75, "y":2}, |
||||
{"label":"X", "x":2.75, "y":2}, |
||||
{"label":"C", "x":3.75, "y":2}, |
||||
{"label":"V", "x":4.75, "y":2}, |
||||
{"label":"B", "x":5.75, "y":2}, |
||||
{"label":"N", "x":6.75, "y":2}, |
||||
{"label":"M", "x":7.75, "y":2}, |
||||
{"label":",", "x":8.75, "y":2}, |
||||
{"label":"Up", "x":9.75, "y":2}, |
||||
{"label":".", "x":10.75, "y":2, "w":1.75}, |
||||
{"label":"Ctrl", "x":0.75, "y":3}, |
||||
{"label":"Gui", "x":1.75, "y":3}, |
||||
{"label":"Space", "x":2.75, "y":3, "w":7}, |
||||
{"label":"Down", "x":9.75, "y":3}, |
||||
{"label":"Right", "x":10.75, "y":3} |
||||
] |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,54 @@ |
||||
/* Copyright 2021 LAZYDESIGNERS
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#include QMK_KEYBOARD_H |
||||
|
||||
#define LT2_TAB LT(2, KC_TAB) |
||||
#define LT1_SPC LT(1, KC_SPC) |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* |Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | |
||||
* |---------------------------------------------------------------| |
||||
* |Tab/LT2| A | S | D | F | G | H | J | K | L | ' |Enter| |
||||
* |---------------------------------------------------------------| |
||||
* | Shift | Z | X | C | V | B | N | M | , | Up | MO(2) | |
||||
* |---------------------------------------------------------------| |
||||
* |Ctrl|Gui |Alt | Spc/LT1 | Spc |Left|Down|Rght| |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||
[0] = LAYOUT_all( |
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
||||
LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, |
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_UP, MO(2), |
||||
KC_LCTL, KC_LGUI, KC_RALT, LT1_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT |
||||
), |
||||
[1] = LAYOUT_all( |
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, |
||||
RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_NO,
|
||||
KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO |
||||
), |
||||
[2] = LAYOUT_all( |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, |
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO |
||||
), |
||||
}; |
||||
|
@ -0,0 +1,16 @@ |
||||
/* Copyright 2019 Erovia
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
#include "rev3.h" |
@ -0,0 +1,90 @@ |
||||
/* Copyright 2019 Erovia
|
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
#pragma once |
||||
|
||||
#include "quantum.h" |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
#define LAYOUT_all( \ |
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
|
||||
K300, K302, K303, K304, K306, K307, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \
|
||||
{ K300, KC_NO, K302, K303, K304, KC_NO, K306, K307, K308, K309, KC_NO, KC_NO } \
|
||||
} |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | | | | | | | | | | | | | |
||||
* |-------------------------------------------------------- | |
||||
* | | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
#define LAYOUT_iso( \ |
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
|
||||
K300, K302, K303, K304, K306, K307, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, KC_NO }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \
|
||||
{ K300, KC_NO, K302, K303, K304, KC_NO, K306, K307, K308, K309, KC_NO, KC_NO } \
|
||||
} |
||||
|
||||
/*
|
||||
* ,---------------------------------------------------------------. |
||||
* | | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | | | | | | | |
||||
* |---------------------------------------------------------------| |
||||
* | | | | | | |
||||
* `-----------------------------------------------------' |
||||
*/ |
||||
|
||||
#define LAYOUT_7u( \ |
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
|
||||
K300, K302, K304, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \
|
||||
{ K300, KC_NO, K302, KC_NO, K304, KC_NO, KC_NO, KC_NO, K308, K309, KC_NO, KC_NO } \
|
||||
} |
@ -0,0 +1,4 @@ |
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
|
||||
# Disable unsupported hardware
|
||||
RGBLIGHT_ENABLE = no
|
Loading…
Reference in new issue