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

(Siew Yi Liang) #1

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.

(Gergely Nagy) #2

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!

(Siew Yi Liang) #3

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