I tried to simulate keypress by Xlib, but I can't find out where Fn key was defined in " keysymdef.h ".
If it really wasn't defined in Xlib, are there any workarounds for it ?
Fn works differently from modifiers such as Shift: it's typically caught inside the keyboard controller or in the BIOS, and the combined (Fn + other) keypress is sent over the bus as a single signal. That means that X11, or the OS for that matter, doesn't even get to see that Fn was pressed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With