summaryrefslogtreecommitdiff
path: root/keyboards/ubest/vn
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-02-28 11:22:29 +1100
committerNick Brassel <nick@tzarc.org>2023-02-28 11:22:29 +1100
commitbacec14073b2e897d5a52caf12de5a6a1f7b4078 (patch)
treed4e3e57aac1a829a191831efd2e62c8a43217885 /keyboards/ubest/vn
parentd70e9b8659a7fbbd7069fd542bd07e67e04327a1 (diff)
parentb865b9e1706ad28ae4882bd2e0331e98808295fa (diff)
Merge remote-tracking branch 'upstream/develop'
Diffstat (limited to 'keyboards/ubest/vn')
-rw-r--r--keyboards/ubest/vn/config.h15
-rw-r--r--keyboards/ubest/vn/info.json11
-rw-r--r--keyboards/ubest/vn/rules.mk6
3 files changed, 11 insertions, 21 deletions
diff --git a/keyboards/ubest/vn/config.h b/keyboards/ubest/vn/config.h
index 0ea89944da..75551832f1 100644
--- a/keyboards/ubest/vn/config.h
+++ b/keyboards/ubest/vn/config.h
@@ -16,11 +16,6 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 5
-#define MATRIX_COLS 15
/*
* Keyboard Matrix Assignments
@@ -37,10 +32,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-// #define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 3
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
@@ -59,9 +50,3 @@
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
#endif
-
-#define LED_PIN_ON_STATE 0
-#define LED_NUM_LOCK_PIN B1
-#define LED_CAPS_LOCK_PIN B3
-#define LED_SCROLL_LOCK_PIN B2
-
diff --git a/keyboards/ubest/vn/info.json b/keyboards/ubest/vn/info.json
index 756235aaf8..348a51fc7a 100644
--- a/keyboards/ubest/vn/info.json
+++ b/keyboards/ubest/vn/info.json
@@ -8,6 +8,17 @@
"pid": "0x0868",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
+ "indicators": {
+ "caps_lock": "B3",
+ "num_lock": "B1",
+ "scroll_lock": "B2",
+ "on_state": 0
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/ubest/vn/rules.mk b/keyboards/ubest/vn/rules.mk
index c483c98ee3..8a6e2c7b71 100644
--- a/keyboards/ubest/vn/rules.mk
+++ b/keyboards/ubest/vn/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#