[PATCH] msm: trout: add keypad support
Daniel Walker
dwalker at codeaurora.org
Fri Dec 10 12:10:30 EST 2010
On Fri, 2010-12-10 at 13:02 +0530, Trilok Soni wrote:
> To support this, we need to override the input device .name and submit the patches
> for matrix keypad and gpio keys and let the name come through platform data.
>
> You can refer how I am doing in PM8058 keypad driver patch.
ok ..
> But the real question is why can't we just do this in userspace? we should be able
> to override the keymap using setkeycode functionality, isn't it?
It might be possible, but some of the keys are missing in some of the
configurations .. If you had one big configuration with all of the gpio
lines, it might be possible that the missing gpio lines aren't
configured or don't exist.
Daniel
--
Sent by an consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum.
More information about the linux-arm-kernel
mailing list