Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -58,7 +58,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
||||
#define WS2812_DMA_CHANNEL 6
|
||||
|
||||
#define LED_CAPS_LOCK_PIN A10
|
||||
|
||||
// If this is defined, the caps lock LED will turn on and off according to the state of caps lock. If not, the LED will shine like all other LEDs despite the caps lock state.
|
||||
#define CAPSLOCK_INDICATOR
|
||||
|
@@ -4,6 +4,9 @@
|
||||
"pid": "0x6584",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A10"
|
||||
},
|
||||
"processor": "STM32F411",
|
||||
"bootloader": "stm32-dfu"
|
||||
}
|
||||
|
@@ -58,7 +58,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
||||
#define WS2812_DMA_CHANNEL 6
|
||||
|
||||
#define LED_CAPS_LOCK_PIN C8
|
||||
|
||||
// If this is defined, the caps lock LED will turn on and off according to the state of caps lock. If not, the LED will shine like all other LEDs despite the caps lock state.
|
||||
#define CAPSLOCK_INDICATOR
|
||||
|
@@ -4,6 +4,9 @@
|
||||
"pid": "0x6585",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C8"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu"
|
||||
}
|
||||
|
@@ -78,7 +78,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
#define LED_NUM_LOCK_PIN D2
|
||||
#define LED_CAPS_LOCK_PIN D1
|
||||
#define LED_SCROLL_LOCK_PIN D0
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x454C",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "D1",
|
||||
"num_lock": "D2",
|
||||
"scroll_lock": "D0"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user