RetroArch
input_remote.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_REMOTE_H__
18 #define INPUT_REMOTE_H__
19 
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23 
24 #include <stdint.h>
25 
26 #include <boolean.h>
27 #include <retro_common_api.h>
28 
30 
32 
33 input_remote_t *input_remote_new(uint16_t port, unsigned max_users);
34 
35 void input_remote_free(input_remote_t *handle, unsigned max_users);
36 
37 void input_remote_poll(input_remote_t *handle, unsigned max_users);
38 
39 bool input_remote_key_pressed(int key, unsigned port);
40 
42  int16_t *ret,
43  unsigned port,
44  unsigned device,
45  unsigned idx,
46  unsigned id);
47 
49 
50 #endif
Definition: input_remote.c:58
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
Configuration options (set of defines)
typedefRETRO_BEGIN_DECLS struct input_remote input_remote_t
Definition: input_remote.h:31
void input_remote_free(input_remote_t *handle, unsigned max_users)
Definition: input_remote.c:154
includes all by default used to find thumbnails Please choose a single playlist first Add Entry Add Folder Select Files< multiple > Please fill out all required fields RetroArch updated successfully Please restart the application for the changes to take effect Contributors Move Down Load Remove Add Pass No shader passes Reset All Passes Download thumbnail Start on Download All Thumbnails This Playlist Configured in port
Definition: msg_hash_us.h:7699
bool input_remote_key_pressed(int key, unsigned port)
Definition: input_remote.c:218
signed short int16_t
Definition: stdint.h:122
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 idx
Definition: pixman-arm-neon-asm.h:96
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void input_remote_poll(input_remote_t *handle, unsigned max_users)
Definition: input_remote.c:228
input_remote_t * input_remote_new(uint16_t port, unsigned max_users)
Definition: input_remote.c:121
void input_remote_state(int16_t *ret, unsigned port, unsigned device, unsigned idx, unsigned id)
Definition: input_remote.c:186
unsigned short uint16_t
Definition: stdint.h:125
struct nk_device device
Definition: nk_common.c:44