Fixup dumbpad/v3x (#18692)
This commit is contained in:
parent
6829476fb7
commit
474c0bc8a2
|
@ -16,15 +16,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "config_common.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* Column/Row IO definitions */
|
/* Column/Row IO definitions */
|
||||||
#define MATRIX_ROWS 4
|
#define MATRIX_ROWS 4
|
||||||
#define MATRIX_COLS 5
|
#define MATRIX_COLS 5
|
||||||
#define MATRIX_ROW_PINS { F4, F5, F6, F7 }
|
#define MATRIX_ROW_PINS { F4, F5, F6, F7 }
|
||||||
#define MATRIX_COL_PINS { C6, D7, E6, B4, B5 }
|
#define MATRIX_COL_PINS { C6, D7, E6, B4, B5 }
|
||||||
#define UNUSED_PINS
|
|
||||||
|
|
||||||
/* Single rotary encoder */
|
/* Single rotary encoder */
|
||||||
#define ENCODERS_PAD_A { B2 }
|
#define ENCODERS_PAD_A { B2 }
|
||||||
|
@ -40,7 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define BOOTMAGIC_LITE_COLUMN 0
|
#define BOOTMAGIC_LITE_COLUMN 0
|
||||||
|
|
||||||
#define RGB_DI_PIN D1
|
#define RGB_DI_PIN D1
|
||||||
#define DRIVER_LED_TOTAL 16
|
#define RGB_MATRIX_LED_COUNT 16
|
||||||
|
|
||||||
// Cleanup RGB
|
// Cleanup RGB
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
|
|
@ -50,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
\-----------------------------------------------------'
|
\-----------------------------------------------------'
|
||||||
*/
|
*/
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT(
|
||||||
RGB_TOG, RGB_VAD, RGB_VAI, RESET,
|
RGB_TOG, RGB_VAD, RGB_VAI, QK_BOOT,
|
||||||
KC_NO, RGB_HUD, RGB_HUI, KC_NO,
|
KC_NO, RGB_HUD, RGB_HUI, KC_NO,
|
||||||
KC_NO, RGB_SAD, RGB_SAI, KC_NO,
|
KC_NO, RGB_SAD, RGB_SAI, KC_NO,
|
||||||
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
|
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
|
||||||
|
@ -77,5 +77,5 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
\-----------------------------------------------------'
|
\-----------------------------------------------------'
|
||||||
*/
|
*/
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT(
|
||||||
RGB_TOG, RGB_VAD, RGB_VAI, RESET,
|
RGB_TOG, RGB_VAD, RGB_VAI, QK_BOOT,
|
||||||
KC_NO, RGB_HUD, RGB_HUI, KC_NO,
|
KC_NO, RGB_HUD, RGB_HUI, KC_NO,
|
||||||
KC_NO, RGB_SAD, RGB_SAI, KC_NO,
|
KC_NO, RGB_SAD, RGB_SAI, KC_NO,
|
||||||
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
|
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
|
||||||
|
@ -100,5 +100,5 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
\-----------------------------------------------------'
|
\-----------------------------------------------------'
|
||||||
*/
|
*/
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT(
|
||||||
RGB_TOG, RGB_VAD, RGB_VAI, RESET,
|
RGB_TOG, RGB_VAD, RGB_VAI, QK_BOOT,
|
||||||
KC_NO, RGB_HUD, RGB_HUI, KC_NO,
|
KC_NO, RGB_HUD, RGB_HUI, KC_NO,
|
||||||
KC_NO, RGB_SAD, RGB_SAI, KC_NO,
|
KC_NO, RGB_SAD, RGB_SAI, KC_NO,
|
||||||
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
|
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
|
||||||
|
@ -77,5 +77,5 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue