Re: [PATCH] keyboard notifier documentation

From: Randy Dunlap
Date: Sat Feb 09 2008 - 10:43:38 EST


Samuel Thibault wrote:
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 ;
+- 'down' is 1 for a key press event, 0 for a key release ;
+- 'shift' is the current modifier state, mask bit indexes are KG_* ;
No space before the ';' (3 times).

Well, as expected in French... I'll fix that.

+For each kind of event but the last, the callback may return NOTIFY_STOP in
+order to "eat" the event: the notify loop is stopped and the keyboard event is
+dropped.
+
+I a rough C snippet, we have:
In a rough (?)

Yes, rough as "something that a C compiler will never accept, but that
you, human, will make sense out of it".

so s/I/In/ please.

--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/