aboutsummaryrefslogtreecommitdiff
path: root/keyboards/halfcliff/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/halfcliff/config.h')
-rw-r--r--keyboards/halfcliff/config.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/keyboards/halfcliff/config.h b/keyboards/halfcliff/config.h
new file mode 100644
index 000000000..287fd2f4a
--- /dev/null
+++ b/keyboards/halfcliff/config.h
@@ -0,0 +1,69 @@
1/*
2Copyright 2021 n2
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x0335
24#define PRODUCT_ID 0x0021
25#define DEVICE_VER 0x0001
26#define MANUFACTURER n2
27#define PRODUCT halfcliff
28
29/* key matrix size */
30#define MATRIX_ROWS 20
31#define MATRIX_COLS 5
32
33#define MATRIX_ROW_PINS { F5, F6, F7, D7, B5, F5, F6, F7, D7, B5 }
34#define MATRIX_COL_PINS { B4, E6, C6, B6, B2 }
35#define UNUSED_PINS
36
37//#define NUMBER_OF_ENCODERS 1
38#define ENCODERS_PAD_A { D4 }
39#define ENCODERS_PAD_B { F4 }
40#define ENCODER_RESOLUTION 2
41
42/*
43 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
44 */
45#define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6
46
47 #define RGB_DI_PIN D3
48 #ifdef RGB_DI_PIN
49 #define RGBLED_NUM 10
50 #define RGBLIGHT_SPLIT
51 #define RGBLED_SPLIT { 5, 5 }
52 #define RGBLIGHT_HUE_STEP 8
53 #define RGBLIGHT_SAT_STEP 8
54 #define RGBLIGHT_VAL_STEP 8
55 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
56 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
57 #endif
58
59/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
60#define DEBOUNCE 5
61
62/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
63#define LOCKING_SUPPORT_ENABLE
64/* Locking resynchronize hack */
65#define LOCKING_RESYNC_ENABLE
66
67/* disable these deprecated features by default */
68#define NO_ACTION_MACRO
69#define NO_ACTION_FUNCTION