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_TYPES__H
18 #define __INPUT_TYPES__H
19 
20 enum input_auto_game_focus_type
21 {
22    AUTO_GAME_FOCUS_OFF = 0,
23    AUTO_GAME_FOCUS_ON,
24    AUTO_GAME_FOCUS_DETECT,
25    AUTO_GAME_FOCUS_LAST
26 };
27 
28 typedef struct rarch_joypad_driver input_device_driver_t;
29 typedef struct input_keyboard_line input_keyboard_line_t;
30 typedef struct rarch_joypad_info rarch_joypad_info_t;
31 typedef struct input_driver input_driver_t;
32 typedef struct input_keyboard_ctx_wait input_keyboard_ctx_wait_t;
33 
34 typedef struct
35 {
36    uint32_t data[8];
37    uint16_t analogs[8];
38    uint16_t analog_buttons[16];
39 } input_bits_t;
40 
41 typedef struct joypad_connection joypad_connection_t;
42 typedef struct pad_connection_listener_interface pad_connection_listener_t;
43 
44 #endif /* __INPUT_TYPES__H */
45