aboutsummaryrefslogtreecommitdiff
path: root/keyboards/j80/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/j80/config.h')
-rw-r--r--keyboards/j80/config.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/j80/config.h b/keyboards/j80/config.h
new file mode 100644
index 000000000..3a5328ac4
--- /dev/null
+++ b/keyboards/j80/config.h
@@ -0,0 +1,55 @@
1/*
2Copyright 2019 JER
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22#define VENDOR_ID 0x20A0
23#define PRODUCT_ID 0x422D
24#define DEVICE_VER 0x0001
25#define MANUFACTURER JER
26#define PRODUCT J80
27
28#define MATRIX_ROWS 7
29#define MATRIX_COLS 14
30
31#define MATRIX_ROW_PINS { B1, B2, B3, B5, B6, B7, B0 }
32#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, A0 }
33#define UNUSED_PINS { B4, C1, C0, D0, D1, D2, D3, D4, D5, D6, D7 }
34
35#define DIODE_DIRECTION COL2ROW
36#define DEBOUNCE 5
37
38#define BACKLIGHT_LEVELS 3
39#define BACKLIGHT_PIN D4
40
41#define NO_UART 1
42
43/* disable these deprecated features by default */
44#ifndef LINK_TIME_OPTIMIZATION_ENABLE
45 #define NO_ACTION_MACRO
46 #define NO_ACTION_FUNCTION
47#endif
48
49/* key combination for magic key command */
50/* defined by default; to change, uncomment and set to the combination you want */
51// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
52
53/* Bootmagic Lite key configuration */
54#define BOOTMAGIC_LITE_ROW 0
55#define BOOTMAGIC_LITE_COLUMN 0