aboutsummaryrefslogtreecommitdiff
path: root/keyboards/aves60/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/aves60/config.h')
-rw-r--r--keyboards/aves60/config.h139
1 files changed, 139 insertions, 0 deletions
diff --git a/keyboards/aves60/config.h b/keyboards/aves60/config.h
new file mode 100644
index 000000000..9f90b2109
--- /dev/null
+++ b/keyboards/aves60/config.h
@@ -0,0 +1,139 @@
1// Copyright 2021 Evelien Dekkers (@evyd13)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "config_common.h"
7
8/* USB Device descriptor parameter */
9#define VENDOR_ID 0x9991
10#define PRODUCT_ID 0xD408
11#define DEVICE_VER 0x0001
12#define MANUFACTURER I/O Keyboards
13#define PRODUCT Aves 60
14
15/* key matrix size */
16#define MATRIX_ROWS 5
17#define MATRIX_COLS 14
18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29#define MATRIX_ROW_PINS { F6, F7, F5, F1, F4 }
30#define MATRIX_COL_PINS { B2, B3, D0, D1, D2, D3, C7, C6, B6, B5, B4, D7, D6, D4 }
31#define UNUSED_PINS { B0, B7, E6, F0 }
32
33/* COL2ROW, ROW2COL */
34#define DIODE_DIRECTION COL2ROW
35
36/*
37 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
38 */
39//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
40
41//#define LED_NUM_LOCK_PIN B0
42//#define LED_CAPS_LOCK_PIN B1
43//#define LED_SCROLL_LOCK_PIN B2
44//#define LED_COMPOSE_PIN B3
45//#define LED_KANA_PIN B4
46
47//#define BACKLIGHT_PIN B7
48//#define BACKLIGHT_LEVELS 3
49//#define BACKLIGHT_BREATHING
50
51#define RGB_DI_PIN D5
52#ifdef RGB_DI_PIN
53#define RGBLED_NUM 9
54//# define RGBLIGHT_HUE_STEP 8
55//# define RGBLIGHT_SAT_STEP 8
56//# define RGBLIGHT_VAL_STEP 8
57//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
58//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
59/*== all animations enable ==*/
60//# define RGBLIGHT_ANIMATIONS
61/*== or choose animations ==*/
62#define RGBLIGHT_EFFECT_BREATHING
63#define RGBLIGHT_EFFECT_RAINBOW_MOOD
64#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
65#define RGBLIGHT_EFFECT_SNAKE
66#define RGBLIGHT_EFFECT_KNIGHT
67#define RGBLIGHT_EFFECT_CHRISTMAS
68#define RGBLIGHT_EFFECT_STATIC_GRADIENT
69#define RGBLIGHT_EFFECT_RGB_TEST
70#define RGBLIGHT_EFFECT_ALTERNATING
71#define RGBLIGHT_EFFECT_TWINKLE
72/*== customize breathing effect ==*/
73/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
74//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
75/*==== use exp() and sin() ====*/
76//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
77//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
78#endif
79
80/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
81#define DEBOUNCE 5
82
83/* define if matrix has ghost (lacks anti-ghosting diodes) */
84//#define MATRIX_HAS_GHOST
85
86/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
87#define LOCKING_SUPPORT_ENABLE
88/* Locking resynchronize hack */
89#define LOCKING_RESYNC_ENABLE
90
91/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
92 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
93 */
94//#define GRAVE_ESC_CTRL_OVERRIDE
95
96/*
97 * Force NKRO
98 *
99 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
100 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
101 * makefile for this to work.)
102 *
103 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
104 * until the next keyboard reset.
105 *
106 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
107 * fully operational during normal computer usage.
108 *
109 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
110 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
111 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
112 * power-up.
113 *
114 */
115//#define FORCE_NKRO
116
117/*
118 * Feature disable options
119 * These options are also useful to firmware size reduction.
120 */
121
122/* disable debug print */
123//#define NO_DEBUG
124
125/* disable print */
126//#define NO_PRINT
127
128/* disable action features */
129//#define NO_ACTION_LAYER
130//#define NO_ACTION_TAPPING
131//#define NO_ACTION_ONESHOT
132
133/* disable these deprecated features by default */
134#define NO_ACTION_MACRO
135#define NO_ACTION_FUNCTION
136
137/* Bootmagic Lite key configuration */
138#define BOOTMAGIC_LITE_ROW 4
139#define BOOTMAGIC_LITE_COLUMN 6