From 5b74115a9088e4ca8cd623d1b098eeb152c58c2e Mon Sep 17 00:00:00 2001 From: gskygithub <106651989+gskygithub@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:21:06 +0800 Subject: [PATCH] Resolved requested changes --- keyboards/vortex/m0110a/config.h | 6 ------ keyboards/vortex/m0110a/info.json | 12 ++++++++++-- keyboards/vortex/m0110a/readme.md | 3 ++- keyboards/vortex/m0110a/rules.mk | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/keyboards/vortex/m0110a/config.h b/keyboards/vortex/m0110a/config.h index 0289d830eac..af3c8bec54e 100644 --- a/keyboards/vortex/m0110a/config.h +++ b/keyboards/vortex/m0110a/config.h @@ -18,12 +18,6 @@ /* External spi flash */ #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14 -#define WEAR_LEVELING_BACKING_SIZE (8 * 1024) - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE /* SPI Config for LED Driver */ #define SPI_DRIVER SPIDQ diff --git a/keyboards/vortex/m0110a/info.json b/keyboards/vortex/m0110a/info.json index 2a087654012..3b5961c84bb 100644 --- a/keyboards/vortex/m0110a/info.json +++ b/keyboards/vortex/m0110a/info.json @@ -26,7 +26,11 @@ }, "processor": "WB32FQ95", "qmk": { - "tap_keycode_delay": 10 + "tap_keycode_delay": 10, + "locking": { + "enabled": true, + "resync": true + } }, "url": "", "usb": { @@ -35,7 +39,11 @@ "vid": "0x342D" }, "eeprom": { - "driver": "wear_leveling" + "driver": "wear_leveling", + "wear_leveling": { + "driver": "spi_flash", + "backing_size": 8192 + } }, "layouts": { "LAYOUT_all": { diff --git a/keyboards/vortex/m0110a/readme.md b/keyboards/vortex/m0110a/readme.md index ec6ca204fa1..b01ed129fda 100644 --- a/keyboards/vortex/m0110a/readme.md +++ b/keyboards/vortex/m0110a/readme.md @@ -1,5 +1,6 @@ # M0110A -![m0110a](https://imgur.com/bWpBa8th.png) + +![m0110a](https://imgur.com/bWpBa8t.png) An 81 keys keyboard, Equipped with the WestBerry Q95 microcontroller. diff --git a/keyboards/vortex/m0110a/rules.mk b/keyboards/vortex/m0110a/rules.mk index 002458405ee..6e7633bfe01 100644 --- a/keyboards/vortex/m0110a/rules.mk +++ b/keyboards/vortex/m0110a/rules.mk @@ -1 +1 @@ -WEAR_LEVELING_DRIVER = spi_flash +# This file intentionally left blank