evremap icon indicating copy to clipboard operation
evremap copied to clipboard

cant remap CAPSLOCK to FN

Open luccahuguet opened this issue 2 years ago • 2 comments

this is my current config

phys = "5c:c9:d3:7d:6d:0f"

[[remap]]
input = ["KEY_CAPSLOCK"]
output = ["KEY_FN"]

i need FN combinations for several commands such as fn + } = END, which is how my keyb works, but the remap as it is only removes the capslock function of the capslock key, without adding the fn funcion

have you got an idea of what could be the problem?

luccahuguet avatar May 13 '23 17:05 luccahuguet

I'd suggest starting evremap with EVREMAP_LOG=trace set in the environment to trace the events that are generated when you press keys and verify what events happen when you use the Fn key and also the Fn key combinations you're interested in, and then use that as the basis of your remapping configuration.

wez avatar May 30 '23 02:05 wez

will try that, thank you

luccahuguet avatar Jun 04 '23 22:06 luccahuguet

FWIW, you can now use evremap debug-events --phys 5c:c9:d3:7d:6d:0f in main for a slightly more convenient way to debug key presses.

wez avatar Jun 09 '24 14:06 wez

FWIW, you can now use evremap debug-events --phys 5c:c9:d3:7d:6d:0f in main for a slightly more convenient way to debug key presses.

cool, ty for the info

luccahuguet avatar Jun 11 '24 18:06 luccahuguet