aboutsummaryrefslogtreecommitdiff
path: root/keyboards/tgr/jane/v2ce/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tgr/jane/v2ce/config.h')
-rw-r--r--keyboards/tgr/jane/v2ce/config.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/keyboards/tgr/jane/v2ce/config.h b/keyboards/tgr/jane/v2ce/config.h
new file mode 100644
index 000000000..e6f6e99e7
--- /dev/null
+++ b/keyboards/tgr/jane/v2ce/config.h
@@ -0,0 +1,42 @@
1/* Copyright 2021 MechMerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21#define VENDOR_ID 0x5447 // TG
22#define PRODUCT_ID 0x4A43 // JC
23#define DEVICE_VER 0x0200
24#define MANUFACTURER TGR
25#define PRODUCT Jane
26
27#define MATRIX_ROWS 8
28#define MATRIX_COLS 15
29
30// 0 1 2 3 4 5 6 7 8 9 A B C D E
31#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 }
32#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
33#define UNUSED_PINS
34
35#define DIODE_DIRECTION COL2ROW
36#define DEBOUNCE 5
37
38#define BACKLIGHT_PIN D4
39#define BACKLIGHT_LEVELS 3
40
41#define LED_CAPS_LOCK_PIN D1
42#define LED_NUM_LOCK_PIN D6