Skip to content

Commit

Permalink
kimiko: mirror encoder pins between halves (qmk#21728)
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrahan authored and csolje committed Oct 21, 2023
1 parent b9f0ec0 commit 6dc72ff
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
4 changes: 4 additions & 0 deletions keyboards/keycapsss/kimiko/keymaps/default/glcdfont.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2019 MechMerlin
// Copyright 2020 @ben_roe (keycapsss.com)
// SPDX-License-Identifier: GPL-2.0-or-later

#include "progmem.h"

// Corne 8x6 font
Expand Down
10 changes: 5 additions & 5 deletions keyboards/keycapsss/kimiko/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,11 @@ bool oled_task_user(void) {

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_QWERTY] = { ENCODER_CCW_CW(KC_UP, KC_DOWN), ENCODER_CCW_CW(KC_RGHT, KC_LEFT) },
[_LOWER] = { ENCODER_CCW_CW(KC_TAB, RGB_HUI), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) },
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[_ADJUST] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_HUI, RGB_HUD) },
[_QWERTY] = { ENCODER_CCW_CW(KC_DOWN, KC_UP), ENCODER_CCW_CW(KC_LEFT, KC_RGHT) },
[_LOWER] = { ENCODER_CCW_CW(RGB_HUI, KC_TAB), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[_ADJUST] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
};
#endif // ENCODER_MAP_ENABLE
#endif // ENCODER_MAP_ENABLE


11 changes: 9 additions & 2 deletions keyboards/keycapsss/kimiko/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F4", "pin_b": "F5"}
{"pin_a": "F5", "pin_b": "F4"}
]
},
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "D2",
"encoder": {
"right": {
"rotary": [
{"pin_a": "F4", "pin_b": "F5"}
]
}
}
},
"rgblight": {
"led_count": 60,
Expand Down

0 comments on commit 6dc72ff

Please sign in to comment.