• 2 Posts
  • 12 Comments
Joined 3 years ago
cake
Cake day: July 19th, 2023

help-circle
  • nebula@lemmy.catoSelfhosted@lemmy.worldk8s storage (CSI)
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    27 days ago

    It’s great, I spent 2 years finding perfect CSI for homelab and landed on Piraeus. The best part is you get full read performance of your local disk so I didn’t have to use 10G, write are limited by network link between nodes. But that hasn’t been a problem for me. Also, they’re super responsive for any issues/bugs you hit.

    Let me know if you have any specific questions about this.







  • The function of the encoder is custom code, you need to Edit the encoder.c file to tweak it.

    yeap, found it but the issue is that when encoder is rotated, it switches back to default layer. So, the code to use different things in different layers doesnt work. This is the code I have:

    void turned(bool clockwise) {
        if (IS_LAYER_ON(0)) {
            tap_code16(clockwise ? LCTL(KC_PGDN) : LCTL(KC_PGUP));
        } 
        else if (IS_LAYER_ON(1)) {
            tap_code(clockwise ? KC_VOLU : KC_VOLD);
        } 
        else if (IS_LAYER_ON(2)) {
            tap_code16(clockwise ? LALT(KC_TAB) : LALT(LSFT(KC_TAB)));
        } 
        else if (IS_LAYER_ON(5)) {
            tap_code(clockwise ? KC_MS_WH_DOWN : KC_MS_WH_UP);
        }
        // else {
        //     tap_code16(clockwise ? LGUI(KC_Y) : LGUI(KC_Z));
        // }
    }
    
    

    P.s. You know you can tweak the led? Turn it off/change color and brightness, all using the qmk rgb keys. (Just wondered if the thing on top is to dim the light:)

    Haha…yeap thats exactly what it was for, #define RGBLIGHT_LIMIT_VAL 2 helped me solve it.