I would like to setup keyboard shortcuts with other keys that traditional modifier keys, as modifier keys.
example : bind "f1-left"
( so F1+←) to a command.
But not bind the sequence F1 ← to the command like explained in this answer : Using function keys as "sticky" modifier keys
is that something possible in emacs ?
I see commands such as
(define-key function-key-map [f8] 'event-apply-super-modifier)
but is there a command binding on press and on release events ? like a "define-key-press" "define-key-release" ?
If so we could bind a command event-apply-super-modifier
when f1 is pressed and event-release-super-modifier
when f1 is released.