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 pull request qmk#12 from zhaqian12/qmk-zq
merge
- Loading branch information
Showing
42 changed files
with
635 additions
and
1,385 deletions.
There are no files selected for viewing
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
230 changes: 230 additions & 0 deletions
230
keyboards/zhaqian/Jane_v2_ce_slot/Jane_v2_ce-slot_via.json
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,230 @@ | ||
{ | ||
"name": "Jane_v2_ce-slot", | ||
"vendorId": "0x00AA", | ||
"productId": "0xAA17", | ||
"lighting": "none", | ||
"matrix": { | ||
"rows": 6, | ||
"cols": 17 | ||
}, | ||
"layouts": { | ||
"labels": [ | ||
"ISO Enter", | ||
["Bottom Row", "ANSI", "7U"] | ||
], | ||
"keymap": [ | ||
[ | ||
"0,0", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"0,1", | ||
"0,2", | ||
"0,3", | ||
"0,4", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"0,5", | ||
"0,6", | ||
"0,7", | ||
"0,8", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"0,9", | ||
"0,10", | ||
"0,11", | ||
"0,12", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"0,13", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"0,14", | ||
"0,15", | ||
"0,16" | ||
], | ||
[ | ||
{ | ||
"y": 0.5 | ||
}, | ||
"1,0", | ||
"1,1", | ||
"1,2", | ||
"1,3", | ||
"1,4", | ||
"1,5", | ||
"1,6", | ||
"1,7", | ||
"1,8", | ||
"1,9", | ||
"1,10", | ||
"1,11", | ||
"1,12", | ||
{ | ||
"w": 2 | ||
}, | ||
"1,13", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"1,14", | ||
"1,15", | ||
"1,16" | ||
], | ||
[ | ||
{ | ||
"w": 1.5 | ||
}, | ||
"2,0", | ||
"2,1", | ||
"2,2", | ||
"2,3", | ||
"2,4", | ||
"2,5", | ||
"2,6", | ||
"2,7", | ||
"2,8", | ||
"2,9", | ||
"2,10", | ||
"2,11", | ||
"2,12", | ||
{ | ||
"w": 1.5 | ||
}, | ||
"2,13\n\n\n0,0", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"2,14", | ||
"2,15", | ||
"2,16", | ||
{ | ||
"x": 1, | ||
"w": 1.25, | ||
"h": 2, | ||
"w2": 1.5, | ||
"h2": 1, | ||
"x2": -0.25 | ||
}, | ||
"3,13\n\n\n0,1" | ||
], | ||
[ | ||
{ | ||
"w": 1.75 | ||
}, | ||
"3,0", | ||
"3,1", | ||
"3,2", | ||
"3,3", | ||
"3,4", | ||
"3,5", | ||
"3,6", | ||
"3,7", | ||
"3,8", | ||
"3,9", | ||
"3,10", | ||
"3,11", | ||
{ | ||
"w": 2.25 | ||
}, | ||
"3,13\n\n\n0,0", | ||
{ | ||
"x": 3.25 | ||
}, | ||
"2,13\n\n\n0,1" | ||
], | ||
[ | ||
{ | ||
"w": 2.25 | ||
}, | ||
"4,0", | ||
"4,1", | ||
"4,2", | ||
"4,3", | ||
"4,4", | ||
"4,5", | ||
"4,6", | ||
"4,7", | ||
"4,8", | ||
"4,9", | ||
"4,10", | ||
{ | ||
"w": 2.75 | ||
}, | ||
"4,12", | ||
{ | ||
"x": 1.25 | ||
}, | ||
"4,15" | ||
], | ||
[ | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,0\n\n\n1,0", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,1\n\n\n1,0", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,2\n\n\n1,0", | ||
{ | ||
"w": 6.25 | ||
}, | ||
"5,6\n\n\n1,0", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,10\n\n\n1,0", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,11\n\n\n1,0", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,12\n\n\n1,0", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,13\n\n\n1,0", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"5,14", | ||
"5,15", | ||
"5,16" | ||
], | ||
[ | ||
{ | ||
"w": 1.5 | ||
}, | ||
"5,0\n\n\n1,1", | ||
"5,1\n\n\n1,1", | ||
{ | ||
"w": 1.5 | ||
}, | ||
"5,2\n\n\n1,1", | ||
{ | ||
"w": 7 | ||
}, | ||
"5,6\n\n\n1,1", | ||
{ | ||
"w": 1.5 | ||
}, | ||
"5,10\n\n\n1,1", | ||
"5,12\n\n\n1,1", | ||
{ | ||
"w": 1.5 | ||
}, | ||
"5,13\n\n\n1,1" | ||
] | ||
] | ||
} | ||
} |
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,18 @@ | ||
/* Copyright 2022 ZhaQian | ||
* | ||
* 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 "Jane_v2_ce_slot.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,35 @@ | ||
/* Copyright 2022 ZhaQian | ||
* | ||
* 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( \ | ||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, \ | ||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, \ | ||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K216, \ | ||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, \ | ||
K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K412, K415, \ | ||
K500, K501, K502, K506, K510, K511, K512, K513, K514, K515, K516 \ | ||
) { \ | ||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016 }, \ | ||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116 }, \ | ||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K216 }, \ | ||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, KC_NO, KC_NO, KC_NO }, \ | ||
{ K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, KC_NO, K412, KC_NO, KC_NO, K415, KC_NO }, \ | ||
{ K500, K501, K502, KC_NO, KC_NO, KC_NO, K506, KC_NO, KC_NO, KC_NO, K510, K511, K512, K513, K514, K515, K516 } \ | ||
} |
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 2022 ZhaQian | ||
* | ||
* 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" | ||
|
||
#define VENDOR_ID 0x00AA | ||
#define PRODUCT_ID 0xAA17 | ||
#define DEVICE_VER 0x0001 | ||
#define MANUFACTURER ZhaQian | ||
#define PRODUCT Jane_v2_ce_slot | ||
|
||
#define MATRIX_ROWS 6 | ||
#define MATRIX_COLS 17 | ||
|
||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, D7, F0 } | ||
#define MATRIX_COL_PINS { D0, D6, D4, D5, D3, D2, D1, B4, B5, B6, C6, C7, F7, F6, F5, F4, F1 } | ||
#define UNUSED_PINS | ||
|
||
#define DIODE_DIRECTION COL2ROW | ||
|
||
#define DEBOUNCE 5 | ||
|
||
#define LOCKING_SUPPORT_ENABLE | ||
#define LOCKING_RESYNC_ENABLE | ||
|
||
// #define QMK_KEYS_PER_SCAN 12 | ||
// #define FORCE_NKRO | ||
|
Oops, something went wrong.