forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into develop
- Loading branch information
Showing
54 changed files
with
2,135 additions
and
288 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
Copyright 2021 kb-elmo<[email protected]> | ||
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 "config_common.h" | ||
|
||
/* USB Device descriptor parameter */ | ||
#define VENDOR_ID 0xA68C | ||
#define PRODUCT_ID 0x675F | ||
#define DEVICE_VER 0x0001 | ||
#define MANUFACTURER kb_elmo | ||
#define PRODUCT QEZ | ||
|
||
/* key matrix size */ | ||
#define MATRIX_ROWS 4 | ||
#define MATRIX_COLS 10 | ||
|
||
/* Keyboard Matrix Assignments */ | ||
#define MATRIX_ROW_PINS { C6, C4, B1, B0 } | ||
#define MATRIX_COL_PINS { C7, B7, B6, B5, B4, B3, D6, D5, D4, D3 } | ||
|
||
/* COL2ROW, ROW2COL */ | ||
#define DIODE_DIRECTION COL2ROW | ||
|
||
/* Debounce reduces chatter */ | ||
#define DEBOUNCE 5 | ||
|
||
/* Indicator LEDs */ | ||
#define LED_CAPS_LOCK_PIN C5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"keyboard_name": "qez", | ||
"url": "", | ||
"maintainer": "kb-elmo<[email protected]>", | ||
"width": 10.25, | ||
"height": 4, | ||
"layouts": { | ||
"LAYOUT_split_space": { | ||
"layout": [ | ||
{"x":0, "y":0}, | ||
{"x":1, "y":0}, | ||
{"x":2, "y":0}, | ||
{"x":3, "y":0}, | ||
{"x":4, "y":0}, | ||
{"x":5, "y":0}, | ||
{"x":6, "y":0}, | ||
{"x":7, "y":0}, | ||
{"x":8, "y":0}, | ||
{"x":9, "y":0, "w":1.25}, | ||
{"x":0, "y":1, "w":1.25}, | ||
{"x":1.25, "y":1}, | ||
{"x":2.25, "y":1}, | ||
{"x":3.25, "y":1}, | ||
{"x":4.25, "y":1}, | ||
{"x":5.25, "y":1}, | ||
{"x":6.25, "y":1}, | ||
{"x":7.25, "y":1}, | ||
{"x":8.25, "y":1}, | ||
{"x":9.25, "y":1}, | ||
{"x":0, "y":2, "w":1.75}, | ||
{"x":1.75, "y":2}, | ||
{"x":2.75, "y":2}, | ||
{"x":3.75, "y":2}, | ||
{"x":4.75, "y":2}, | ||
{"x":5.75, "y":2}, | ||
{"x":6.75, "y":2}, | ||
{"x":7.75, "y":2}, | ||
{"x":8.75, "y":2, "w":1.5}, | ||
{"x":0, "y":3}, | ||
{"x":1, "y":3}, | ||
{"x":2, "y":3}, | ||
{"x":3, "y":3, "w":2.25}, | ||
{"x":5.25, "y":3, "w":2}, | ||
{"x":7.25, "y":3}, | ||
{"x":8.25, "y":3}, | ||
{"x":9.25, "y":3} | ||
] | ||
}, | ||
"LAYOUT_triple_space": { | ||
"layout": [ | ||
{"x":0, "y":0}, | ||
{"x":1, "y":0}, | ||
{"x":2, "y":0}, | ||
{"x":3, "y":0}, | ||
{"x":4, "y":0}, | ||
{"x":5, "y":0}, | ||
{"x":6, "y":0}, | ||
{"x":7, "y":0}, | ||
{"x":8, "y":0}, | ||
{"x":9, "y":0, "w":1.25}, | ||
{"x":0, "y":1, "w":1.25}, | ||
{"x":1.25, "y":1}, | ||
{"x":2.25, "y":1}, | ||
{"x":3.25, "y":1}, | ||
{"x":4.25, "y":1}, | ||
{"x":5.25, "y":1}, | ||
{"x":6.25, "y":1}, | ||
{"x":7.25, "y":1}, | ||
{"x":8.25, "y":1}, | ||
{"x":9.25, "y":1}, | ||
{"x":0, "y":2, "w":1.75}, | ||
{"x":1.75, "y":2}, | ||
{"x":2.75, "y":2}, | ||
{"x":3.75, "y":2}, | ||
{"x":4.75, "y":2}, | ||
{"x":5.75, "y":2}, | ||
{"x":6.75, "y":2}, | ||
{"x":7.75, "y":2}, | ||
{"x":8.75, "y":2, "w":1.5}, | ||
{"x":0, "y":3}, | ||
{"x":1, "y":3}, | ||
{"x":2, "y":3, "w":2.5}, | ||
{"x":4.5, "y":3, "w":1.5}, | ||
{"x":6, "y":3, "w":2.25}, | ||
{"x":8.25, "y":3}, | ||
{"x":9.25, "y":3} | ||
] | ||
}, | ||
"LAYOUT_full_space": { | ||
"layout": [ | ||
{"x":0, "y":0}, | ||
{"x":1, "y":0}, | ||
{"x":2, "y":0}, | ||
{"x":3, "y":0}, | ||
{"x":4, "y":0}, | ||
{"x":5, "y":0}, | ||
{"x":6, "y":0}, | ||
{"x":7, "y":0}, | ||
{"x":8, "y":0}, | ||
{"x":9, "y":0, "w":1.25}, | ||
{"x":0, "y":1, "w":1.25}, | ||
{"x":1.25, "y":1}, | ||
{"x":2.25, "y":1}, | ||
{"x":3.25, "y":1}, | ||
{"x":4.25, "y":1}, | ||
{"x":5.25, "y":1}, | ||
{"x":6.25, "y":1}, | ||
{"x":7.25, "y":1}, | ||
{"x":8.25, "y":1}, | ||
{"x":9.25, "y":1}, | ||
{"x":0, "y":2, "w":1.75}, | ||
{"x":1.75, "y":2}, | ||
{"x":2.75, "y":2}, | ||
{"x":3.75, "y":2}, | ||
{"x":4.75, "y":2}, | ||
{"x":5.75, "y":2}, | ||
{"x":6.75, "y":2}, | ||
{"x":7.75, "y":2}, | ||
{"x":8.75, "y":2, "w":1.5}, | ||
{"x":0, "y":3}, | ||
{"x":1, "y":3}, | ||
{"x":2, "y":3, "w":6.25}, | ||
{"x":8.25, "y":3}, | ||
{"x":9.25, "y":3} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* Copyright 2021 kb-elmo<[email protected]> | ||
* | ||
* 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_split_space( | ||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
LT(1,KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, LT(2,KC_DOT), | ||
KC_LCTL, KC_LGUI, KC_LALT, LSFT_T(KC_SPC), KC_BSPC, KC_RALT, MO(1), MO(2) | ||
), | ||
[1] = LAYOUT_split_space( | ||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
KC_TAB, KC_ESC, KC_MINS, KC_EQL, KC_TRNS, KC_SCLN, KC_QUOT, KC_LBRC, KC_RBRC, KC_BSLS, | ||
KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SLSH, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_TRNS, KC_TRNS, KC_TRNS | ||
), | ||
[2] = LAYOUT_split_space( | ||
KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, | ||
KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* Copyright 2021 kb-elmo<[email protected]> | ||
* | ||
* 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_split_space( | ||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
LT(1,KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, LT(2,KC_DOT), | ||
KC_LCTL, KC_LGUI, KC_LALT, LSFT_T(KC_SPC), KC_BSPC, KC_RALT, MO(1), MO(2) | ||
), | ||
[1] = LAYOUT_split_space( | ||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
KC_TAB, KC_ESC, KC_MINS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_BSLS, | ||
KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SLSH, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_TRNS, KC_TRNS, KC_TRNS | ||
), | ||
[2] = LAYOUT_split_space( | ||
KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, | ||
KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
), | ||
[3] = LAYOUT_split_space( | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
VIA_ENABLE = yes | ||
LTO_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* Copyright 2021 kb-elmo<[email protected]> | ||
* | ||
* 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 "qez.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* Copyright 2021 kb-elmo<[email protected]> | ||
* | ||
* 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 ___ KC_NO | ||
|
||
#define LAYOUT_split_space( \ | ||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ | ||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ | ||
k20, k22, k23, k24, k25, k26, k27, k28, k29, \ | ||
k21, k31, k32, k33, k36, k37, k38, k39 \ | ||
) { \ | ||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \ | ||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \ | ||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \ | ||
{ ___, k31, k32, k33, ___, ___, k36, k37, k38, k39 } \ | ||
} | ||
|
||
#define LAYOUT_triple_space( \ | ||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ | ||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ | ||
k20, k22, k23, k24, k25, k26, k27, k28, k29, \ | ||
k21, k31, k33, k35, k36, k38, k39 \ | ||
) { \ | ||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \ | ||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \ | ||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \ | ||
{ ___, k31, ___, k33, ___, k35, k36, ___, k38, k39 } \ | ||
} | ||
|
||
#define LAYOUT_full_space( \ | ||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ | ||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ | ||
k20, k22, k23, k24, k25, k26, k27, k28, k29, \ | ||
k21, k31, k35, k38, k39 \ | ||
) { \ | ||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \ | ||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \ | ||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \ | ||
{ ___, k31, k32, ___, ___, k35, ___, k37, k38, k39 } \ | ||
} |
Oops, something went wrong.