summaryrefslogtreecommitdiff
path: root/keyboards/mode/m75s/config.h
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.augusto.volpato@gmail.com>2023-02-18 14:12:44 -0300
committerGitHub <noreply@github.com>2023-02-18 10:12:44 -0700
commit7b5dee406441768e99e4fca1da042c630dd2baa7 (patch)
tree6fd66bf440a2a72c71b3c7fb1284afafaeba2c1d /keyboards/mode/m75s/config.h
parent609b23af344e7389503b197ba3594524a2ca8fad (diff)
Add caps lock indicator capabilities to M75S (#19552)
Diffstat (limited to 'keyboards/mode/m75s/config.h')
-rw-r--r--keyboards/mode/m75s/config.h37
1 files changed, 11 insertions, 26 deletions
diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h
index 5da8543e95..983ab35095 100644
--- a/keyboards/mode/m75s/config.h
+++ b/keyboards/mode/m75s/config.h
@@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key matrix size */
#define MATRIX_ROWS 7
#define MATRIX_COLS 16
- //C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15
+ // C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15
#define MATRIX_COL_PINS { C8, A8, A10, B13, B12, B10, B1, C10, C11, D2, C12, B3, B4, B5, B8, B9 }
- //R0, R1, R2, R3, R4, R5 , R6
+ // R0, R1, R2, R3, R4, R5 , R6
#define MATRIX_ROW_PINS { C5, B0, B14, B15, C7 , C9 , A15}
#define DIODE_DIRECTION COL2ROW
@@ -37,28 +37,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define EEPROM_I2C_24LC128
-//#define I2C1_CLOCK_SPEED 400000
-//#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
+#define BACKLIGHT_PIN C6
+#define BACKLIGHT_LEVELS 20
+#define BACKLIGHT_CAPS_LOCK
+#define BACKLIGHT_DEFAULT_LEVEL 20
+#define BACKLIGHT_PWM_DRIVER PWMD3
+#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PAL_MODE 2
-#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
-
-#define TAP_CODE_DELAY 50
-
-#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 16383 // Overriding to use more EEPROM
+#define WEAR_LEVELING_LOGICAL_SIZE 2048
+#define WEAR_LEVELING_BACKING_SIZE 4096