aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dekunukem/duckypad/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dekunukem/duckypad/config.h')
-rw-r--r--keyboards/dekunukem/duckypad/config.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/dekunukem/duckypad/config.h b/keyboards/dekunukem/duckypad/config.h
new file mode 100644
index 000000000..27806ab83
--- /dev/null
+++ b/keyboards/dekunukem/duckypad/config.h
@@ -0,0 +1,61 @@
1/*
2
3QMK Firmware for dekuNukem/duckyPad
4
5Copyright (C) 2020 Max Bridgland <@M4cs>
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
22
23#include "config_common.h"
24
25#define VENDOR_ID 0xFEED
26#define PRODUCT_ID 0x0B91
27#define DEVICE_VER 0x0001
28#define MANUFACTURER dekuNukem
29#define PRODUCT duckyPad
30
31#define MATRIX_ROWS 1
32#define MATRIX_COLS 17
33
34#define DIRECT_PINS {{ B13, B14, B15, A8, A15, B3, B4, B5, B6, B7, C13, C14, C15, F0, F1, A1, A2 }}
35
36#define RGB_DI_PIN A10
37#define RGBLED_NUM 15
38#define DRIVER_LED_TOTAL 15
39
40#define RGB_MATRIX_KEYPRESSES
41#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
42#define RGB_MATRIX_STARTUP_HUE 221
43
44#define I2C1_SCL_BANK GPIOB
45#define I2C1_SCL 8
46#define I2C1_SDA_BANK GPIOB
47#define I2C1_SDA 9
48
49#define I2C1_SCL_PAL_MODE 1
50#define I2C1_SDA_PAL_MODE 1
51
52#define I2C1_OPMODE OPMODE_I2C
53#define I2C1_CLOCK_SPEED 100000
54#define I2C1_DUTY_CYCLE STD_DUTY_CYCLE
55
56#define OLED_DISPLAY_ADDRESS 0x3C
57#define OLED_DISPLAY_128X64
58#define OLED_COM_PINS 0x12
59
60#define OLED_IC OLED_IC_SH1106
61#define OLED_COLUMN_OFFSET 2