Update the support for lazydesigners/dimple (#14797)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
f252287b0e
commit
ae5f43072f
@ -57,3 +57,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* #define RGBLIGHT_SAT_STEP 8 */
|
||||
/* #define RGBLIGHT_VAL_STEP 8 */
|
||||
#endif
|
||||
|
||||
|
150
keyboards/lazydesigners/dimple/ortho/info.json
Normal file
150
keyboards/lazydesigners/dimple/ortho/info.json
Normal file
@ -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
|
||||
),
|
||||
};
|
59
keyboards/lazydesigners/dimple/ortho/keymaps/via/keymap.c
Normal file
59
keyboards/lazydesigners/dimple/ortho/keymaps/via/keymap.c
Normal file
@ -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
|
||||
),
|
||||
};
|
15
keyboards/lazydesigners/dimple/ortho/ortho.c
Normal file
15
keyboards/lazydesigners/dimple/ortho/ortho.c
Normal file
@ -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"
|
91
keyboards/lazydesigners/dimple/ortho/ortho.h
Normal file
91
keyboards/lazydesigners/dimple/ortho/ortho.h
Normal file
@ -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 } \
|
||||
}
|
||||
|
||||
|
3
keyboards/lazydesigners/dimple/ortho/rules.mk
Normal file
3
keyboards/lazydesigners/dimple/ortho/rules.mk
Normal file
@ -0,0 +1,3 @@
|
||||
# Disable unsupported hardware
|
||||
BACKLIGHT_SUPPORTED = no
|
||||
RGBLIGHT_ENABLE = no
|
@ -4,13 +4,22 @@
|
||||
|
||||
A 40% custom keyboard designed and produced by [LazyDesigners](http://lazydesigners.cn).
|
||||
|
||||
Keyboard Maintainer: [Erovia](https://github.com/Erovia)
|
||||
Hardware Supported: Dimple
|
||||
Hardware Availability: Check for GBs on [Geekhack](https://geekhack.org) and on [LazyDesigner's homepage.](http://lazydesigners.cn)
|
||||
* Keyboard Maintainer: [Erovia](https://github.com/Erovia) / [Jacky@LAZYDESIGNERS](https://github.com/jackytrabbit)
|
||||
* Hardware Supported: Dimple by LAZYDESIGNERS
|
||||
* Hardware Availability: Check on [LAZYDESIGNERS's homepage.](http://lazydesigners.cn)
|
||||
|
||||
Detail versions:
|
||||
|
||||
1. Dimple Round 1 in 2019 (Use dimple/staggered/Rev1)
|
||||
2. Dimple Round 2 Hotswap in 2021 (Use dimple/staggered/Rev2)
|
||||
3. Dimple Round 2 Solder in 2021 (Use dimple/staggered/Rev3)
|
||||
4. Dimple Round 2 OrthoStrange (Use dimple/ortho)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make lazydesigners/dimple:default:dfu
|
||||
make lazydesigners/dimple/staggered/rev1:default
|
||||
make lazydesigners/dimple/staggered/rev2:default
|
||||
make lazydesigners/dimple/ortho:default
|
||||
|
||||
To enter the bootloader, either short the pins on the PCB or the RESET button on the FN layer.
|
||||
|
||||
|
@ -8,12 +8,16 @@ BOOTLOADER = atmel-dfu
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
|
||||
# Disable unsupported hardware
|
||||
AUDIO_SUPPORTED = no
|
||||
BACKLIGHT_SUPPORTED = no
|
||||
DEFAULT_FOLDER = lazydesigners/dimple/staggered/rev1
|
||||
|
@ -108,14 +108,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
),
|
||||
};
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
||||
dimple_led_on();
|
||||
} else {
|
||||
dimple_led_off();
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef KEYBOARD_lazydesigner_dimple_staggered_rev1
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
|
||||
switch (get_highest_layer(state)) {
|
||||
@ -134,3 +127,4 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
}
|
||||
return state;
|
||||
}
|
||||
#endif
|
@ -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
|
162
keyboards/lazydesigners/dimple/staggered/keymaps/erovia/keymap.c
Normal file
162
keyboards/lazydesigners/dimple/staggered/keymaps/erovia/keymap.c
Normal file
@ -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
|
20
keyboards/lazydesigners/dimple/staggered/rev1/config.h
Normal file
20
keyboards/lazydesigners/dimple/staggered/rev1/config.h
Normal file
@ -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
|
4
keyboards/lazydesigners/dimple/staggered/rev1/rules.mk
Normal file
4
keyboards/lazydesigners/dimple/staggered/rev1/rules.mk
Normal file
@ -0,0 +1,4 @@
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
|
||||
# Disable unsupported hardware
|
||||
BACKLIGHT_SUPPORTED = no
|
4
keyboards/lazydesigners/dimple/staggered/rev2/rules.mk
Normal file
4
keyboards/lazydesigners/dimple/staggered/rev2/rules.mk
Normal file
@ -0,0 +1,4 @@
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
|
||||
# Disable unsupported hardware
|
||||
RGBLIGHT_ENABLE = no
|
22
keyboards/lazydesigners/dimple/staggered/rev3/config.h
Normal file
22
keyboards/lazydesigners/dimple/staggered/rev3/config.h
Normal file
@ -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
|
||||
|
144
keyboards/lazydesigners/dimple/staggered/rev3/info.json
Normal file
144
keyboards/lazydesigners/dimple/staggered/rev3/info.json
Normal file
@ -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
|
||||
),
|
||||
};
|
||||
|
16
keyboards/lazydesigners/dimple/staggered/rev3/rev3.c
Normal file
16
keyboards/lazydesigners/dimple/staggered/rev3/rev3.c
Normal file
@ -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"
|
90
keyboards/lazydesigners/dimple/staggered/rev3/rev3.h
Normal file
90
keyboards/lazydesigners/dimple/staggered/rev3/rev3.h
Normal file
@ -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 } \
|
||||
}
|
4
keyboards/lazydesigners/dimple/staggered/rev3/rules.mk
Normal file
4
keyboards/lazydesigners/dimple/staggered/rev3/rules.mk
Normal file
@ -0,0 +1,4 @@
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
|
||||
# Disable unsupported hardware
|
||||
RGBLIGHT_ENABLE = no
|
@ -13,18 +13,11 @@
|
||||
* 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 "dimple.h"
|
||||
|
||||
#include "staggered.h"
|
||||
void dimple_led_on() {
|
||||
writePinLow(E6);
|
||||
}
|
||||
writePinLow(E6);
|
||||
}
|
||||
|
||||
void dimple_led_off() {
|
||||
writePinHigh(E6);
|
||||
}
|
||||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
// Initialize Caps Lock LED
|
||||
setPinOutput(E6);
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
void dimple_led_off() {
|
||||
writePinHigh(E6);
|
||||
}
|
@ -41,6 +41,5 @@
|
||||
{ K300, KC_NO, K302, K303, K304, KC_NO, K306, K307, K308, K309, KC_NO, KC_NO } \
|
||||
}
|
||||
|
||||
|
||||
void dimple_led_on(void);
|
||||
void dimple_led_off(void);
|
Loading…
Reference in New Issue
Block a user