summaryrefslogtreecommitdiffstats
path: root/keyboards/yampad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yampad')
-rw-r--r--keyboards/yampad/config.h47
-rw-r--r--keyboards/yampad/info.json18
-rw-r--r--keyboards/yampad/rules.mk2
3 files changed, 18 insertions, 49 deletions
diff --git a/keyboards/yampad/config.h b/keyboards/yampad/config.h
deleted file mode 100644
index 6327578ebf..0000000000
--- a/keyboards/yampad/config.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Underlight configuration */
-#define RGBLED_NUM 9
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/yampad/info.json b/keyboards/yampad/info.json
index 54c363b28b..bf9841492d 100644
--- a/keyboards/yampad/info.json
+++ b/keyboards/yampad/info.json
@@ -8,9 +8,27 @@
"pid": "0x8369",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "led_count": 9,
+ "animations": {
+ "breathing": true,
+ "rainbow_mood": true,
+ "rainbow_swirl": true,
+ "snake": true,
+ "knight": true,
+ "christmas": true,
+ "static_gradient": true,
+ "rgb_test": true,
+ "alternating": true,
+ "twinkle": true
+ }
+ },
"ws2812": {
"pin": "F4"
},
+ "build": {
+ "debounce_type": "sym_eager_pk"
+ },
"matrix_pins": {
"cols": ["B1", "B3", "B2", "B6"],
"rows": ["C6", "D7", "E6", "B4", "B5"]
diff --git a/keyboards/yampad/rules.mk b/keyboards/yampad/rules.mk
index 9f1bf19863..498bf77b97 100644
--- a/keyboards/yampad/rules.mk
+++ b/keyboards/yampad/rules.mk
@@ -6,11 +6,9 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
COMMAND_ENABLE = no # Commands for debug and configuration
CONSOLE_ENABLE = no # Console for debug
-DEBOUNCE_TYPE = sym_eager_pk
EXTRAKEY_ENABLE = no # Audio control and System control
LTO_ENABLE = yes # Link time optimise, reduce firmware size
MOUSEKEY_ENABLE = no # Mouse keys
NKRO_ENABLE = yes # Enable N-Key Rollover
-OLED_DRIVER = SSD1306
OLED_ENABLE = yes
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow