From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: generic hotkey driver Date: Tue, 14 Sep 2004 22:42:07 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040914204207.GA12726@elf.ucw.cz> References: <3ACA40606221794F80A5670F0AF15F84056B57EE@pdsmsx403> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3ACA40606221794F80A5670F0AF15F84056B57EE@pdsmsx403> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Yu, Luming" Cc: Hiroshi Miura , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, "Brown, Len" List-Id: linux-acpi@vger.kernel.org Hi! > >I think hotkey drivers are so differ that it is enough to decide > >event format. ie) 'ibm KEY 00001 00001' or 'hotkey/pcc HKEY > >000003 000001' > > > > We don't need to care about the format of event. Since it is > configurable, > we just need to understand the internal meaning. So maybe we > need to define the internal event number, which stands for a > special purpose. such as: > > 001 turn off display > 002 inc brightness > 003 dec brightness > 004 s3 > ...... > If those are keys, you should just treat them as keys... That is hook it into input subsystem. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m