summaryrefslogtreecommitdiff
path: root/keyboards/ramonimbao/herringbone/pro/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ramonimbao/herringbone/pro/keymaps')
-rw-r--r--keyboards/ramonimbao/herringbone/pro/keymaps/default/keymap.c3
-rw-r--r--keyboards/ramonimbao/herringbone/pro/keymaps/iso/keymap.c3
-rw-r--r--keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c7
3 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/ramonimbao/herringbone/pro/keymaps/default/keymap.c b/keyboards/ramonimbao/herringbone/pro/keymaps/default/keymap.c
index ac3c11e699..a04192a3e4 100644
--- a/keyboards/ramonimbao/herringbone/pro/keymaps/default/keymap.c
+++ b/keyboards/ramonimbao/herringbone/pro/keymaps/default/keymap.c
@@ -80,7 +80,7 @@ static void render_pattern(void) {
}
}
-void oled_task_user(void) {
+bool oled_task_user(void) {
// Render Herringbone pattern
render_pattern();
oled_render();
@@ -94,5 +94,6 @@ void oled_task_user(void) {
oled_set_cursor(0, 2);
oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);
oled_render();
+ return false;
}
#endif
diff --git a/keyboards/ramonimbao/herringbone/pro/keymaps/iso/keymap.c b/keyboards/ramonimbao/herringbone/pro/keymaps/iso/keymap.c
index 3409fbc16e..6d280905dc 100644
--- a/keyboards/ramonimbao/herringbone/pro/keymaps/iso/keymap.c
+++ b/keyboards/ramonimbao/herringbone/pro/keymaps/iso/keymap.c
@@ -80,7 +80,7 @@ static void render_pattern(void) {
}
}
-void oled_task_user(void) {
+bool oled_task_user(void) {
// Render Herringbone pattern
render_pattern();
oled_render();
@@ -94,5 +94,6 @@ void oled_task_user(void) {
oled_set_cursor(0, 2);
oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);
oled_render();
+ return false;
}
#endif
diff --git a/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c b/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c
index 5c97a3fb83..71622cddcf 100644
--- a/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c
+++ b/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c
@@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_NO, KC_SPC, KC_NO, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_all(
- RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
@@ -88,12 +88,14 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
encoder_cw.pressed = true;
encoder_cw.time = (timer_read() | 1);
action_exec(encoder_cw);
+ wait_ms(20);
anim_sleep = timer_read32();
oled_on();
} else {
encoder_ccw.pressed = true;
encoder_ccw.time = (timer_read() | 1);
action_exec(encoder_ccw);
+ wait_ms(20);
anim_sleep = timer_read32();
oled_on();
}
@@ -132,7 +134,7 @@ static void render_pattern(void) {
}
}
-void oled_task_user(void) {
+bool oled_task_user(void) {
// Render Herringbone pattern
render_pattern();
oled_render();
@@ -146,5 +148,6 @@ void oled_task_user(void) {
oled_set_cursor(0, 2);
oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);
oled_render();
+ return false;
}
#endif