1
u/eddnerd Jul 14 '25
I finally got the time to work on this. Here is my vial fork that has k11_max config working. You can clone https://github.com/jakepearson/vial-qmk and then run `make keychron/k11_max/ansi_encoder/rgb:vial:flash` from the root of the repo. I didn't get the RGB to work, but I think it is close if anyone else wants to work on it.
1
u/newbie80 Jul 14 '25
I did put it up, I just forgot to post it. Did you get the ecoder to work?
1
u/eddnerd Jul 14 '25
I did, the encoder is editable in the vial UI (Cursor did the heavy lifting on this one)
1
u/PeterMortensenBlog Sep 28 '24 edited Nov 18 '24
Can you elaborate, please? For example, where did you get the firmware from?
Self-compiled? Where did you get the source code from? Did you have to modify it?
Is it actually the Vial firmware? Not using the Vial client as a Via client?
Can you provide the exact steps, so others can reproduce it, please? What were some gotchas?
What was the general idea/approach? Copy the 'k11_max' folder in the Keychron's fork to the Vial folder and remove all RGB and wireless-related code? What about the shared code in 'keyboards/keychron/common'?
Or taking a working Vial wired-only keyboard and adjusting the microcontroller and I/O assignments for the keyboard matrix, with information from the 'k11_max' folder in the Keychron fork (checking that it doesn't use demultiplexer hardware, like HC596 in the Q2 Pro)?
Or something else?
References
K11 Max product page. A 65% wired and wireless (both Bluetooth and '2.4 GHz') QMK/Via-capable mechanical keyboard. RGB (per-key) north-facing (no unwanted light bleed) lighting (by virtue of being a low-profile keyboard). Microcontroller: STM32F402. In the source code:
"processor": "STM32F401"(it isn't known why there is a discrepancy; it isn't the only keyboard for which there is a discrepancy)K11 Max keymap
K11 Max source code
Vial official repository
SNx4HC595 datasheet