[Keyboard] Fixed bugs Wuque Mammoth Keyboard Series (#15700)
This commit is contained in:
parent
0fc1ae9e9c
commit
19fe7dcaaa
3 changed files with 16 additions and 4 deletions
|
@ -49,6 +49,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define ENCODERS_PAD_B { D2 }
|
#define ENCODERS_PAD_B { D2 }
|
||||||
|
|
||||||
#define ENCODERS 1
|
#define ENCODERS 1
|
||||||
|
|
||||||
|
#ifdef ENCODER_RESOLUTION
|
||||||
|
#undef ENCODER_RESOLUTION
|
||||||
|
#endif
|
||||||
|
#define ENCODER_RESOLUTION 2
|
||||||
|
|
||||||
// Note: array is { col, row )
|
// Note: array is { col, row )
|
||||||
#define ENCODERS_CW_KEY { { 3, 2 } }
|
#define ENCODERS_CW_KEY { { 3, 2 } }
|
||||||
#define ENCODERS_CCW_KEY { { 3, 4 } }
|
#define ENCODERS_CCW_KEY { { 3, 4 } }
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT(
|
||||||
KC_ESC, KC_PAUS, KC_DEL, KC_VOLU, KC_MUTE, KC_VOLD,
|
KC_ESC, KC_PAUS, KC_DEL, KC_VOLD, KC_MUTE, KC_VOLU,
|
||||||
KC_LNUM, KC_PSLS, KC_PAST, KC_PMNS,
|
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
KC_P7, KC_P8, KC_P9,
|
KC_P7, KC_P8, KC_P9,
|
||||||
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||||
KC_P1, KC_P2, KC_P3,
|
KC_P1, KC_P2, KC_P3,
|
||||||
|
|
|
@ -49,9 +49,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define ENCODERS_PAD_B { B1 }
|
#define ENCODERS_PAD_B { B1 }
|
||||||
|
|
||||||
#define ENCODERS 1
|
#define ENCODERS 1
|
||||||
|
|
||||||
|
#ifdef ENCODER_RESOLUTION
|
||||||
|
#undef ENCODER_RESOLUTION
|
||||||
|
#endif
|
||||||
|
#define ENCODER_RESOLUTION 2
|
||||||
|
|
||||||
// Note: array is { col, row )
|
// Note: array is { col, row )
|
||||||
#define ENCODERS_CW_KEY { { 5, 5 } }
|
#define ENCODERS_CW_KEY { { 3, 5 } }
|
||||||
#define ENCODERS_CCW_KEY { { 3, 5 } }
|
#define ENCODERS_CCW_KEY { { 5, 5 } }
|
||||||
|
|
||||||
#define LED_CAPS_LOCK_PIN B6
|
#define LED_CAPS_LOCK_PIN B6
|
||||||
#define LED_PIN_ON_STATE 0
|
#define LED_PIN_ON_STATE 0
|
||||||
|
|
Loading…
Reference in a new issue