aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rart/rart45/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rart/rart45/config.h')
-rw-r--r--keyboards/rart/rart45/config.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/keyboards/rart/rart45/config.h b/keyboards/rart/rart45/config.h
new file mode 100644
index 000000000..d4d7e7444
--- /dev/null
+++ b/keyboards/rart/rart45/config.h
@@ -0,0 +1,47 @@
1/* Copyright 2020 Alabahuy
2 * This program is free software: you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation, either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
15
16#pragma once
17
18#include "config_common.h"
19
20/* USB Device descriptor parameter */
21#define VENDOR_ID 0x414C
22#define PRODUCT_ID 0x0045
23#define DEVICE_VER 0x0001
24#define MANUFACTURER Alabahuy
25#define PRODUCT Rart45
26
27/* key matrix size */
28#define MATRIX_ROWS 9
29#define MATRIX_COLS 6
30
31#define MATRIX_ROW_PINS { D1, C3, C1, B1, D0, C2, C0, D7, B0 }
32#define MATRIX_COL_PINS { D6, D4, B2, B5, B4, B3 }
33#define UNUSED_PINS
34
35/* COL2ROW, ROW2COL*/
36#define DIODE_DIRECTION COL2ROW
37
38#define LED_CAPS_LOCK_PIN D5
39#define LED_PIN_ON_STATE 0
40
41/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
42#define DEBOUNCE 5
43
44/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45#define LOCKING_SUPPORT_ENABLE
46/* Locking resynchronize hack */
47#define LOCKING_RESYNC_ENABLE