aboutsummaryrefslogtreecommitdiff
path: root/keyboards/melgeek/mojo68/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/melgeek/mojo68/config.h')
-rwxr-xr-xkeyboards/melgeek/mojo68/config.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/melgeek/mojo68/config.h b/keyboards/melgeek/mojo68/config.h
new file mode 100755
index 000000000..ffd92a783
--- /dev/null
+++ b/keyboards/melgeek/mojo68/config.h
@@ -0,0 +1,52 @@
1/* Copyright 2020 MelGeek <melgeek001365@gmail.com>
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
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0xEDED
23#define PRODUCT_ID 0x0068
24#define DEVICE_VER 0x0001
25#define MANUFACTURER MelGeek
26#define PRODUCT MoJo68
27
28/* key matrix size */
29#define MATRIX_ROWS 5
30#define MATRIX_COLS 15
31
32/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
33#define DEBOUNCE 3
34
35/* disable these deprecated features by default */
36#define NO_ACTION_MACRO
37#define NO_ACTION_FUNCTION
38
39#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
41#define RGB_MATRIX_KEYPRESSES
42#define RGB_MATRIX_LED_PROCESS_LIMIT 4
43#define RGB_MATRIX_LED_FLUSH_LIMIT 26
44#define DISABLE_RGB_MATRIX_SPLASH
45#define DISABLE_RGB_MATRIX_MULTISPLASH
46#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
47//#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
48#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
49#define DRIVER_ADDR_1 0b0110000
50#define DRIVER_ADDR_2 0b0110000 // this is here for compliancy reasons.
51#define DRIVER_COUNT 1
52