From 801d2ff940a5f19ee4fa7df992e86d1fd1daf610 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 30 Dec 2022 11:48:05 +1100 Subject: Remove useless line continuations (#19399) --- .../ebastler/e80_1800/keymaps/via_oled/keymap.c | 184 ++++++++++----------- 1 file changed, 92 insertions(+), 92 deletions(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/e80_1800/keymaps/via_oled/keymap.c b/keyboards/ebastler/e80_1800/keymaps/via_oled/keymap.c index 60d3d24e9b..a0da11e31c 100644 --- a/keyboards/ebastler/e80_1800/keymaps/via_oled/keymap.c +++ b/keyboards/ebastler/e80_1800/keymaps/via_oled/keymap.c @@ -61,67 +61,67 @@ extern matrix_row_t matrix[MATRIX_ROWS]; static bool OLED_redraw = true; -static const uint8_t bongofont[] PROGMEM = { \ - 0xC1, 0xC1, 0xC2, 0x04, 0x08, 0x10, \ - 0xC0, 0x38, 0x04, 0x03, 0x00, 0x00, \ - 0xA0, 0x22, 0x24, 0x14, 0x12, 0x12, \ - 0xA0, 0x21, 0x22, 0x12, 0x11, 0x11, \ - 0x83, 0x7C, 0x41, 0x41, 0x40, 0x40, \ - 0x82, 0x82, 0x84, 0x08, 0x10, 0x20, \ - 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, \ - 0x80, 0x70, 0x19, 0x06, 0x00, 0x00, \ - 0x80, 0x70, 0x0C, 0x03, 0x00, 0x00, \ - 0x80, 0x00, 0x30, 0x30, 0x00, 0xC0, \ - 0x80, 0x00, 0x30, 0x30, 0x00, 0x00, \ - 0x49, 0x88, 0x08, 0x08, 0x08, 0x00, \ - 0x44, 0x84, 0x04, 0x04, 0x00, 0x00, \ - 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, \ - 0x40, 0x40, 0x20, 0x20, 0x20, 0x20, \ - 0x3C, 0xC2, 0x01, 0x01, 0x02, 0x02, \ - 0x35, 0x01, 0x8A, 0x7C, 0x00, 0x00, \ - 0x20, 0x40, 0x80, 0x00, 0x00, 0x00, \ - 0x20, 0x21, 0x22, 0x12, 0x11, 0x11, \ - 0x20, 0x20, 0x10, 0x10, 0x10, 0x10, \ - 0x1E, 0xE1, 0x00, 0x00, 0x01, 0x01, \ - 0x1C, 0xE2, 0x01, 0x01, 0x02, 0x02, \ - 0x18, 0x64, 0x82, 0x02, 0x02, 0x02, \ - 0x18, 0x60, 0x80, 0x00, 0x00, 0x00, \ - 0x18, 0x18, 0x1B, 0x03, 0x00, 0x40, \ - 0x18, 0x06, 0x05, 0x98, 0x99, 0x84, \ - 0x12, 0x0B, 0x08, 0x08, 0x08, 0x08, \ - 0x11, 0x09, 0x08, 0x08, 0x08, 0x08, \ - 0x10, 0x10, 0xD0, 0x11, 0x0F, 0x21, \ - 0x10, 0x10, 0x10, 0x11, 0x0F, 0x01, \ - 0x10, 0x08, 0x08, 0x04, 0x04, 0x04, \ - 0x10, 0x08, 0x04, 0x02, 0x02, 0x04, \ - 0x0C, 0x30, 0x40, 0x80, 0x00, 0x00, \ - 0x0C, 0x0C, 0x0D, 0x01, 0x00, 0x40, \ - 0x08, 0xE8, 0x08, 0x07, 0x10, 0x24, \ - 0x08, 0x30, 0x40, 0x80, 0x00, 0x00, \ - 0x08, 0x08, 0x08, 0x07, 0x00, 0x00, \ - 0x08, 0x08, 0x04, 0x02, 0x02, 0x02, \ - 0x08, 0x04, 0x02, 0x01, 0x01, 0x02, \ - 0x05, 0x05, 0x09, 0x09, 0x10, 0x10, \ - 0x04, 0x38, 0x40, 0x80, 0x00, 0x00, \ - 0x04, 0x04, 0x08, 0x08, 0x10, 0x10, \ - 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, \ - 0x04, 0x04, 0x02, 0x01, 0x00, 0x00, \ - 0x02, 0x02, 0x81, 0x80, 0x80, 0x00, \ - 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, \ - 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, \ - 0x02, 0x02, 0x01, 0x00, 0x00, 0x00, \ - 0x01, 0xE1, 0x1A, 0x06, 0x09, 0x31, \ - 0x01, 0x01, 0x02, 0x04, 0x08, 0x10, \ - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, \ - 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, \ - 0x00, 0x80, 0x40, 0x40, 0x20, 0x20, \ - 0x00, 0x00, 0x80, 0x80, 0x40, 0x40, \ - 0x00, 0x00, 0x60, 0x60, 0x00, 0x81, \ - 0x00, 0x00, 0x01, 0x01, 0x00, 0x40, \ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, \ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, \ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, \ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, \ +static const uint8_t bongofont[] PROGMEM = { + 0xC1, 0xC1, 0xC2, 0x04, 0x08, 0x10, + 0xC0, 0x38, 0x04, 0x03, 0x00, 0x00, + 0xA0, 0x22, 0x24, 0x14, 0x12, 0x12, + 0xA0, 0x21, 0x22, 0x12, 0x11, 0x11, + 0x83, 0x7C, 0x41, 0x41, 0x40, 0x40, + 0x82, 0x82, 0x84, 0x08, 0x10, 0x20, + 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, + 0x80, 0x70, 0x19, 0x06, 0x00, 0x00, + 0x80, 0x70, 0x0C, 0x03, 0x00, 0x00, + 0x80, 0x00, 0x30, 0x30, 0x00, 0xC0, + 0x80, 0x00, 0x30, 0x30, 0x00, 0x00, + 0x49, 0x88, 0x08, 0x08, 0x08, 0x00, + 0x44, 0x84, 0x04, 0x04, 0x00, 0x00, + 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, + 0x40, 0x40, 0x20, 0x20, 0x20, 0x20, + 0x3C, 0xC2, 0x01, 0x01, 0x02, 0x02, + 0x35, 0x01, 0x8A, 0x7C, 0x00, 0x00, + 0x20, 0x40, 0x80, 0x00, 0x00, 0x00, + 0x20, 0x21, 0x22, 0x12, 0x11, 0x11, + 0x20, 0x20, 0x10, 0x10, 0x10, 0x10, + 0x1E, 0xE1, 0x00, 0x00, 0x01, 0x01, + 0x1C, 0xE2, 0x01, 0x01, 0x02, 0x02, + 0x18, 0x64, 0x82, 0x02, 0x02, 0x02, + 0x18, 0x60, 0x80, 0x00, 0x00, 0x00, + 0x18, 0x18, 0x1B, 0x03, 0x00, 0x40, + 0x18, 0x06, 0x05, 0x98, 0x99, 0x84, + 0x12, 0x0B, 0x08, 0x08, 0x08, 0x08, + 0x11, 0x09, 0x08, 0x08, 0x08, 0x08, + 0x10, 0x10, 0xD0, 0x11, 0x0F, 0x21, + 0x10, 0x10, 0x10, 0x11, 0x0F, 0x01, + 0x10, 0x08, 0x08, 0x04, 0x04, 0x04, + 0x10, 0x08, 0x04, 0x02, 0x02, 0x04, + 0x0C, 0x30, 0x40, 0x80, 0x00, 0x00, + 0x0C, 0x0C, 0x0D, 0x01, 0x00, 0x40, + 0x08, 0xE8, 0x08, 0x07, 0x10, 0x24, + 0x08, 0x30, 0x40, 0x80, 0x00, 0x00, + 0x08, 0x08, 0x08, 0x07, 0x00, 0x00, + 0x08, 0x08, 0x04, 0x02, 0x02, 0x02, + 0x08, 0x04, 0x02, 0x01, 0x01, 0x02, + 0x05, 0x05, 0x09, 0x09, 0x10, 0x10, + 0x04, 0x38, 0x40, 0x80, 0x00, 0x00, + 0x04, 0x04, 0x08, 0x08, 0x10, 0x10, + 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, + 0x04, 0x04, 0x02, 0x01, 0x00, 0x00, + 0x02, 0x02, 0x81, 0x80, 0x80, 0x00, + 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, + 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, + 0x02, 0x02, 0x01, 0x00, 0x00, 0x00, + 0x01, 0xE1, 0x1A, 0x06, 0x09, 0x31, + 0x01, 0x01, 0x02, 0x04, 0x08, 0x10, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, + 0x00, 0x80, 0x40, 0x40, 0x20, 0x20, + 0x00, 0x00, 0x80, 0x80, 0x40, 0x40, + 0x00, 0x00, 0x60, 0x60, 0x00, 0x81, + 0x00, 0x00, 0x01, 0x01, 0x00, 0x40, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; @@ -131,44 +131,44 @@ static const uint8_t bongo_line_len[] = {5, 7, 8, 6}; const uint8_t bongo_line_data[8][26] PROGMEM = { { //idle1 - 60, 52, 19, 30, 35, \ - 22, 47, 51, 60, 9, 0, 17, \ - 1, 57, 33, 3, 27, 41, 29, 50, \ - 45, 36, 60, 60, 60, 60}, \ + 60, 52, 19, 30, 35, + 22, 47, 51, 60, 9, 0, 17, + 1, 57, 33, 3, 27, 41, 29, 50, + 45, 36, 60, 60, 60, 60}, { //idle2 - 60, 52, 19, 30, 35, \ - 22, 47, 51, 60, 9, 0, 17, \ - 1, 57, 33, 3, 27, 41, 29, 50, \ - 45, 36, 60, 60, 60, 60}, \ + 60, 52, 19, 30, 35, + 22, 47, 51, 60, 9, 0, 17, + 1, 57, 33, 3, 27, 41, 29, 50, + 45, 36, 60, 60, 60, 60}, { //idle3 - 60, 53, 14, 31, 23, \ - 15, 43, 60, 60, 54, 5, 13, \ - 7, 56, 24, 2, 26, 39, 29, 50, \ - 45, 36, 60, 60, 60, 60}, \ + 60, 53, 14, 31, 23, + 15, 43, 60, 60, 54, 5, 13, + 7, 56, 24, 2, 26, 39, 29, 50, + 45, 36, 60, 60, 60, 60}, { //idle4 - 6, 52, 19, 38, 32, \ - 20, 47, 51, 60, 9, 0, 17, \ - 8, 57, 33, 3, 27, 41, 29, 50, \ - 45, 36, 60, 60, 60, 60}, \ + 6, 52, 19, 38, 32, + 20, 47, 51, 60, 9, 0, 17, + 8, 57, 33, 3, 27, 41, 29, 50, + 45, 36, 60, 60, 60, 60}, { //idle5 - 60, 52, 19, 37, 40, \ - 21, 47, 51, 60, 9, 0, 17, \ - 8, 57, 33, 3, 27, 41, 29, 50, \ - 45, 36, 60, 60, 60, 60}, \ + 60, 52, 19, 37, 40, + 21, 47, 51, 60, 9, 0, 17, + 8, 57, 33, 3, 27, 41, 29, 50, + 45, 36, 60, 60, 60, 60}, { //prep - 6, 52, 19, 38, 32, \ - 20, 44, 51, 60, 10, 48, 16, \ - 8, 25, 4, 18, 27, 42, 46, 50, \ - 60, 60, 60, 60, 60, 60}, \ + 6, 52, 19, 38, 32, + 20, 44, 51, 60, 10, 48, 16, + 8, 25, 4, 18, 27, 42, 46, 50, + 60, 60, 60, 60, 60, 60}, { //tap1 - 6, 52, 19, 38, 32, \ - 20, 44, 51, 60, 10, 49, 17, \ - 8, 25, 4, 18, 27, 41, 28, 11, \ - 60, 60, 60, 60, 58, 59}, \ + 6, 52, 19, 38, 32, + 20, 44, 51, 60, 10, 49, 17, + 8, 25, 4, 18, 27, 41, 28, 11, + 60, 60, 60, 60, 58, 59}, { //tap2 - 6, 52, 19, 38, 32, \ - 20, 47, 51, 60, 10, 48, 16, \ - 8, 60, 55, 3, 27, 42, 46, 50, \ + 6, 52, 19, 38, 32, + 20, 47, 51, 60, 10, 48, 16, + 8, 60, 55, 3, 27, 42, 46, 50, 45, 34, 12, 60, 60, 60} }; -- cgit v1.2.3 From f6dd8dea2e493dc549a60fee99de871c4088d09a Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 31 Jan 2023 06:03:30 +1100 Subject: Remove usages of config_common.h from config.h files. (#19714) --- keyboards/ebastler/e80_1800/config.h | 1 - keyboards/ebastler/isometria_75/rev1/config.h | 1 - 2 files changed, 2 deletions(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/e80_1800/config.h b/keyboards/ebastler/e80_1800/config.h index 36b37d36ff..b0726f908a 100644 --- a/keyboards/ebastler/e80_1800/config.h +++ b/keyboards/ebastler/e80_1800/config.h @@ -14,7 +14,6 @@ */ #pragma once -#include "config_common.h" #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 2 diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 2c2a62fc26..a3d1d28d43 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -17,7 +17,6 @@ along with this program. If not, see . #pragma once -#include "config_common.h" /* key matrix size */ #define MATRIX_ROWS 6 -- cgit v1.2.3 From ebb512db827e84619e7151fcf76e3daf9328fe59 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 4 Feb 2023 06:19:58 +1100 Subject: Debounce defines cleanup (#19742) * Clean up `DEBOUNCE` in config.h, 0-9 * Clean up `DEBOUNCE` in config.h, A * Clean up `DEBOUNCE` in config.h, B * Clean up `DEBOUNCE` in config.h, C * Clean up `DEBOUNCE` in config.h, D * Clean up `DEBOUNCE` in config.h, E * Clean up `DEBOUNCE` in config.h, F * Clean up `DEBOUNCE` in config.h, G * Clean up `DEBOUNCE` in config.h, H * Clean up `DEBOUNCE` in config.h, handwired * Clean up `DEBOUNCE` in config.h, I * Clean up `DEBOUNCE` in config.h, J * Clean up `DEBOUNCE` in config.h, K * Clean up `DEBOUNCE` in config.h, L * Clean up `DEBOUNCE` in config.h, M * Clean up `DEBOUNCE` in config.h, N * Clean up `DEBOUNCE` in config.h, O * Clean up `DEBOUNCE` in config.h, P * Clean up `DEBOUNCE` in config.h, Q * Clean up `DEBOUNCE` in config.h, R * Clean up `DEBOUNCE` in config.h, S * Clean up `DEBOUNCE` in config.h, T * Clean up `DEBOUNCE` in config.h, U * Clean up `DEBOUNCE` in config.h, V * Clean up `DEBOUNCE` in config.h, W * Clean up `DEBOUNCE` in config.h, X * Clean up `DEBOUNCE` in config.h, Y * Clean up `DEBOUNCE` in config.h, Z * Remove default debounce from info.json * Migrate non-default debounce to info.json --- keyboards/ebastler/e80_1800/info.json | 1 - keyboards/ebastler/isometria_75/rev1/config.h | 1 - 2 files changed, 2 deletions(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/e80_1800/info.json b/keyboards/ebastler/e80_1800/info.json index fd09130dd3..6624791143 100644 --- a/keyboards/ebastler/e80_1800/info.json +++ b/keyboards/ebastler/e80_1800/info.json @@ -11,7 +11,6 @@ "pid": "0x1338", "device_version": "1.0.0" }, - "debounce": 5, "diode_direction": "COL2ROW", "features": { "bootmagic": true, diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index a3d1d28d43..6b437075c3 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define DEBOUNCE 5 /* Backlight */ #define BACKLIGHT_PIN A9 -- cgit v1.2.3 From f9aeea64c1f85d388485503e52035b5f7533ed26 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 8 Feb 2023 18:41:46 +1100 Subject: Migrate `MCU` and `BOOTLOADER` to data-driven (#19529) --- keyboards/ebastler/isometria_75/rev1/info.json | 2 ++ keyboards/ebastler/isometria_75/rev1/rules.mk | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/isometria_75/rev1/info.json b/keyboards/ebastler/isometria_75/rev1/info.json index ffc847a1d4..37898f4846 100644 --- a/keyboards/ebastler/isometria_75/rev1/info.json +++ b/keyboards/ebastler/isometria_75/rev1/info.json @@ -8,6 +8,8 @@ "pid": "0x1337", "device_version": "0.0.1" }, + "processor": "STM32F072", + "bootloader": "stm32-dfu", "layouts": { "LAYOUT_iso": { "layout": [ diff --git a/keyboards/ebastler/isometria_75/rev1/rules.mk b/keyboards/ebastler/isometria_75/rev1/rules.mk index b755e9eb2d..bd6499b239 100644 --- a/keyboards/ebastler/isometria_75/rev1/rules.mk +++ b/keyboards/ebastler/isometria_75/rev1/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = STM32F072 - -# Bootloader selection -BOOTLOADER = stm32-dfu - # Build Options # change yes to no to disable # -- cgit v1.2.3 From 2da0827d4ffbcba161126d6001f370e97d0172a8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 16:08:25 +1100 Subject: Remove matrix size defines (#19581) --- keyboards/ebastler/isometria_75/rev1/config.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 6b437075c3..511e233986 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -18,10 +18,6 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 16 - #define MATRIX_ROW_PINS { A15, B4, B5, B6, B7, B8} #define MATRIX_COL_PINS { B12, B13, B14, B15, A8, A10, A13, A14, B9, C13, F0, F1, A0, B2, B10, B11 } -- cgit v1.2.3 From 9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 21 Feb 2023 12:05:40 +1100 Subject: Move backlight config to data driven, part 1 (#19887) --- keyboards/ebastler/isometria_75/rev1/config.h | 1 - 1 file changed, 1 deletion(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 511e233986..42cbedbd01 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -31,7 +31,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_ON_STATE 1 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. /* Underglow */ -- cgit v1.2.3 From 26854f59402f3f4b7ca5cfe0f3dd665a680715f5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 22 Feb 2023 12:12:42 +1100 Subject: Remove default and unused `BACKLIGHT_LEVELS` (#19898) --- keyboards/ebastler/e80_1800/info.json | 1 - 1 file changed, 1 deletion(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/e80_1800/info.json b/keyboards/ebastler/e80_1800/info.json index 6624791143..d44ec001bd 100644 --- a/keyboards/ebastler/e80_1800/info.json +++ b/keyboards/ebastler/e80_1800/info.json @@ -27,7 +27,6 @@ }, "backlight": { "breathing": true, - "breathing_period": 5, "levels": 5, "pin": "A9", "on_state": 1 -- cgit v1.2.3 From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- keyboards/ebastler/isometria_75/rev1/config.h | 3 --- keyboards/ebastler/isometria_75/rev1/info.json | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 42cbedbd01..4aa733a06a 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -25,12 +25,9 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW /* Backlight */ -#define BACKLIGHT_PIN A9 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. /* Underglow */ diff --git a/keyboards/ebastler/isometria_75/rev1/info.json b/keyboards/ebastler/isometria_75/rev1/info.json index 37898f4846..a2a8c4e1d5 100644 --- a/keyboards/ebastler/isometria_75/rev1/info.json +++ b/keyboards/ebastler/isometria_75/rev1/info.json @@ -8,6 +8,11 @@ "pid": "0x1337", "device_version": "0.0.1" }, + "backlight": { + "pin": "A9", + "levels": 5, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { -- cgit v1.2.3 From 7e0299117b389b1c7fcdfa2f20891ba2287ea771 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 09:45:12 +1100 Subject: Move encoder config to data driven (#19923) Co-authored-by: Nick Brassel --- keyboards/ebastler/isometria_75/rev1/config.h | 7 ------- keyboards/ebastler/isometria_75/rev1/info.json | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'keyboards/ebastler') diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 4aa733a06a..979424c64a 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -43,13 +43,6 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL - -/* Rotary encoder - set the resolution fitting your encoder. -Most will need a value of 4. If 1 encoder click results in 2 keycodes sent -increase the value. If you need 2 clicks for 1 keycode, decrease*/ -#define ENCODER_RESOLUTION 2 -#define ENCODERS_PAD_A { C15 } -#define ENCODERS_PAD_B { C14 } #define TAP_CODE_DELAY 10 /* ADC - will be used for battery monitoring once BT support is added */ diff --git a/keyboards/ebastler/isometria_75/rev1/info.json b/keyboards/ebastler/isometria_75/rev1/info.json index a2a8c4e1d5..83061d92df 100644 --- a/keyboards/ebastler/isometria_75/rev1/info.json +++ b/keyboards/ebastler/isometria_75/rev1/info.json @@ -8,6 +8,11 @@ "pid": "0x1337", "device_version": "0.0.1" }, + "encoder": { + "rotary": [ + {"pin_a": "C15", "pin_b": "C14", "resolution": 2} + ] + }, "backlight": { "pin": "A9", "levels": 5, -- cgit v1.2.3