RetroArch
menu_input_bind_dialog.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 _MENU_INPUT_BIND_DIALOG_H
18 #define _MENU_INPUT_BIND_DIALOG_H
19 
20 #include <stdint.h>
21 #include <stdlib.h>
22 
23 #include <boolean.h>
24 
25 #include <retro_common_api.h>
26 
27 #include "../menu_input.h"
28 
30 
32 {
36 };
37 
38 typedef struct menu_input_ctx_bind
39 {
40  char *s;
41  size_t len;
43 
45 {
46  unsigned min;
47  unsigned max;
49 
52 
54 
56 
58 
59 #endif
struct menu_input_ctx_bind_limits menu_input_ctx_bind_limits_t
menu_input_binds_ctl_state
Definition: menu_input_bind_dialog.h:31
int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
Definition: menu_input_bind_dialog.h:33
Definition: menu_input_bind_dialog.h:44
Definition: ibxm.h:9
bool menu_input_key_bind_set_mode(enum menu_input_binds_ctl_state state, void *data)
Definition: menu_input_bind_dialog.c:258
char * s
Definition: menu_input_bind_dialog.h:40
bool menu_input_key_bind_iterate(menu_input_ctx_bind_t *bind)
Definition: menu_input_bind_dialog.c:536
struct menu_input_ctx_bind menu_input_ctx_bind_t
static uint64_t state[MAX_PADS]
Definition: xenon360_input.c:33
size_t len
Definition: menu_input_bind_dialog.h:41
Definition: menu_input_bind_dialog.h:38
Definition: menu_input_bind_dialog.h:34
bool menu_input_key_bind_set_min_max(menu_input_ctx_bind_limits_t *lim)
Definition: menu_input_bind_dialog.c:525
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
Definition: menu_input_bind_dialog.h:35
unsigned min
Definition: menu_input_bind_dialog.h:46
unsigned max
Definition: menu_input_bind_dialog.h:47