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

From: Gerd Hoffmann
Date: Tue Mar 24 2015 - 09:37:34 EST


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




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