RetroArch
config.def.keybinds.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-2016 - Daniel De Matteis
4  * Copyright (C) 2016 - Brad Parker
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 __CONFIG_DEF_KEYBINDS_H
19 #define __CONFIG_DEF_KEYBINDS_H
20 
21 #ifndef IS_SALAMANDER
22 
23 /* User 1 */
24 static const struct retro_keybind retro_keybinds_1[] = {
25  /* | RetroPad button | enum | keyboard key | m-btn | js btn | js axis | */
26 #ifdef __QNX__
43 
52 
64 
66 
77  { true, RARCH_REWIND, MENU_ENUM_LABEL_VALUE_INPUT_META_REWIND, RETROK_UNKNOWN, NO_BTN, NO_BTN, 0, AXIS_NONE },
105 #else
122 
131 
143 
145 
156  { true, RARCH_REWIND, MENU_ENUM_LABEL_VALUE_INPUT_META_REWIND, RETROK_r, NO_BTN, NO_BTN, 0, AXIS_NONE },
184 #endif
185 };
186 
187 /* Users 2 to MAX_USERS */
188 static const struct retro_keybind retro_keybinds_rest[] = {
189  /* | RetroPad button | desc | keyboard key | js btn | js axis | */
206 
215 
227 
229 };
230 
231 #endif
232 
233 #endif
Definition: libretro.h:409
Definition: libretro.h:317
Definition: msg_hash.h:615
#define RETRO_DEVICE_ID_JOYPAD_R3
Definition: libretro.h:203
#define NO_BTN
Definition: input_defines.h:156
Definition: input_defines.h:107
Definition: input_defines.h:102
Definition: libretro.h:376
Definition: input_defines.h:96
Definition: libretro.h:366
Definition: libretro.h:310
#define RETRO_DEVICE_ID_JOYPAD_B
Definition: libretro.h:188
Definition: msg_hash.h:614
Definition: input_defines.h:79
Definition: input_defines.h:91
Definition: input_defines.h:104
Definition: msg_hash.h:617
Definition: input_driver.h:93
#define RETRO_DEVICE_ID_JOYPAD_Y
Definition: libretro.h:189
Definition: libretro.h:372
Definition: msg_hash.h:609
Definition: input_defines.h:103
Definition: libretro.h:362
Definition: msg_hash.h:611
Definition: input_defines.h:99
#define RETRO_DEVICE_ID_JOYPAD_X
Definition: libretro.h:197
Definition: libretro.h:420
#define RETRO_DEVICE_ID_JOYPAD_DOWN
Definition: libretro.h:193
Definition: input_defines.h:50
Definition: libretro.h:368
Definition: input_defines.h:98
Definition: libretro.h:365
Definition: input_defines.h:63
Definition: msg_hash.h:667
Definition: libretro.h:373
Definition: input_defines.h:111
Definition: msg_hash.h:604
#define RETRO_DEVICE_ID_JOYPAD_SELECT
Definition: libretro.h:190
static const struct retro_keybind retro_keybinds_rest[]
Definition: config.def.keybinds.h:188
Definition: libretro.h:380
#define RETRO_DEVICE_ID_JOYPAD_START
Definition: libretro.h:191
Definition: libretro.h:356
Definition: msg_hash.h:607
Definition: input_defines.h:81
Definition: input_defines.h:85
Definition: msg_hash.h:613
Definition: input_defines.h:62
Definition: input_defines.h:105
Definition: libretro.h:408
Definition: libretro.h:378
Definition: libretro.h:370
Definition: input_defines.h:59
Definition: input_defines.h:58
Definition: input_defines.h:66
Definition: msg_hash.h:612
Definition: libretro.h:421
Definition: libretro.h:426
Definition: input_defines.h:80
Definition: input_defines.h:92
Definition: libretro.h:371
Definition: input_defines.h:64
Definition: input_defines.h:95
Definition: input_defines.h:57
Definition: libretro.h:367
Definition: msg_hash.h:608
Definition: input_defines.h:116
Definition: libretro.h:422
Definition: libretro.h:318
Definition: input_defines.h:93
Definition: input_defines.h:53
Definition: input_defines.h:49
Definition: input_defines.h:94
Definition: libretro.h:435
Definition: input_defines.h:90
Definition: input_defines.h:60
#define RETRO_DEVICE_ID_JOYPAD_L2
Definition: libretro.h:200
Definition: libretro.h:434
Definition: libretro.h:407
Definition: libretro.h:406
Definition: input_defines.h:88
Definition: libretro.h:361
#define RETRO_DEVICE_ID_JOYPAD_LEFT
Definition: libretro.h:194
Definition: input_defines.h:46
Definition: input_defines.h:101
#define AXIS_NONE
Definition: input_defines.h:150
Definition: input_defines.h:113
Definition: input_defines.h:48
#define RETRO_DEVICE_ID_JOYPAD_RIGHT
Definition: libretro.h:195
Definition: libretro.h:357
Definition: msg_hash.h:603
Definition: input_defines.h:77
Definition: input_defines.h:115
Definition: libretro.h:402
Definition: input_defines.h:71
Definition: libretro.h:315
Definition: input_defines.h:87
Definition: libretro.h:416
Definition: libretro.h:379
Definition: libretro.h:418
Definition: libretro.h:363
Definition: libretro.h:369
Definition: libretro.h:377
Definition: libretro.h:375
Definition: msg_hash.h:674
Definition: input_defines.h:82
Definition: input_defines.h:83
#define RETRO_DEVICE_ID_JOYPAD_L3
Definition: libretro.h:202
Definition: input_defines.h:78
Definition: input_defines.h:47
Definition: libretro.h:424
Definition: input_defines.h:51
Definition: msg_hash.h:616
Definition: libretro.h:423
Definition: input_defines.h:108
Definition: input_defines.h:109
Definition: input_defines.h:100
Definition: input_defines.h:106
Definition: input_defines.h:67
Definition: libretro.h:364
Definition: input_defines.h:61
Definition: libretro.h:401
#define RETRO_DEVICE_ID_JOYPAD_L
Definition: libretro.h:198
static const struct retro_keybind retro_keybinds_1[]
Definition: config.def.keybinds.h:24
Definition: libretro.h:427
Definition: libretro.h:359
Definition: input_defines.h:97
Definition: input_defines.h:84
#define RETRO_DEVICE_ID_JOYPAD_R
Definition: libretro.h:199
#define RETRO_DEVICE_ID_JOYPAD_R2
Definition: libretro.h:201
Definition: input_defines.h:86
Definition: input_defines.h:52
Definition: msg_hash.h:618
Definition: libretro.h:360
#define RETRO_DEVICE_ID_JOYPAD_UP
Definition: libretro.h:192
Definition: msg_hash.h:675
Definition: libretro.h:381
Definition: libretro.h:419
Definition: input_defines.h:110
Definition: libretro.h:417
Definition: libretro.h:374
Definition: input_defines.h:89
Definition: input_defines.h:65
#define RETRO_DEVICE_ID_JOYPAD_A
Definition: libretro.h:196