CAPI now supports a portable way to detect key press and release gestures, by using
:key
in the
input-model
. This is different from using
:character
or
:gesture-spec
, because it captures the key and modifiers pressed or released, not the character that they would generate. It should only be used where you require low level access to the keyboard input. See the description of
input-model
in
capi:output-pane
for the details.