Re: spitz: add gpio button support (AK_INT and remote controldescription)

From: Pavel Machek
Date: Wed Oct 07 2009 - 04:58:59 EST


On Tue 2009-10-06 13:48:52, Stanislav Brabec wrote:
> Pavel Machek wrote:
> > I'm not sure what AK_INT is, nor what event it should
> > generate.
>
> AK_INT: remote control detect

Thanks. So for now I'll do:

/* This is for remote control support. Zaurus supports wired
remote on headphones. */
{
.type = EV_KEY,
.code = KEY_F13,
.gpio = SPITZ_GPIO_AK_INT,
.desc = "Wired remote (AK_INT)",
},

..and leave it for proper driver to support nicely.

Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/