Fixup dumbpad/v3x (#18692)

This commit is contained in:
jack 2022-10-13 11:26:42 -06:00 committed by GitHub
parent 6829476fb7
commit 474c0bc8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 11 deletions

View File

@ -16,15 +16,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* Column/Row IO definitions */
#define MATRIX_ROWS 4
#define MATRIX_COLS 5
#define MATRIX_ROW_PINS { F4, F5, F6, F7 }
#define MATRIX_COL_PINS { C6, D7, E6, B4, B5 }
#define UNUSED_PINS
/* Single rotary encoder */
#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 RGB_DI_PIN D1
#define DRIVER_LED_TOTAL 16
#define RGB_MATRIX_LED_COUNT 16
// Cleanup RGB
#ifdef RGB_MATRIX_ENABLE

View File

@ -50,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
\-----------------------------------------------------'
*/
[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_SAD, RGB_SAI, KC_NO,
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
@ -77,5 +77,5 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
break;
}
return true;
return false;
}

View File

@ -57,7 +57,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
\-----------------------------------------------------'
*/
[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_SAD, RGB_SAI, KC_NO,
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
@ -100,5 +100,5 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
break;
}
return true;
return false;
}

View File

@ -50,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
\-----------------------------------------------------'
*/
[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_SAD, RGB_SAI, KC_NO,
KC_NO, _______, RGB_SPD, RGB_SPI, KC_NO
@ -77,5 +77,5 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
break;
}
return true;
return false;
}