diff options
Diffstat (limited to 'keyboards/helix/rev2/config.h')
-rw-r--r-- | keyboards/helix/rev2/config.h | 42 |
1 files changed, 3 insertions, 39 deletions
diff --git a/keyboards/helix/rev2/config.h b/keyboards/helix/rev2/config.h index 491675d45d..1d71636757 100644 --- a/keyboards/helix/rev2/config.h +++ b/keyboards/helix/rev2/config.h @@ -32,38 +32,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define OLED_UPDATE_INTERVAL 50 -/* Select rows configuration */ -// Rows are 4 or 5 -// #define HELIX_ROWS 5 see ./rules.mk - -/* key matrix size */ -// Rows are doubled-up -#if HELIX_ROWS == 4 - #define MATRIX_ROWS 8 - #define MATRIX_ROW_PINS { D4, C6, D7, E6 } -#else - #define MATRIX_ROWS 10 - #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } -#endif - -// wiring of each half -#define MATRIX_COLS 7 -#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 } -// #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - -//#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h - // Helix keyboard RGB LED support // see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes #ifdef RGBLED_BACK - #if MATRIX_ROWS == 8 // HELIX_ROWS == 4 - #define RGBLED_NUM 25 - #else - #define RGBLED_NUM 32 - #endif + #define RGBLED_NUM 32 #else #define RGBLED_NUM 6 #endif @@ -72,22 +44,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #if RGBLED_NUM <= 6 #define RGBLIGHT_LIMIT_VAL 255 #else - #if MATRIX_ROWS == 8 // HELIX_ROWS == 4 - #define RGBLIGHT_LIMIT_VAL 130 - #else - #define RGBLIGHT_LIMIT_VAL 120 - #endif + #define RGBLIGHT_LIMIT_VAL 120 #endif #define RGBLIGHT_VAL_STEP 17 #else #if RGBLED_NUM <= 6 #define RGBLIGHT_LIMIT_VAL 90 #else - #if MATRIX_ROWS == 8 // HELIX_ROWS == 4 - #define RGBLIGHT_LIMIT_VAL 45 - #else - #define RGBLIGHT_LIMIT_VAL 35 - #endif + #define RGBLIGHT_LIMIT_VAL 35 #endif #define RGBLIGHT_VAL_STEP 4 #endif |