Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935344AbZDIPcY (ORCPT ); Thu, 9 Apr 2009 11:32:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758353AbZDIPcM (ORCPT ); Thu, 9 Apr 2009 11:32:12 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:60309 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753517AbZDIPcL (ORCPT ); Thu, 9 Apr 2009 11:32:11 -0400 Date: Thu, 9 Apr 2009 16:32:03 +0100 From: Matthew Garrett To: Rafi Rubin Cc: Len Brown , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Additional keys for dell-wmi Message-ID: <20090409153203.GB17194@srcf.ucam.org> References: <200904082116.n38LG4Df012420@ampersand.seas.upenn.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200904082116.n38LG4Df012420@ampersand.seas.upenn.edu> User-Agent: Mutt/1.5.12-2006-07-14 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@codon.org.uk X-SA-Exim-Scanned: No (on vavatch.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 596 Lines: 17 On Wed, Apr 08, 2009 at 05:16:04PM -0400, Rafi Rubin wrote: > static struct key_entry dell_wmi_keymap[] = { > {KE_KEY, 0xe045, KEY_PROG1}, > + {KE_KEY, 0xe046, KEY_PROG2}, > + {KE_KEY, 0xe047, KEY_PROG3}, Would this make more sense as a switch? That way userspace can know what state the screen is in. -- Matthew Garrett | mjg59@srcf.ucam.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/