aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ymd75/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymd75/config.h')
-rw-r--r--keyboards/ymd75/config.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/ymd75/config.h b/keyboards/ymd75/config.h
new file mode 100644
index 000000000..748f43f26
--- /dev/null
+++ b/keyboards/ymd75/config.h
@@ -0,0 +1,54 @@
1/*
2Base Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
3Modified 2017 Andrew Novak <ndrw.nvk@gmail.com>
4Modified 2018 Wayne Jones (WarmCatUK) <waynekjones@gmail.com>
5
6This program is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef CONFIG_H
21#define CONFIG_H
22
23#include "config_common.h"
24
25#define VENDOR_ID 0x20A0
26#define PRODUCT_ID 0x422D
27
28// TODO: share these strings with usbconfig.h
29// Edit usbconfig.h to change these.
30#define MANUFACTURER YMDK
31#define PRODUCT ymd75 / mt84
32#define DESCRIPTION 75% Keyboard
33
34/* matrix size */
35#define MATRIX_ROWS 8
36#define MATRIX_COLS 15
37#define DIODE_DIRECTION ROW2COL
38
39#define BACKLIGHT_LEVELS 12
40
41#define RGB_DI_PIN E2
42#define RGBLED_NUM 16
43#define RGBLIGHT_ANIMATIONS
44#define RGBLIGHT_HUE_STEP 12
45#define RGBLIGHT_SAT_STEP 15
46#define RGBLIGHT_VAL_STEP 18
47
48#define NO_UART 1
49#define BOOTLOADHID_BOOTLOADER 1
50
51/* key combination for command */
52#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
53
54#endif