Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932471Ab1BYKCS (ORCPT ); Fri, 25 Feb 2011 05:02:18 -0500 Received: from www.piware.de ([213.9.93.70]:44200 "EHLO mail.piware.de" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754271Ab1BYKCR (ORCPT ); Fri, 25 Feb 2011 05:02:17 -0500 X-Greylist: delayed 498 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Feb 2011 05:02:16 EST Date: Fri, 25 Feb 2011 10:53:56 +0100 From: Martin Pitt To: =?iso-8859-1?Q?Keng-Y=FC?= Lin Cc: Dmitry Torokhov , Corentin Chary , Matthew Garrett , acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, tyson.chen@canonical.com Subject: Re: [PATCH] eeepc-wmi: set the touchpad toggle key code to F21 Message-ID: <20110225095356.GA2681@piware.de> References: <1298611140-21573-1-git-send-email-keng-yu.lin@canonical.com> <20110225071827.GA14053@core.coreip.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Content-Length: 727 Lines: 18 Keng-Y? Lin [2011-02-25 17:22 +0800]: > Can udev re-map a key code to another? Not directly, as udev itself doesn't actually process the input events. It just pokes the scan code -> keycode map into the kernel. What it can do is to re-map an existing key (scan code) to a different key code, which provides the same effect in most cases. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- 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/