summaryrefslogtreecommitdiff
path: root/keyboards/xelus/xs108
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xelus/xs108')
-rw-r--r--keyboards/xelus/xs108/config.h13
-rw-r--r--keyboards/xelus/xs108/info.json7
-rw-r--r--keyboards/xelus/xs108/rules.mk6
3 files changed, 7 insertions, 19 deletions
diff --git a/keyboards/xelus/xs108/config.h b/keyboards/xelus/xs108/config.h
index c2643fa3c4..b04e268f1e 100644
--- a/keyboards/xelus/xs108/config.h
+++ b/keyboards/xelus/xs108/config.h
@@ -16,29 +16,16 @@
#pragma once
-/* key matrix size */
-#define MATRIX_ROWS 6
-#define MATRIX_COLS 21
-
#define MATRIX_ROW_PINS { C14, C13, A10, A3, A1, A0 }
#define MATRIX_COL_PINS { A9, A8, B15, B14, B13, B12, B11, B10, B2, B1, B0, A7, A6, A5, A4, B6, B5, B4, B3, A15, A14 }
#define DIODE_DIRECTION COL2ROW
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* 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
-// LED defines
-#define LED_CAPS_LOCK_PIN A2
-#define LED_SCROLL_LOCK_PIN A13
-#define LED_NUM_LOCK_PIN B7
-#define LED_PIN_ON_STATE 1
-
// I2C setup
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
diff --git a/keyboards/xelus/xs108/info.json b/keyboards/xelus/xs108/info.json
index c24b00b011..c4a53a6f59 100644
--- a/keyboards/xelus/xs108/info.json
+++ b/keyboards/xelus/xs108/info.json
@@ -8,6 +8,13 @@
"pid": "0x0108",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A2",
+ "num_lock": "B7",
+ "scroll_lock": "A13"
+ },
+ "processor": "STM32L412",
+ "bootloader": "stm32-dfu",
"layouts": {
"LAYOUT_108_ansi": {
"layout": [
diff --git a/keyboards/xelus/xs108/rules.mk b/keyboards/xelus/xs108/rules.mk
index b02554d542..a204d485fa 100644
--- a/keyboards/xelus/xs108/rules.mk
+++ b/keyboards/xelus/xs108/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32L412
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#