mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Arve Hj?nnev?g <arve@android.com>
Cc: Brian Swetland <swetland@google.com>,
	Arve Hj??nnev??g <arve@google.com>,
	Iliyan Malchev <malchev@google.com>,
	kernel list <linux-kernel@vger.kernel.org>
Subject: Re: HTC Dream camera support for staging
Date: Thu, 23 Jul 2009 19:28:54 +0200	[thread overview]
Message-ID: <20090723172854.GG28158@elf.ucw.cz> (raw)
In-Reply-To: <d6200be20907131505x2ea29585p4bc8babebfc7395a@mail.gmail.com>

On Mon 2009-07-13 15:05:04, Arve Hj?nnev?g wrote:
> On Mon, Jul 13, 2009 at 1:27 PM, Pavel Machek<pavel@ucw.cz> wrote:
> ...
> >> > gpio_matrix: I thought in-tree zaurus keypad driver has recently
> >> > became generic enough to almost replace this?
> >>
> 
> I would recommend using our driver since it allows multiple input
> types in the same device. The generic matrix driver may work, but you
> will not get the power and camera keys in the same device. The generic
> driver also does not yet handle phantom keys, so if you for instance
> press right-alt+right-shift+p you will also get 9. Our gpio input
> driver also handles the trackball.

Well, matrix_keypad.c will need to be improved, then... Merging
duplicate code is not really an option.

> I have also seen devices that put the trackball click in the keypad
> matrix which means we have to change our gpio input driver to create
> multiple input devices. That change would also allow the two keypads
> on the G1 to be separate input devices which would allow both menu
> keys to report KEY_MENU.

Ok, I guess we should discuss this on linux-input.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2009-07-23 17:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29 11:43 Pavel Machek
2009-06-29 18:28 ` Guennadi Liakhovetski
2009-06-29 18:52   ` Greg KH
2009-07-02 20:08 ` Greg KH
2009-07-08  8:44   ` Pavel Machek
2009-07-08  9:47     ` Brian Swetland
2009-07-09  9:53       ` Pavel Machek
2009-07-09 15:00         ` Greg KH
     [not found] ` <20090629121023.GD28046@google.com>
     [not found]   ` <20090630102457.GA25802@elf.ucw.cz>
     [not found]     ` <a55d774e0906300338l7743d566k5b463eed3efd1ea1@mail.gmail.com>
     [not found]       ` <20090709101315.GF10937@elf.ucw.cz>
     [not found]         ` <a55d774e0907090406u5e91b5c9r2303b098d0e44988@mail.gmail.com>
2009-07-13 20:27           ` Pavel Machek
2009-07-13 21:06             ` Pavel Machek
2009-07-13 22:05             ` Arve Hjønnevåg
2009-07-23 17:28               ` Pavel Machek [this message]
2009-07-08  8:40 Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090723172854.GG28158@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=arve@android.com \
    --cc=arve@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malchev@google.com \
    --cc=swetland@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®