gstreamer/subprojects/gst-plugins-good/sys/ximage/gst-ximage-navigation.h
Robert Ayrapetyan 3d807d4f6d ximagesrc: add navigation support
Add a basic navigation support:
- mouse events (buttons/move)
- keyboard events (keys)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5273>
2023-10-13 23:34:54 +00:00

28 lines
1.1 KiB
C

/* GStreamer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GST_XIMAGE_NAVIGATION_H__
#define __GST_XIMAGE_NAVIGATION_H__
#include <ximageutil.h>
void gst_ximage_navigation_mouse_move_pointer(Display * display, int x, int y);
void gst_ximage_navigation_mouse_push_button(Display * display, unsigned int button, Bool is_press);
void gst_ximage_navigation_key(Display * display, const char * keysym_name, Bool is_press);
#endif