aboutsummaryrefslogtreecommitdiff
path: root/keyboards/uno/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/uno/config.h')
-rw-r--r--keyboards/uno/config.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/keyboards/uno/config.h b/keyboards/uno/config.h
new file mode 100644
index 000000000..1cae17f50
--- /dev/null
+++ b/keyboards/uno/config.h
@@ -0,0 +1,69 @@
1/* Copyright 2020 Snipeye
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#pragma once
17#include "config_common.h"
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0xFEED
21#define PRODUCT_ID 0xACC8
22#define DEVICE_VER 0x0001
23#define MANUFACTURER Broekhuijsen
24#define PRODUCT Uno
25
26/* key matrix size */
27#define MATRIX_ROWS 1
28#define MATRIX_COLS 1
29
30/* Uno default pinout */
31#define DIRECT_PINS { \
32 { B6 } \
33}
34#define UNUSED_PINS
35
36#define RGB_DI_PIN F6
37#ifdef RGB_DI_PIN
38#define RGBLED_NUM 1
39// #define RGBLIGHT_HUE_STEP 32
40// #define RGBLIGHT_SAT_STEP 32
41// #define RGBLIGHT_VAL_STEP 32
42// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
43// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
44// /*== all animations enable ==*/
45#define RGBLIGHT_ANIMATIONS
46// /*== or choose animations ==*/
47// #define RGBLIGHT_EFFECT_BREATHING
48// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
49// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
50// #define RGBLIGHT_EFFECT_SNAKE
51// #define RGBLIGHT_EFFECT_KNIGHT
52// #define RGBLIGHT_EFFECT_CHRISTMAS
53// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
54// #define RGBLIGHT_EFFECT_RGB_TEST
55// #define RGBLIGHT_EFFECT_ALTERNATING
56// /*== customize breathing effect ==*/
57// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
58// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
59// /*==== use exp() and sin() ====*/
60// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
61// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
62#endif
63
64/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
65#define DEBOUNCE 5
66
67/* disable these deprecated features by default */
68#define NO_ACTION_MACRO
69#define NO_ACTION_FUNCTION