summaryrefslogtreecommitdiff
path: root/keyboards/uk78
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/uk78
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/uk78')
-rw-r--r--keyboards/uk78/config.h2
-rw-r--r--keyboards/uk78/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/uk78/config.h b/keyboards/uk78/config.h
index c03e419ab2..3a9e21ea60 100644
--- a/keyboards/uk78/config.h
+++ b/keyboards/uk78/config.h
@@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/uk78/info.json b/keyboards/uk78/info.json
index 06c6626a0a..fbbc15609c 100644
--- a/keyboards/uk78/info.json
+++ b/keyboards/uk78/info.json
@@ -8,6 +8,9 @@
"pid": "0x004E",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {