From patchwork Mon Feb 7 16:53:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chris schlund X-Patchwork-Id: 538361 X-Patchwork-Delegate: jikos@jikos.cz Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p17GrEc2008955 for ; Mon, 7 Feb 2011 16:53:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754213Ab1BGQxN (ORCPT ); Mon, 7 Feb 2011 11:53:13 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:35596 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752745Ab1BGQxN (ORCPT ); Mon, 7 Feb 2011 11:53:13 -0500 Received: (qmail invoked by alias); 07 Feb 2011 16:53:10 -0000 Received: from 109.125.104.142.dynamic.cablesurf.de (EHLO [192.168.0.194]) [109.125.104.142] by mail.gmx.net (mp071) with SMTP; 07 Feb 2011 17:53:10 +0100 X-Authenticated: #3027100 X-Provags-ID: V01U2FsdGVkX19V7x4TTeJVey/w2vrv/NEIP9peVM+QvO/CooJJkQ yKCCFo+AofNrnY Message-ID: <4D502376.5040505@gmx.de> Date: Mon, 07 Feb 2011 17:53:10 +0100 From: Chris Schlund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Jiri Kosina CC: linux-input@vger.kernel.org Subject: Re: Re: [PATCH] hid kernel module for wireless remote LC Power model RC1000MCE References: <4D4019EC.8060301@gmx.de> In-Reply-To: X-Y-GMX-Trusted: 0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 07 Feb 2011 16:53:14 +0000 (UTC) diff -urN linux-2.6.37/drivers/hid/hid-lcpower.c linux/drivers/hid/hid-lcpower.c --- linux-2.6.37/drivers/hid/hid-lcpower.c 2011-02-07 17:31:49.000000000 +0100 +++ linux/drivers/hid/hid-lcpower.c 2011-02-07 17:32:50.000000000 +0100 @@ -30,8 +30,8 @@ switch (usage->hid & HID_USAGE) { case 0x046: ts_map_key_clear(KEY_YELLOW); break; case 0x047: ts_map_key_clear(KEY_GREEN); break; - case 0x049: ts_map_key_clear(KEY_RED); break; - case 0x04a: ts_map_key_clear(KEY_BLUE); break; + case 0x04a: ts_map_key_clear(KEY_RED); break; + case 0x049: ts_map_key_clear(KEY_BLUE); break; case 0x00d: ts_map_key_clear(KEY_HOME); break; case 0x025: ts_map_key_clear(KEY_TV); break; case 0x048: ts_map_key_clear(KEY_VCR); break;