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

From
Gerd Hoffmann <>
Date
2015-03-24T13:37:40+00:00
ID
Thread
Re: [virtio-dev] Re: [PATCH v3] Add virtio-input driver.
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