RetroArch
input_x11_common.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _INPUT_X11_COMMON_H
18 #define _INPUT_X11_COMMON_H
19 
20 #include <stdint.h>
21 
22 #include <X11/Xlib.h>
23 
24 #include <boolean.h>
25 
26 #include "../../driver.h"
27 
28 int16_t x_mouse_state_wheel(unsigned id);
29 
30 void x_input_poll_wheel(XButtonEvent *event, bool latch);
31 
32 #endif
void x_input_poll_wheel(XButtonEvent *event, bool latch)
Definition: input_x11_common.c:43
int16_t x_mouse_state_wheel(unsigned id)
Definition: input_x11_common.c:24
signed short int16_t
Definition: stdint.h:122
struct _cl_event * event
Definition: glext.h:8406