Open davidsu opened 4 years ago
Fn key isn't seen by the OS. It can't be done with any software unless it's a configurable keyboard that has an app that modifies the firmware.
I take that back this must be dependent on keyboard. My Apple (full size keyboard, wired, older model but has slim profile) keyboard has a fn
key (next to page up, page down, etc) and it definitely comes across as a discrete KEY_FN
.
I think many laptop keyboards this is NOT the case though, so your mileage may very.
@davidsu This is now possible on my fork IF you have a keyboard that sends Fn as a discrete keycode... (or would send those combos as discrete keycodes) https://github.com/joshgoebel/xkeysnail
You'd need to test each of those combos with evtest
and make sure they all generate mappable key events.
I'd like to have
fn-[hjkl]
forhome|pageup|pagedown|end
, can it be done?