Any way to detect if both Fn keys are being held at the same time?

I’d like to have a new layer of keys be activated, but only when both the Fn keys are held down at the same time. Is this possible to do? I was taking a quick look at the documentation and available scancodes but this wasn’t immediately obvious.

Have both Fn keys be a ShiftToLayer(FN), and on the FN layer, map the same positions to another layer (lets call it THIRD), by replacing the transparent keys in the Fn position with ShiftToLayer(THIRD).

If you press the left Fn key, it will switch to the FN layer, if you then press the right one, it will switch further to THIRD. The other way around works the same. The only time it does not work is when you press both keys in the same cycle (might work in that case too, but… that’s a bit of a stretch).

Hope this helps!

1 Like

As usual, I overthink what should be a simple solution. Exactly what I needed, thank you.

k I tried this, not sure if it’s my code or a bug yet but it partially works

my left fn is a numpad layer, the right is a function layer

my numpad layer right fn shifts to mouselayer, this works

my fn layer left fn is mapped to a macro layer, this doesn’t work

I’m also using space cadet

Try using the MagicCombo plugin for this. I found it is the best solution.