Re: [PATCH] keyboard notifier documentation
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: 2008-02-09 11:40:45
Also in:
lkml
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: 2008-02-09 11:40:45
Also in:
lkml
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:quoted
+- '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.
quoted
+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". Samuel - To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html