Commit dff18bb2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

window: add helper to send a key press event

parent d548c09f
......@@ -369,5 +369,10 @@ static inline void vout_window_ReportMouseDoubleClick(vout_window_t *window,
vout_window_SendMouseEvent(window, &mouse);
static inline void vout_window_ReportKeyPress(vout_window_t *window, int key)
var_SetInteger(window->obj.libvlc, "key-pressed", key);
/** @} */
#endif /* VLC_VOUT_WINDOW_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment