# Re: \[PATCH V1\] input: keyboard: gpio: Support for interrupt only key

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2012-03-14 16:00:25 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/03/3835843
- Thread: https://ratatoskr.run/linux-input/2012/03/3835666/t.md

```text
Hi Laxman,

On Wed, Mar 14, 2012 at 02:22:03PM +0530, Laxman Dewangan wrote:
> Some of key in system generates interrupt only when it
> pressed like power-on key or onkey. These keys do not
> actually mapped as gpio in system.
> Supporting the key pressed event on such keys which are
> not actually gpio keys but generates interrupt only.
> 
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
> ---
> When I pushed the new driver for interrupt key, the suggestion came
> to include this functionality in the gpio-key driver. I added require
> changed in gpio-keys.c to support interrupt key only.
> 

This looks much much better than a whole new driver. Let me look it over
in more detail and get back to you.

Thanks!

-- 
Dmitry
```
