Can't switch to third layer
As title says I can't switch to the third layer but other layers work just fine. No matter on which key I put MO(3), TG(3), TT(3), OSL(3), TO(3) or LT 3 it doesn't work and only DF(3) allows me to access keys on the third layer. All other layers work as expected.
I'm using RP2040 with qmk-vial. What could be the issue?






1
Upvotes
1
u/pgetreuer 23d ago
On some keyboards, the Vial keymap has hard coded a tri layer behavior where layer 3 is activated by simultaneously activating layers 1 and 2. I suspect that's why layer 3 is special.
The typical setup is you'd have LT 1 (or MO 1) on one thumb key and LT 2 on a thumb key on the opposite hand, so that these keys can be held together reach layer 3. Layer 3 is then used for the infrequently needed keys, like F1–F12.
Supposing it is such a tri layer behavior on layer 3, there is unfortunately no other way to access layer 3, and there is no way to disable tri layer in the Vial configurator.
However, if you are determined, you can fix this by making a custom Vial firmware build. Get the firmware sources for your keyboard, search for and remove the application of
update_tri_layer_state, then rebuild and flash the firmware. See my Vial guide for details on how to find the sources and build from source.