Gesture modifiers
Hi all,I want to capture mouse-down with the control modifier button pressed. So I use
:input-model '(((:button-1 :press :control) control-click-callback))
But any other modifier key happens to be pressed at the same time, the gesture-spec is never matched. This can of course be useful to separate between different actions for different modifiers, but it makes it very cumbersome to catch all control-clicks, as I have to specify every combination of modifier keys which includes the control key.
Basic combinatorics give 2^3 = 8 combinations:
control
control + alt
control + shift
control + alt + shift
control + hyper
control + hyper + alt
control + hyper + shift
control + hyper + alt + shift
There must be a better way! Is there something that I have missed?
Erik