aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sneakbox/ava/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sneakbox/ava/config.h')
-rw-r--r--keyboards/sneakbox/ava/config.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/keyboards/sneakbox/ava/config.h b/keyboards/sneakbox/ava/config.h
new file mode 100644
index 000000000..81fdf5b37
--- /dev/null
+++ b/keyboards/sneakbox/ava/config.h
@@ -0,0 +1,72 @@
1/*
2Copyright 2021 Bryan Ong
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 0x5342
24#define PRODUCT_ID 0x0004
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Sneakbox
27#define PRODUCT AVA
28
29/*Bootmagic boot button, set to topmost, leftmost key */
30#define BOOTMAGIC_LITE_ROW 2
31#define BOOTMAGIC_LITE_COLUMN 0
32
33/* encoder */
34/* #define NUMBER_OF_ENCODERS 1 */
35#define ENCODERS_PAD_A { D3 }
36#define ENCODERS_PAD_B { D2 }
37#define ENCODER_RESOLUTION 1
38
39/* key matrix size */
40#define MATRIX_ROWS 9
41#define MATRIX_COLS 8
42
43/* key matrix pins */
44#define MATRIX_ROW_PINS { F1, E6, F4, B1, F5, B2, F6, B3, B7 }
45#define MATRIX_COL_PINS { F0, D0, C7, C6, B6, B5, B4, D1 }
46#define UNUSED_PINS
47
48/* COL2ROW or ROW2COL */
49#define DIODE_DIRECTION COL2ROW
50
51/* Set 0 if debouncing isn't needed */
52#define DEBOUNCE 5
53
54
55#define LED_NUM_LOCK_PIN D4
56#define LED_CAPS_LOCK_PIN D6
57
58#define RGB_DI_PIN F7
59#define RGBLIGHT_EFFECT_BREATHING
60#define RGBLIGHT_EFFECT_RAINBOW_MOOD
61#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
62#define RGBLIGHT_EFFECT_SNAKE
63#define RGBLIGHT_EFFECT_KNIGHT
64#define RGBLIGHT_EFFECT_CHRISTMAS
65#define RGBLIGHT_EFFECT_STATIC_GRADIENT
66#define RGBLIGHT_EFFECT_RGB_TEST
67#define RGBLIGHT_EFFECT_ALTERNATING
68#define RGBLIGHT_EFFECT_TWINKLE
69#define RGBLED_NUM 14
70#define RGBLIGHT_HUE_STEP 8
71#define RGBLIGHT_SAT_STEP 8
72#define RGBLIGHT_VAL_STEP 8 \ No newline at end of file