The Framework Laptop 16 keyboard has the Framework logo printed onto the F12 key.
When holding Fn and tapping that key, F12 is sent.
When not holding Fn and tapping that key, https://fr.mw/FRANND001?src=startmenu is opened in a browser.
Using https://keyboard.frame.work I can assign e.g. F11 on layer 1 to that key, and then holding Fn and pressing that key will indeed send F11.
But any assignment on layer 0 will be ignored (it also has nothing assigned there by default) and not holding Fn and pressing that key will still open the mentioned URL in a browser.
I don’t need a random link hardwired to one of my keys. How can I change that key to do something else?
Note: I am aware that I can use Fn+Esc to swap the behavior of the F-keys in regards to whether Fn is held, but that breaks the bindings of the F11 key, so that is not an option for me.
Which OS (Operating System)?
Windows 10 22H2 19045.5198, but I doubt this is OS specific.
Can you post screenshots of your layers 0 through 3, plus any other layers if you’ve added additional ones?
It’s easiest to troubleshoot by seeing what Via (keyboard.frame.work) shows.
Assignments should be obeyed for F12 & it’s alt function. It’s not special in how it’s handled in keyboard firmware.
Just to be clear, you’re not in Fn-lock, right?
If you do not hold Fn, then these should be your key functions (by default at least)
On Windows, it defaults to opening your default media player, but Framework’s driver bundle rebinds it to open their site. Not sure why QMK isn’t respecting layer 0 (it should be…) but you should be able to modify what that key does using PowerToys. I believe there’s a registry option that changes what that specific scancode opens but I’m struggling to find it.
So far it seems that only layers 0 and 1 are used. I am surprised to see layers 2 and 3 having assignments. When are these used?
Just to be clear, you’re not in Fn-lock, right?
Correct. I am not using Fn-Lock at the moment.
If you do not hold Fn, then these should be your key functions (by default at least)
I have (through a lot of pain, I might add) swapped layer 0 and 1 assignments of F1 through F10. That’s because I want the Fn-Lock behavior of not having to hold Fn to get F-keys and having to hold Fn to get media keys, with the exception of Print, which I want to be able to press without holding Fn. But, as mentioned, Fn-Lock breaks the behavior of F11/Print for me, so I had to swap everything else around.
F1 through F11 work fine. It’s just F12 that ignores the assignment.
It can be configured through the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\16 registry key. I have mine set to calc.exe to open the calculator.
Layers 2 and 3 are your Fn-lock layers. When you use Fn+Esc to switch to Fn-lock, layer 2 becomes your base layer (instead of layer 0), and layer 3 is active when Fn is held down. Pressing Fn+Esc while in Fn-lock switches you back to normal, layer 0 as base, layer 1 active when Fn is held down. ▽ (downward arrow) on any key is KC_TRANSPARENT. And means that the keypress is passed through to the next lower level.
Try placing F12 on the F12 location in layer 2 and layer 3. The key currently shows as blank on your keymaps, but for some reason, Via doesn’t show the default media player key (KC_MSEL in the qmk firmware). Because you’ve swapped the F key mapping on layers 1 and 2, one can accidently get into Fn-lock and not be able to tell.
It can be configured through the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\16 registry key
This does not lend itself to a solution to my problem, but it’s helpful to know anyways! Thanks!
Layers 2 and 3 are your Fn-lock layers
Ah, I see, thanks!
Is this stuff documented (in an end-user-friendly way) anywhere?
When I click on the “Any” mapping in the “Special” section, the prompt is pre-filled with what corresponds to the last key that I clicked. The F12-key had KC_NO in layers 2 and 3 assigned. (And originally, it had KC_F12 and KC_NO in layers 0 and 1 (or 1 and 0; can’t remember now) assigned.)
Try placing F12 on the F12 location in layer 2 and layer 3
I tried assigning Calc (KC_CALC) to the F12-key in layers 0 through 3, but it still behaves exactly the same. F12 opens the page, Fn+F12 does F12, and it swaps with Fn-Lock.