aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ydkb/grape
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ydkb/grape')
-rw-r--r--keyboards/ydkb/grape/keyboard.json (renamed from keyboards/ydkb/grape/info.json)7
-rw-r--r--keyboards/ydkb/grape/matrix.c3
-rw-r--r--keyboards/ydkb/grape/rules.mk13
3 files changed, 7 insertions, 16 deletions
diff --git a/keyboards/ydkb/grape/info.json b/keyboards/ydkb/grape/keyboard.json
index 75aa8fffaf..f8f0364d93 100644
--- a/keyboards/ydkb/grape/info.json
+++ b/keyboards/ydkb/grape/keyboard.json
@@ -8,6 +8,13 @@
"pid": "0x6772",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"backlight": {
"pin": "B7",
"breathing": true
diff --git a/keyboards/ydkb/grape/matrix.c b/keyboards/ydkb/grape/matrix.c
index 700761fa44..3e070f8d7d 100644
--- a/keyboards/ydkb/grape/matrix.c
+++ b/keyboards/ydkb/grape/matrix.c
@@ -15,10 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdint.h>
-#include <stdbool.h>
#include "matrix.h"
-#include "quantum.h"
#include "sn74x138.h"
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;
diff --git a/keyboards/ydkb/grape/rules.mk b/keyboards/ydkb/grape/rules.mk
index d1eb5135b4..6beea3e392 100644
--- a/keyboards/ydkb/grape/rules.mk
+++ b/keyboards/ydkb/grape/rules.mk
@@ -1,16 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
CUSTOM_MATRIX = lite
VPATH += drivers/gpio
SRC += matrix.c sn74x138.c