Re: [virtio-dev] Re: [PATCH v3] Add virtio-input driver.

From: Michael S. Tsirkin
Date: Tue Mar 24 2015 - 10:15:03 EST


On Tue, Mar 24, 2015 at 02:37:24PM +0100, Gerd Hoffmann wrote:
> Hi,
>
> > > input layer checks it and ignores events not supported (according to the
> > > support bitmaps).
> >
> > Right but support bitmaps come from host too, no?
>
> Yes, but the driver will not set invalid bits (bitcount argument for the
> virtinput_cfg_bits() function is the number of valid bits of the
> specific bitmap).
>
> cheers,
> Gerd
>
>
>

Question: does linux ever get such events from userspace
as opposed to sending them to userspace?

--
MST
--
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/