Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754194AbZK2E7Z (ORCPT ); Sat, 28 Nov 2009 23:59:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754135AbZK2E7Y (ORCPT ); Sat, 28 Nov 2009 23:59:24 -0500 Received: from mail-yx0-f188.google.com ([209.85.210.188]:59245 "EHLO mail-yx0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754109AbZK2E7X (ORCPT ); Sat, 28 Nov 2009 23:59:23 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Sf/zsqJxgcsgjEA/0PZBMMsmbGW2u3LnRIWACwqIKaEf/rgjvGZ8eC/8c/jJ8rt+OB cpwznFmTS7399oli2aPXJoz3fIDAhpSGZIumsD+4OAzxddLWsDVM56FO533jUZiAQlTN iSiuBnBJCT6vR/MLsMLPEBYBPolyVplTokhNM= Date: Sat, 28 Nov 2009 20:59:25 -0800 From: Dmitry Torokhov To: Jon Smirl Cc: Stefan Richter , Christoph Bartelmus , khc@pm.waw.pl, awalls@radix.net, j@jannau.net, jarod@redhat.com, jarod@wilsonet.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, maximlevitsky@gmail.com, mchehab@redhat.com, superm1@ubuntu.com Subject: Re: [RFC] What are the goals for the architecture of an in-kernel IR system? Message-ID: <20091129045925.GS6936@core.coreip.homeip.net> References: <9e4733910911280906if1191a1jd3d055e8b781e45c@mail.gmail.com> <4B116954.5050706@s5r6.in-berlin.de> <9e4733910911281058i1b28f33bh64c724a89dcb8cf5@mail.gmail.com> <4B117DEA.3030400@s5r6.in-berlin.de> <9e4733910911281208t23c938a2l7537e248e1eda4ae@mail.gmail.com> <4B11881B.7000204@s5r6.in-berlin.de> <9e4733910911281246r65670e1free76e98ff4a23822@mail.gmail.com> <4B119A36.8020903@s5r6.in-berlin.de> <9e4733910911281410i75bf19b7xa4dfd6ad1dc1b748@mail.gmail.com> <9e4733910911281418s702489e5t418eab5623c2af98@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e4733910911281418s702489e5t418eab5623c2af98@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 848 Lines: 21 On Sat, Nov 28, 2009 at 05:18:34PM -0500, Jon Smirl wrote: > I'm looking at a Sony multi-function remote right now. It has five > devices and forty keys. Each of the five devices can transmit 0-9, > power, volume, etc. It transmits 5*40 = 200 unique scancodes. > > I want the five devices to correspond to five apps. What's the plan > for splitting those 200 scancodes into the five apps? > > I did it by creating five evdev devices each mapping 40 scancodes. > That's lets me reuse KP_1 for each of the five apps. > KEY_NUMERIC_1 please (which should not be affected by numlock state). -- Dmitry -- 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/