Oh I wasn't aware of Vial. Thank you for introducing me. I'm using Cheapino so its not supported but I'll see if I can make it.
Hey all,
Wondering if its possible to keep keymap in keymap.json while using the tapdance and some other custom code for hold functions in keymap.c
? Having the keymap.json makes it possible to use online configurator which makes changes very easy.
I've used qmk c2json
but it doesn work with all keys so just wondering if there is a way to keep using keymap.json
while having custom code for tapdance etc in keymap.c
Thank you
Digging some more, I found out that this happens only on the side that has encoder. Holding the layer keys that are on the micro-controller side and rotation encoder yields expected results. So I'm guessing its something to do with the matrix fix. My C isn't that sharp so I'll try to dig through and see what I can find.
cool thanks, I started with that and has already started modifying the layout
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.
We were talking about it for a bit but didn't want to spend all the time figuring out things. So when we came across Cheapino, my friend was like fuck it let's do this and it happened.
![the background blur](https://lemmy.ca/pictrs/image/8cd9d4c5-cbc9-403d-b614-754eea6650e4.jpeg?thumbnail=256&format=webp)
![](https://lemmy.ca/pictrs/image/8cd9d4c5-cbc9-403d-b614-754eea6650e4.jpeg?thumbnail=1024&format=webp)
Did my very first custom keyboard. Thank you @Tompi@discuss.tchncs.de for the amazing project. Question for folks familiar with QMK, when I used encoder (rotate it) it switches to the default(0) layer even if I keep holding the layer switch key. Any way around it? Here is the code if anyone is curious.
Curious, how well rollers work in that location? Are you using index finger or thumbs for those?
No mention if it works with DoT. Would much prefer Firefox keeping first party support for DoT as much as DoH. Ad/malware blocking becomes a nightmare with DoH.
Maybe try looking it up.
Electric resistance heating is 100% energy efficient in the sense that all the incoming electric energy is converted to heat
Baseboard heating is 100% efficient but heat pumps can be up to 400% efficient. Depending on model and outside temperature. This is because hear pump is not generating heat its just moving it from one place to another. In AC mode from inside to outside of house and in heating mode from outside to inside.
I would recommend Adguard instead of pihole. It's a lot lighter, and being written in go its very efficient.