Randy Dunlap, le Fri 08 Feb 2008 20:12:53 -0800, a écrit :On Sat, 9 Feb 2008 01:33:22 +0000 Samuel Thibault wrote:+- 'vc' always provide the VC for which the keyboard event applies ;No space before the ';' (3 times).
+- 'down' is 1 for a key press event, 0 for a key release ;
+- 'shift' is the current modifier state, mask bit indexes are KG_* ;
Well, as expected in French... I'll fix that.
+For each kind of event but the last, the callback may return NOTIFY_STOP inIn a rough (?)
+order to "eat" the event: the notify loop is stopped and the keyboard event is
+dropped.
+
+I a rough C snippet, we have:
Yes, rough as "something that a C compiler will never accept, but that
you, human, will make sense out of it".