Input Model
Hi all, After a few hours digging into output-pane's input-model, it's still very confusing to me. I want to be able to dispatch actions directly from the input model when the user press different combination of keys with their associated modifiers (and not later in the callback). what i did : ------------ (defun cb (pane x y key gesture) (capi:display-message "cb called")) (capi:contain (make-instance 'capi:output-pane :input-model '(((#\r) cb)))) ==> OK (capi:contain (make-instance 'capi:output-pane :input-model '(((#\r :control) cb)))) ==> In LOGIOR of (#\r 1048576) arguments should be of type INTEGER. NOTE : According to my understanding of the doc (i'm not an english native speaker as you could guess...) this should be possible. (capi:contain (make-instance 'capi:output-pane :input-model '(((:gesture-spec #\r :control) cb)))) ==> OK, there is no more distinction between #\r and #\R (capi:contain (make-instance 'capi:output-pane :input-model '(((:gesture-spec #\r :shift) cb)))) ==> NOTHING HAPPENS ??? Is there anybody that knows how all this function ? Sebastien.