aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kelowna/rgb64/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kelowna/rgb64/config.h')
-rw-r--r--keyboards/kelowna/rgb64/config.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/kelowna/rgb64/config.h b/keyboards/kelowna/rgb64/config.h
new file mode 100644
index 000000000..906755d88
--- /dev/null
+++ b/keyboards/kelowna/rgb64/config.h
@@ -0,0 +1,51 @@
1 /* Copyright 2021 Weirdo
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#pragma once
17#include "config_common.h"
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0x7764
21#define PRODUCT_ID 0x4C64
22#define DEVICE_VER 0x0001
23#define MANUFACTURER Weirdo
24#define PRODUCT kelownaRGB64
25
26/* key matrix size */
27#define MATRIX_ROWS 5
28#define MATRIX_COLS 15
29
30#define MATRIX_COL_PINS { A3, A4, A5, A7, B0, B1, B10, B15, A8, A9, A10, B7, B6, B5, B4}
31#define MATRIX_ROW_PINS { B12, B13, B14, C11, A1}
32#define DIODE_DIRECTION ROW2COL
33#define DEBOUNCE 5
34
35
36
37#define RGB_DI_PIN A6
38#define RGBLED_NUM 64
39//#define RGBLIGHT_DISABLE_KEYCODES
40
41
42
43
44/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45#define LOCKING_SUPPORT_ENABLE
46
47/* Locking resynchronize hack */
48#define LOCKING_RESYNC_ENABLE
49
50
51