From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932297AbbJ0JF6 (ORCPT ); Tue, 27 Oct 2015 05:05:58 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34572 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932267AbbJ0JFz (ORCPT ); Tue, 27 Oct 2015 05:05:55 -0400 Date: Tue, 27 Oct 2015 02:05:52 -0700 From: Dmitry Torokhov To: =?iso-8859-1?Q?B=E1lint?= Czobor Cc: Mark Brown , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Mike Lockwood Subject: Re: [PATCH 1/3] input: keychord: Add keychord driver Message-ID: <20151027090552.GB12315@dtor-ws> References: <1445935647-5799-1-git-send-email-czoborbalint@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1445935647-5799-1-git-send-email-czoborbalint@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 27, 2015 at 09:47:26AM +0100, Bálint Czobor wrote: > From: Mike Lockwood > > This driver allows userspace to receive notification when client > specified key combinations are pressed. > The client opens /dev/keychord and writes a list of keychords > for the driver to monitor. > The client then reads or polls /dev/keychord for notifications. > A client specified ID for the keychord is returned from read() > when a keychord press is detected. > > Signed-off-by: Mike Lockwood > > keychord: fix to build without CONFIG_PREEMPT Why does this need to be in the kernel? Thanks. -- Dmitry