From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH] keyboard notifier documentation Date: Sat, 9 Feb 2008 11:40:31 +0000 Message-ID: <20080209114031.GC4379@implementation> References: <20080209013322.GC4463@implementation> <20080208201253.46c068ed.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]:24030 "EHLO mtaout01-winn.ispmail.ntl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752745AbYBILkg (ORCPT ); Sat, 9 Feb 2008 06:40:36 -0500 Content-Disposition: inline In-Reply-To: <20080208201253.46c068ed.randy.dunlap@oracle.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Randy Dunlap Cc: torvalds@osdl.org, linux-input@vger.kernel.org, dtor@mail.ru, linux-kernel@vger.kernel.org Randy Dunlap, le Fri 08 Feb 2008 20:12:53 -0800, a =E9crit : > On Sat, 9 Feb 2008 01:33:22 +0000 Samuel Thibault wrote: > > +- 'vc' always provide the VC for which the keyboard event applies=A0= ; > > +- 'down' is 1 for a key press event, 0 for a key release=A0; > > +- 'shift' is the current modifier state, mask bit indexes are KG_*= =A0; >=20 > 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 NOTIF= Y_STOP in > > +order to "eat" the event: the notify loop is stopped and the keybo= ard event is > > +dropped. > > + > > +I a rough C snippet, we have: >=20 > 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