From: Jiri Kosina Subject: Re: defkeymap making machine useless (was Re: HTC Dream aka. t-mobile g1 support) Date: Mon, 22 Jun 2009 11:33:31 +0200 (CEST) Message-ID: References: <20090618101309.GC28892@elf.ucw.cz> <20090618.123845.232783995.davem@davemloft.net> <20090618230704.GB8529@elf.ucw.cz> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from cantor.suse.de ([195.135.220.2]:56290 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751002AbZFVJda (ORCPT ); Mon, 22 Jun 2009 05:33:30 -0400 In-Reply-To: <20090618230704.GB8529@elf.ucw.cz> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Pavel Machek Cc: David Miller , Dmitry Torokhov , linux-input@vger.kernel.org, swetland@google.com, arve@android.com, linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk, san@android.com, rlove@google.com, Greg KH On Fri, 19 Jun 2009, Pavel Machek wrote: > > > Yeah, I wasn't sure how to handle this. We try to keep the > > > msm/dream stuff in a state that doesn't break other parts of the > > > tree, but there doesn't seem to be support for different keymaps for > > > different devices. > > How it's supposed to work is that you have a specific keyboard driver > > and that emits PC keyboard codes into the core kernel using a > > translation table in your driver. > Of course, Dream does that. But that's not _nearly_ enough. Dream > lacks keys such as: esc, arrows, symbols (/;'[]\-=). That means that > for +, you can't press shift-=, you need to press altgr-P. I don't seem to have enough context, but wouldn't writing a separate serio driver, which would do all the needed translations be enough here? -- Jiri Kosina SUSE Labs