[vlc-devel] [RFC] Handle mouse events in a "vout window" module

Thomas Guillem thomas at gllm.fr
Thu Nov 24 17:20:15 CET 2016


I would like to send mouse events from a "vout window" module.
This will be used by the next android window module. This new module
will receive window size and mouse events. It's already easy to report a
window size change: with vout_window_ReportSize() and I would like to
have the same kind of API for mouses.

This will be mainly used for the opengl vout display module. Without
that API, I have to copy-paste video_output/gl.c into a android gl
module and add mouse events supports (see here

I could also add this mouse event code inside a ifdef in
video_output/gl.c, but it's ugly, no ?

What's you opinion ?


More information about the vlc-devel mailing list