RetroArch
input_mapper.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  * Copyright (C) 2016-2017 - Andrés Suárez
5  *
6  * RetroArch is free software: you can redistribute it and/or modify it under the terms
7  * of the GNU General Public License as published by the Free Software Found-
8  * ation, either version 3 of the License, or (at your option) any later version.
9  *
10  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  * PURPOSE. See the GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along with RetroArch.
15  * If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef INPUT_MAPPER_H__
19 #define INPUT_MAPPER_H__
20 
21 #ifdef HAVE_CONFIG_H
22 #include "config.h"
23 #endif
24 
25 #include <stdint.h>
26 
27 #include <boolean.h>
28 #include <retro_common_api.h>
29 
31 
33 
35 
36 void input_mapper_free(input_mapper_t *handle);
37 
38 void input_mapper_poll(input_mapper_t *handle);
39 
40 bool input_mapper_key_pressed(input_mapper_t *handle, int key);
41 
43  input_mapper_t *handle,
44  int16_t *ret,
45  unsigned port,
46  unsigned device,
47  unsigned idx,
48  unsigned id);
49 
51 
52 #endif
input_mapper_t * input_mapper_new(void)
Definition: input_mapper.c:70
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
Configuration options (set of defines)
void input_mapper_free(input_mapper_t *handle)
Definition: input_mapper.c:81
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
void input_mapper_state(input_mapper_t *handle, int16_t *ret, unsigned port, unsigned device, unsigned idx, unsigned id)
Definition: input_mapper.c:254
typedefRETRO_BEGIN_DECLS struct input_mapper input_mapper_t
Definition: input_mapper.h:32
bool input_mapper_key_pressed(input_mapper_t *handle, int key)
Definition: input_mapper.c:55
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_mapper_poll(input_mapper_t *handle)
Definition: input_mapper.c:88
struct nk_device device
Definition: nk_common.c:44