Ah this MP also removes the timer fd! So it will affect the frequency of mouse events.
Then using false instead of true for consumeBatches should actually not drain the input channel fd. I assume it would be simpler to just serialize the MirEvent into a buffer in BasicSurface::consume_event and write it to the InputChannel fd, while on AndroirInputReceiver just deserialize from the fd, and get rid of all the rest..
Ah this MP also removes the timer fd! So it will affect the frequency of mouse events.
Then using false instead of true for consumeBatches should actually not drain the input channel fd. I assume it would be simpler to just serialize the MirEvent into a buffer in BasicSurface: :consume_ event and write it to the InputChannel fd, while on AndroirInputRec eiver just deserialize from the fd, and get rid of all the rest..