From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] eeepc-wmi: Add support for T101MT "Express Gate" key Date: Fri, 25 Mar 2011 09:07:02 -0700 Message-ID: <20110325160702.GB5099@core.coreip.homeip.net> References: <1300909189-4135-1-git-send-email-seth.forshee@canonical.com> <20110324131414.GA20612@thinkpad-t410> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:33933 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753973Ab1CYQHH (ORCPT ); Fri, 25 Mar 2011 12:07:07 -0400 Content-Disposition: inline In-Reply-To: Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Chris Bagwell Cc: Corentin Chary , Matthew Garrett , acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Seth Forshee On Thu, Mar 24, 2011 at 09:00:14AM -0500, Chris Bagwell wrote: > On Thu, Mar 24, 2011 at 8:40 AM, Corentin Chary > wrote: > >> I would suggest sending BTN_HOME upon button release 0xe5 (not pre= ss > >> 0xe4 and do the autorelease because of it) and BTN_PROG2 on > >> press-and-hold 0xea. > >> > >> If you press-and-hold, does it still send the 0xe5 upon release? =A0= That > >> could complicate things so that both button events do not get sent= =2E > >> > >> I'm not sure what BTN_HOME is commonly used for. =A0This button do= es > >> sound like a HOME button in iPad sense but not in web browser sens= e. > > > > Except the fact that I don't find BTN_HOME in inpout.h, that's seem= s a > > better idea, forget what I've said earlier. >=20 > Ha... Sorry, I had buttons on my brain. I meant KEY_HOME as you sugg= ested. >=20 > > > > 0xe4 -> KEY_IGNORE > > 0xe5 -> KEY_HOME > > 0xea -> KEY_PROG2, (or BTN_TASK to copy android/iOS ?) >=20 > From a quick google, I couldn't finding any specific meaning of > BTN_TASK but it looks like xf86-input-evdev turns it into a button > press so we may not want that one. >=20 It was one of additional keys on Logitech mice IIRC. --=20 Dmitry