Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755956AbYBIPod (ORCPT ); Sat, 9 Feb 2008 10:44:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752023AbYBIPoZ (ORCPT ); Sat, 9 Feb 2008 10:44:25 -0500 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:53641 "EHLO mtaout02-winn.ispmail.ntl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752004AbYBIPoY (ORCPT ); Sat, 9 Feb 2008 10:44:24 -0500 Date: Sat, 9 Feb 2008 15:43:41 +0000 From: Samuel Thibault To: Randy Dunlap Cc: torvalds@osdl.org, linux-input@vger.kernel.org, dtor@mail.ru, linux-kernel@vger.kernel.org Subject: Re: [PATCH] keyboard notifier documentation Message-ID: <20080209154341.GK4379@implementation> Mail-Followup-To: Samuel Thibault , Randy Dunlap , torvalds@osdl.org, linux-input@vger.kernel.org, dtor@mail.ru, linux-kernel@vger.kernel.org References: <20080209013322.GC4463@implementation> <20080208201253.46c068ed.randy.dunlap@oracle.com> <20080209114031.GC4379@implementation> <47ADC913.5010202@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47ADC913.5010202@oracle.com> User-Agent: Mutt/1.5.12-2006-07-14 X-Cloudmark-Analysis: v=1.0 c=1 a=vgUJB+MMWQXyFPPprAVJSw==:17 a=wxbPC3VYMzOCII7FtgsA:9 a=kNnW-TFOh-Wh4sI6zeSnsIWjt4MA:4 a=QJAqVYndk0IA:10 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1277 Lines: 35 Randy Dunlap, le Sat 09 Feb 2008 07:38:59 -0800, a ?crit : > 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. Ah oops, sorry misunderstood what you raised, I actually had fixed it in the second version. Thanks, Samuel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/