mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-13 11:52:08 +00:00
6935316016
far (Xbox 1/360/Wii/Gamecube/PS3) all seem to have their video modes run at 59.94Hz
619 lines
29 KiB
C
619 lines
29 KiB
C
/* RetroArch - A frontend for libretro.
|
|
* Copyright (C) 2010-2013 - Hans-Kristian Arntzen
|
|
*
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/// Config header for RetroArch
|
|
//
|
|
//
|
|
|
|
#ifndef __CONFIG_DEF_H
|
|
#define __CONFIG_DEF_H
|
|
|
|
#include "boolean.h"
|
|
#include "libretro.h"
|
|
#include "driver.h"
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
enum
|
|
{
|
|
VIDEO_GL = 0,
|
|
VIDEO_XVIDEO,
|
|
VIDEO_SDL,
|
|
VIDEO_EXT,
|
|
VIDEO_WII,
|
|
VIDEO_XENON360,
|
|
VIDEO_XDK_D3D,
|
|
VIDEO_PSP1,
|
|
VIDEO_VITA,
|
|
VIDEO_D3D9,
|
|
VIDEO_VG,
|
|
VIDEO_NULL,
|
|
|
|
AUDIO_RSOUND,
|
|
AUDIO_OSS,
|
|
AUDIO_ALSA,
|
|
AUDIO_ALSATHREAD,
|
|
AUDIO_ROAR,
|
|
AUDIO_AL,
|
|
AUDIO_SL,
|
|
AUDIO_JACK,
|
|
AUDIO_SDL,
|
|
AUDIO_XAUDIO,
|
|
AUDIO_PULSE,
|
|
AUDIO_EXT,
|
|
AUDIO_DSOUND,
|
|
AUDIO_COREAUDIO,
|
|
AUDIO_PS3,
|
|
AUDIO_XENON360,
|
|
AUDIO_WII,
|
|
AUDIO_NULL,
|
|
|
|
INPUT_ANDROID,
|
|
INPUT_SDL,
|
|
INPUT_X,
|
|
INPUT_DINPUT,
|
|
INPUT_PS3,
|
|
INPUT_PSP,
|
|
INPUT_XENON360,
|
|
INPUT_WII,
|
|
INPUT_XINPUT,
|
|
INPUT_LINUXRAW,
|
|
INPUT_NULL
|
|
};
|
|
|
|
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) || defined(__CELLOS_LV2__)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_GL
|
|
#elif defined(GEKKO)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_WII
|
|
#elif defined(XENON)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_XENON360
|
|
#elif (defined(_XBOX1) || defined(_XBOX360)) && (defined(HAVE_D3D8) || defined(HAVE_D3D9))
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_XDK_D3D
|
|
#elif defined(HAVE_WIN32_D3D9)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_D3D9
|
|
#elif defined(HAVE_VG)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_VG
|
|
#elif defined(SN_TARGET_PSP2)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_VITA
|
|
#elif defined(PSP)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_PSP1
|
|
#elif defined(HAVE_XVIDEO)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_XVIDEO
|
|
#elif defined(HAVE_SDL)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_SDL
|
|
#elif defined(HAVE_DYLIB) && !defined(ANDROID)
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_EXT
|
|
#else
|
|
#define VIDEO_DEFAULT_DRIVER VIDEO_NULL
|
|
#endif
|
|
|
|
#if defined(__CELLOS_LV2__)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_PS3
|
|
#elif defined(XENON)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_XENON360
|
|
#elif defined(GEKKO)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_WII
|
|
#elif defined(HAVE_ALSA) && defined(HAVE_VIDEOCORE)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_ALSATHREAD
|
|
#elif defined(HAVE_ALSA)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_ALSA
|
|
#elif defined(HAVE_PULSE)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_PULSE
|
|
#elif defined(HAVE_OSS)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_OSS
|
|
#elif defined(HAVE_JACK)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_JACK
|
|
#elif defined(HAVE_COREAUDIO)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_COREAUDIO
|
|
#elif defined(HAVE_AL)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_AL
|
|
#elif defined(HAVE_SL)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_SL
|
|
#elif defined(HAVE_DSOUND)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_DSOUND
|
|
#elif defined(HAVE_SDL)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_SDL
|
|
#elif defined(HAVE_XAUDIO)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_XAUDIO
|
|
#elif defined(HAVE_RSOUND)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_RSOUND
|
|
#elif defined(HAVE_ROAR)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_ROAR
|
|
#elif defined(HAVE_DYLIB) && !defined(ANDROID)
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_EXT
|
|
#else
|
|
#define AUDIO_DEFAULT_DRIVER AUDIO_NULL
|
|
#endif
|
|
|
|
#if defined(XENON)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_XENON360
|
|
#elif defined(_XBOX360) || defined(_XBOX) || defined(HAVE_XINPUT2) || defined(HAVE_XINPUT_XBOX1)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_XINPUT
|
|
#elif defined(ANDROID)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_ANDROID
|
|
#elif defined(_WIN32)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_DINPUT
|
|
#elif defined(HAVE_SDL)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_SDL
|
|
#elif defined(__CELLOS_LV2__)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_PS3
|
|
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_PSP
|
|
#elif defined(GEKKO)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_WII
|
|
#elif defined(HAVE_XVIDEO)
|
|
#define INPUT_DEFAULT_DRIVER INPUT_X
|
|
#else
|
|
#define INPUT_DEFAULT_DRIVER INPUT_NULL
|
|
#endif
|
|
|
|
#if defined(XENON) || defined(_XBOX360) || defined(__CELLOS_LV2__)
|
|
#define DEFAULT_ASPECT_RATIO 1.7778f
|
|
#elif defined(_XBOX1) || defined(GEKKO) || defined(ANDROID)
|
|
#define DEFAULT_ASPECT_RATIO 1.3333f
|
|
#else
|
|
#define DEFAULT_ASPECT_RATIO -1.0f
|
|
#endif
|
|
|
|
#if defined(_XBOX360)
|
|
#define DEFAULT_SHADER_TYPE RARCH_SHADER_HLSL
|
|
#elif defined(__PSL1GHT__)
|
|
#define DEFAULT_SHADER_TYPE RARCH_SHADER_GLSL
|
|
#elif defined(__CELLOS_LV2__)
|
|
#define DEFAULT_SHADER_TYPE RARCH_SHADER_CG
|
|
#elif defined(ANDROID)
|
|
#define DEFAULT_SHADER_TYPE RARCH_SHADER_GLSL
|
|
#else
|
|
#define DEFAULT_SHADER_TYPE RARCH_SHADER_AUTO
|
|
#endif
|
|
|
|
#if defined(__CELLOS_LV2__)
|
|
#define EXT_EXECUTABLES "self|SELF|bin|BIN"
|
|
#elif defined(_XBOX1)
|
|
#define EXT_EXECUTABLES "xbe|XBE"
|
|
#elif defined(_XBOX360)
|
|
#define EXT_EXECUTABLES "xex|XEX"
|
|
#elif defined(GEKKO)
|
|
#define EXT_EXECUTABLES "dol|DOL"
|
|
#endif
|
|
|
|
////////////////
|
|
// Video
|
|
////////////////
|
|
|
|
#if defined(_XBOX360)
|
|
#define DEFAULT_GAMMA 1
|
|
#else
|
|
#define DEFAULT_GAMMA 0
|
|
#endif
|
|
|
|
// Windowed
|
|
static const float xscale = 3.0; // Real x res = aspect * base_size * xscale
|
|
static const float yscale = 3.0; // Real y res = base_size * yscale
|
|
|
|
// Fullscreen
|
|
static const bool fullscreen = false; // To start in Fullscreen or not.
|
|
static const bool windowed_fullscreen = true; // To use windowed mode or not when going fullscreen.
|
|
static const unsigned monitor_index = 0; // Which monitor to prefer. 0 is any monitor, 1 and up selects specific monitors, 1 being the first monitor.
|
|
static const unsigned fullscreen_x = 0; // Fullscreen resolution. A value of 0 uses the desktop resolution.
|
|
static const unsigned fullscreen_y = 0;
|
|
|
|
// Forcibly disable composition. Only valid on Windows Vista/7 for now.
|
|
static const bool disable_composition = false;
|
|
|
|
// Video VSYNC (recommended)
|
|
static const bool vsync = true;
|
|
|
|
// Smooths picture
|
|
static const bool video_smooth = true;
|
|
|
|
// On resize and fullscreen, rendering area will stay 4:3
|
|
static const bool force_aspect = true;
|
|
|
|
// Controls aspect ratio handling.
|
|
static const float aspect_ratio = DEFAULT_ASPECT_RATIO; // Automatic
|
|
static const bool aspect_ratio_auto = false; // 1:1 PAR
|
|
|
|
// Crop overscanned frames (7/8 or 15/15 for interlaced frames).
|
|
static const bool crop_overscan = true;
|
|
|
|
// Font size for on-screen messages.
|
|
#ifdef HAVE_RMENU
|
|
static const float font_size = 1.0f;
|
|
#else
|
|
static const float font_size = 48;
|
|
#endif
|
|
// Attempt to scale the font size.
|
|
// The scale factor will be window_size / desktop_size.
|
|
static const bool font_scale = true;
|
|
|
|
// Offset for where messages will be placed on-screen. Values are in range [0.0, 1.0].
|
|
static const float message_pos_offset_x = 0.05;
|
|
static const float message_pos_offset_y = 0.05;
|
|
// Color of the message.
|
|
static const uint32_t message_color = 0xffff00; // RGB hex value.
|
|
|
|
// Render-to-texture before rendering to screen (multi-pass shaders)
|
|
#if defined(__CELLOS_LV2__) || defined(_XBOX360)
|
|
static const bool render_to_texture = true;
|
|
#else
|
|
static const bool render_to_texture = false;
|
|
#endif
|
|
static const float fbo_scale_x = 2.0;
|
|
static const float fbo_scale_y = 2.0;
|
|
static const bool second_pass_smooth = true;
|
|
|
|
// Record post-filtered (CPU filter) video rather than raw game output.
|
|
static const bool post_filter_record = false;
|
|
|
|
// Screenshots post-shaded GPU output if available.
|
|
static const bool gpu_screenshot = true;
|
|
|
|
// Record post-shaded GPU output instead of raw game footage if available.
|
|
static const bool gpu_record = false;
|
|
|
|
// OSD-messages
|
|
static const bool font_enable = true;
|
|
|
|
// The accurate refresh rate of your monitor (Hz).
|
|
// This is used to calculate audio input rate with the formula:
|
|
// audio_input_rate = game_input_rate * display_refresh_rate / game_refresh_rate.
|
|
// If the implementation does not report any values,
|
|
// SNES NTSC defaults will be assumed for compatibility.
|
|
// This value should stay close to 60Hz to avoid large pitch changes.
|
|
// If your monitor does not run at 60Hz, or something close to it, disable VSync,
|
|
// and leave this at its default.
|
|
#if defined(RARCH_CONSOLE)
|
|
static const float refresh_rate = 59.94;
|
|
#else
|
|
static const float refresh_rate = 59.95;
|
|
#endif
|
|
|
|
// Allow games to set rotation. If false, rotation requests are honored, but ignored.
|
|
// Used for setups where one manually rotates the monitor.
|
|
static const bool allow_rotate = true;
|
|
|
|
////////////////
|
|
// Audio
|
|
////////////////
|
|
|
|
// Will enable audio or not.
|
|
static const bool audio_enable = true;
|
|
|
|
// Output samplerate
|
|
static const unsigned out_rate = 48000;
|
|
|
|
// When changing input rate on-the-fly
|
|
static const float audio_rate_step = 0.25;
|
|
|
|
// Audio device (e.g. hw:0,0 or /dev/audio). If NULL, will use defaults.
|
|
static const char *audio_device = NULL;
|
|
|
|
// Desired audio latency in milliseconds. Might not be honored if driver can't provide given latency.
|
|
static const int out_latency = 64;
|
|
|
|
// Will sync audio. (recommended)
|
|
static const bool audio_sync = true;
|
|
|
|
// Experimental rate control
|
|
#if defined(GEKKO) || !defined(RARCH_CONSOLE)
|
|
static const bool rate_control = true;
|
|
#else
|
|
static const bool rate_control = false;
|
|
#endif
|
|
|
|
// Rate control delta. Defines how much rate_control is allowed to adjust input rate.
|
|
#ifdef GEKKO
|
|
static const float rate_control_delta = 0.006;
|
|
#else
|
|
static const float rate_control_delta = 0.005;
|
|
#endif
|
|
|
|
// Default audio volume in dB. (0.0 dB == unity gain).
|
|
static const float audio_volume = 0.0;
|
|
|
|
//////////////
|
|
// Misc
|
|
//////////////
|
|
|
|
// Enables use of rewind. This will incur some memory footprint depending on the save state buffer.
|
|
static const bool rewind_enable = false;
|
|
|
|
// The buffer size for the rewind buffer. This needs to be about 15-20MB per minute. Very game dependant.
|
|
static const unsigned rewind_buffer_size = 20 << 20; // 20MiB
|
|
|
|
// How many frames to rewind at a time.
|
|
static const unsigned rewind_granularity = 1;
|
|
|
|
// Pause gameplay when gameplay loses focus.
|
|
static const bool pause_nonactive = false;
|
|
|
|
// Saves non-volatile SRAM at a regular interval. It is measured in seconds. A value of 0 disables autosave.
|
|
static const unsigned autosave_interval = 0;
|
|
|
|
// When being client over netplay, use keybinds for player 1 rather than player 2.
|
|
static const bool netplay_client_swap_input = true;
|
|
|
|
// On save state load, block SRAM from being overwritten.
|
|
// This could potentially lead to buggy games.
|
|
static const bool block_sram_overwrite = false;
|
|
|
|
// When saving savestates, state index is automatically incremented before saving.
|
|
// When the ROM is loaded, state index will be set to the highest existing value.
|
|
static const bool savestate_auto_index = false;
|
|
|
|
// Automatically saves a savestate at the end of RetroArch's lifetime.
|
|
// The path is $SRAM_PATH.auto.
|
|
// RetroArch will automatically load any savestate with this path on startup.
|
|
static const bool savestate_auto_save = false;
|
|
|
|
// Slowmotion ratio.
|
|
static const float slowmotion_ratio = 3.0;
|
|
|
|
// Enable stdin/network command interface
|
|
static const bool network_cmd_enable = false;
|
|
static const uint16_t network_cmd_port = 55355;
|
|
static const bool stdin_cmd_enable = false;
|
|
|
|
|
|
////////////////////
|
|
// Keybinds, Joypad
|
|
////////////////////
|
|
|
|
// Axis threshold (between 0.0 and 1.0)
|
|
// How far an axis must be tilted to result in a button press
|
|
static const float axis_threshold = 0.5;
|
|
|
|
// Describes speed of which turbo-enabled buttons toggle.
|
|
static const unsigned turbo_period = 6;
|
|
static const unsigned turbo_duty_cycle = 3;
|
|
|
|
// Enable input debugging output.
|
|
static const bool input_debug_enable = false;
|
|
|
|
#ifdef ANDROID
|
|
// Enable input auto-detection. Will attempt to autoconfigure
|
|
// gamepads, plug-and-play style.
|
|
static const bool input_autodetect_enable = true;
|
|
#endif
|
|
|
|
#ifdef __CELLOS_LV2__
|
|
#define RETRO_DEF_JOYPAD_B (1ULL << RETRO_DEVICE_ID_JOYPAD_B)
|
|
#define RETRO_DEF_JOYPAD_Y (1ULL << RETRO_DEVICE_ID_JOYPAD_Y)
|
|
#define RETRO_DEF_JOYPAD_SELECT (1ULL << RETRO_DEVICE_ID_JOYPAD_SELECT)
|
|
#define RETRO_DEF_JOYPAD_START (1ULL << RETRO_DEVICE_ID_JOYPAD_START)
|
|
#define RETRO_DEF_JOYPAD_UP (1ULL << RETRO_DEVICE_ID_JOYPAD_UP)
|
|
#define RETRO_DEF_JOYPAD_DOWN (1ULL << RETRO_DEVICE_ID_JOYPAD_DOWN)
|
|
#define RETRO_DEF_JOYPAD_LEFT (1ULL << RETRO_DEVICE_ID_JOYPAD_LEFT)
|
|
#define RETRO_DEF_JOYPAD_RIGHT (1ULL << RETRO_DEVICE_ID_JOYPAD_RIGHT)
|
|
#define RETRO_DEF_JOYPAD_A (1ULL << RETRO_DEVICE_ID_JOYPAD_A)
|
|
#define RETRO_DEF_JOYPAD_X (1ULL << RETRO_DEVICE_ID_JOYPAD_X)
|
|
#define RETRO_DEF_JOYPAD_L (1ULL << RETRO_DEVICE_ID_JOYPAD_L)
|
|
#define RETRO_DEF_JOYPAD_R (1ULL << RETRO_DEVICE_ID_JOYPAD_R)
|
|
#define RETRO_DEF_JOYPAD_L2 (1ULL << RETRO_DEVICE_ID_JOYPAD_L2)
|
|
#define RETRO_DEF_JOYPAD_R2 (1ULL << RETRO_DEVICE_ID_JOYPAD_R2)
|
|
#define RETRO_DEF_JOYPAD_L3 (1ULL << RETRO_DEVICE_ID_JOYPAD_L3)
|
|
#define RETRO_DEF_JOYPAD_R3 (1ULL << RETRO_DEVICE_ID_JOYPAD_R3)
|
|
#define RETRO_DEF_ANALOGL_DPAD_LEFT ((1ULL << RETRO_DEVICE_ID_JOYPAD_LEFT) | (1ULL << RARCH_ANALOG_LEFT_X_DPAD_LEFT))
|
|
#define RETRO_DEF_ANALOGL_DPAD_RIGHT ((1ULL << RETRO_DEVICE_ID_JOYPAD_RIGHT) | (1ULL << RARCH_ANALOG_LEFT_X_DPAD_RIGHT))
|
|
#define RETRO_DEF_ANALOGL_DPAD_UP ((1ULL << RETRO_DEVICE_ID_JOYPAD_UP) | (1ULL << RARCH_ANALOG_LEFT_Y_DPAD_UP))
|
|
#define RETRO_DEF_ANALOGL_DPAD_DOWN ((1ULL << RETRO_DEVICE_ID_JOYPAD_DOWN) | (1ULL << RARCH_ANALOG_LEFT_Y_DPAD_DOWN))
|
|
#define RETRO_DEF_ANALOGR_DPAD_LEFT ((1ULL << RETRO_DEVICE_ID_JOYPAD_LEFT) | (1ULL << RARCH_ANALOG_RIGHT_X_DPAD_LEFT))
|
|
#define RETRO_DEF_ANALOGR_DPAD_RIGHT ((1ULL << RETRO_DEVICE_ID_JOYPAD_RIGHT) | (1ULL << RARCH_ANALOG_RIGHT_X_DPAD_RIGHT))
|
|
#define RETRO_DEF_ANALOGR_DPAD_UP ((1ULL << RETRO_DEVICE_ID_JOYPAD_UP) | (1ULL << RARCH_ANALOG_RIGHT_Y_DPAD_UP))
|
|
#define RETRO_DEF_ANALOGR_DPAD_DOWN ((1ULL << RETRO_DEVICE_ID_JOYPAD_DOWN) | (1ULL << RARCH_ANALOG_RIGHT_Y_DPAD_DOWN))
|
|
#else
|
|
#define RETRO_DEF_JOYPAD_B NO_BTN
|
|
#define RETRO_DEF_JOYPAD_Y NO_BTN
|
|
#define RETRO_DEF_JOYPAD_SELECT NO_BTN
|
|
#define RETRO_DEF_JOYPAD_START NO_BTN
|
|
#define RETRO_DEF_JOYPAD_UP NO_BTN
|
|
#define RETRO_DEF_JOYPAD_DOWN NO_BTN
|
|
#define RETRO_DEF_JOYPAD_LEFT NO_BTN
|
|
#define RETRO_DEF_JOYPAD_RIGHT NO_BTN
|
|
#define RETRO_DEF_JOYPAD_A NO_BTN
|
|
#define RETRO_DEF_JOYPAD_X NO_BTN
|
|
#define RETRO_DEF_JOYPAD_L NO_BTN
|
|
#define RETRO_DEF_JOYPAD_R NO_BTN
|
|
#define RETRO_DEF_JOYPAD_L2 NO_BTN
|
|
#define RETRO_DEF_JOYPAD_R2 NO_BTN
|
|
#define RETRO_DEF_JOYPAD_L3 NO_BTN
|
|
#define RETRO_DEF_JOYPAD_R3 NO_BTN
|
|
#define RETRO_DEF_ANALOGL_DPAD_LEFT NO_BTN
|
|
#define RETRO_DEF_ANALOGL_DPAD_RIGHT NO_BTN
|
|
#define RETRO_DEF_ANALOGL_DPAD_UP NO_BTN
|
|
#define RETRO_DEF_ANALOGL_DPAD_DOWN NO_BTN
|
|
#define RETRO_DEF_ANALOGR_DPAD_LEFT NO_BTN
|
|
#define RETRO_DEF_ANALOGR_DPAD_RIGHT NO_BTN
|
|
#define RETRO_DEF_ANALOGR_DPAD_UP NO_BTN
|
|
#define RETRO_DEF_ANALOGR_DPAD_DOWN NO_BTN
|
|
#endif
|
|
|
|
#define RETRO_LBL_JOYPAD_B "RetroPad B Button"
|
|
#define RETRO_LBL_JOYPAD_Y "RetroPad Y Button"
|
|
#define RETRO_LBL_JOYPAD_SELECT "RetroPad Select Button"
|
|
#define RETRO_LBL_JOYPAD_START "RetroPad Start Button"
|
|
#define RETRO_LBL_JOYPAD_UP "RetroPad D-Pad Up"
|
|
#define RETRO_LBL_JOYPAD_DOWN "RetroPad D-Pad Down"
|
|
#define RETRO_LBL_JOYPAD_LEFT "RetroPad D-Pad Left"
|
|
#define RETRO_LBL_JOYPAD_RIGHT "RetroPad D-Pad Right"
|
|
#define RETRO_LBL_JOYPAD_A "RetroPad A Button"
|
|
#define RETRO_LBL_JOYPAD_X "RetroPad X Button"
|
|
#define RETRO_LBL_JOYPAD_L "RetroPad L Button"
|
|
#define RETRO_LBL_JOYPAD_R "RetroPad R Button"
|
|
#define RETRO_LBL_JOYPAD_L2 "RetroPad L2 Button"
|
|
#define RETRO_LBL_JOYPAD_R2 "RetroPad R2 Button"
|
|
#define RETRO_LBL_JOYPAD_L3 "RetroPad L3 Button"
|
|
#define RETRO_LBL_JOYPAD_R3 "RetroPad R3 Button"
|
|
#define RETRO_LBL_TURBO_ENABLE "Turbo Enable"
|
|
#define RETRO_LBL_ANALOG_LEFT_X_PLUS "Left Analog X +"
|
|
#define RETRO_LBL_ANALOG_LEFT_X_MINUS "Left Analog X -"
|
|
#define RETRO_LBL_ANALOG_LEFT_Y_PLUS "Left Analog Y +"
|
|
#define RETRO_LBL_ANALOG_LEFT_Y_MINUS "Left Analog Y -"
|
|
#define RETRO_LBL_ANALOG_RIGHT_X_PLUS "Right Analog X +"
|
|
#define RETRO_LBL_ANALOG_RIGHT_X_MINUS "Right Analog X -"
|
|
#define RETRO_LBL_ANALOG_RIGHT_Y_PLUS "Right Analog Y +"
|
|
#define RETRO_LBL_ANALOG_RIGHT_Y_MINUS "Right Analog Y -"
|
|
#define RETRO_LBL_ANALOG_LEFT_X_DPAD_L "Left Analog D-Pad Left"
|
|
#define RETRO_LBL_ANALOG_LEFT_X_DPAD_R "Left Analog D-Pad Right"
|
|
#define RETRO_LBL_ANALOG_LEFT_Y_DPAD_U "Left Analog D-Pad Up"
|
|
#define RETRO_LBL_ANALOG_LEFT_Y_DPAD_D "Left Analog D-Pad Down"
|
|
#define RETRO_LBL_ANALOG_RIGHT_X_DPAD_L "Right Analog D-Pad Left"
|
|
#define RETRO_LBL_ANALOG_RIGHT_X_DPAD_R "Right Analog D-Pad Right"
|
|
#define RETRO_LBL_ANALOG_RIGHT_Y_DPAD_U "Right Analog D-Pad Up"
|
|
#define RETRO_LBL_ANALOG_RIGHT_Y_DPAD_D "Right Analog D-Pad Down"
|
|
#define RETRO_LBL_FAST_FORWARD_KEY "Fast Forward"
|
|
#define RETRO_LBL_FAST_FORWARD_HOLD_KEY "Fast Forward Hold"
|
|
#define RETRO_LBL_LOAD_STATE_KEY "Load State"
|
|
#define RETRO_LBL_SAVE_STATE_KEY "Save State"
|
|
#define RETRO_LBL_FULLSCREEN_TOGGLE_KEY "Fullscreen Toggle"
|
|
#define RETRO_LBL_QUIT_KEY "Quit Key"
|
|
#define RETRO_LBL_STATE_SLOT_PLUS "State Slot Plus"
|
|
#define RETRO_LBL_STATE_SLOT_MINUS "State Slot Minus"
|
|
#define RETRO_LBL_REWIND "Rewind"
|
|
#define RETRO_LBL_MOVIE_RECORD_TOGGLE "Movie Record Toggle"
|
|
#define RETRO_LBL_PAUSE_TOGGLE "Pause Toggle"
|
|
#define RETRO_LBL_FRAMEADVANCE "Frame Advance"
|
|
#define RETRO_LBL_RESET "Reset"
|
|
#define RETRO_LBL_SHADER_NEXT "Next Shader"
|
|
#define RETRO_LBL_SHADER_PREV "Previous Shader"
|
|
#define RETRO_LBL_CHEAT_INDEX_PLUS "Cheat Index Plus"
|
|
#define RETRO_LBL_CHEAT_INDEX_MINUS "Cheat Index Minus"
|
|
#define RETRO_LBL_CHEAT_TOGGLE "Cheat Toggle"
|
|
#define RETRO_LBL_SCREENSHOT "Screenshot"
|
|
#define RETRO_LBL_DSP_CONFIG "DSP Config"
|
|
#define RETRO_LBL_MUTE "Mute Audio"
|
|
#define RETRO_LBL_NETPLAY_FLIP "Netplay Flip Players"
|
|
#define RETRO_LBL_SLOWMOTION "Slowmotion"
|
|
#define RETRO_LBL_ENABLE_HOTKEY "Enable Hotkey"
|
|
#define RETRO_LBL_VOLUME_UP "Volume Up"
|
|
#define RETRO_LBL_VOLUME_DOWN "Volume Down"
|
|
#define RETRO_LBL_OVERLAY_NEXT "Next Overlay"
|
|
|
|
// Player 1
|
|
static const struct retro_keybind retro_keybinds_1[] = {
|
|
// | RetroPad button | desc | keyboard key | js btn | js axis |
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_B, RETRO_LBL_JOYPAD_B, RETROK_z, RETRO_DEF_JOYPAD_B, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_Y, RETRO_LBL_JOYPAD_Y, RETROK_a, RETRO_DEF_JOYPAD_Y, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_SELECT, RETRO_LBL_JOYPAD_SELECT, RETROK_RSHIFT, RETRO_DEF_JOYPAD_SELECT, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_START, RETRO_LBL_JOYPAD_START, RETROK_RETURN, RETRO_DEF_JOYPAD_START, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_UP, RETRO_LBL_JOYPAD_UP, RETROK_UP, RETRO_DEF_JOYPAD_UP, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_DOWN, RETRO_LBL_JOYPAD_DOWN, RETROK_DOWN, RETRO_DEF_JOYPAD_DOWN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_LEFT, RETRO_LBL_JOYPAD_LEFT, RETROK_LEFT, RETRO_DEF_JOYPAD_LEFT, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_RIGHT, RETRO_LBL_JOYPAD_RIGHT, RETROK_RIGHT, RETRO_DEF_JOYPAD_RIGHT, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_A, RETRO_LBL_JOYPAD_A, RETROK_x, RETRO_DEF_JOYPAD_A, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_X, RETRO_LBL_JOYPAD_X, RETROK_s, RETRO_DEF_JOYPAD_X, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_L, RETRO_LBL_JOYPAD_L, RETROK_q, RETRO_DEF_JOYPAD_L, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_R, RETRO_LBL_JOYPAD_R, RETROK_w, RETRO_DEF_JOYPAD_R, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_L2, RETRO_LBL_JOYPAD_L2, RETROK_UNKNOWN, RETRO_DEF_JOYPAD_L2, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_R2, RETRO_LBL_JOYPAD_R2, RETROK_UNKNOWN, RETRO_DEF_JOYPAD_R2, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_L3, RETRO_LBL_JOYPAD_L3, RETROK_UNKNOWN, RETRO_DEF_JOYPAD_L3, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_R3, RETRO_LBL_JOYPAD_R3, RETROK_UNKNOWN, RETRO_DEF_JOYPAD_R3, AXIS_NONE },
|
|
|
|
{ true, RARCH_TURBO_ENABLE, RETRO_LBL_TURBO_ENABLE, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_X_PLUS, RETRO_LBL_ANALOG_LEFT_X_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_X_MINUS, RETRO_LBL_ANALOG_LEFT_X_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_PLUS, RETRO_LBL_ANALOG_LEFT_Y_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_MINUS, RETRO_LBL_ANALOG_LEFT_Y_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_PLUS, RETRO_LBL_ANALOG_RIGHT_X_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_MINUS, RETRO_LBL_ANALOG_RIGHT_X_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_PLUS, RETRO_LBL_ANALOG_RIGHT_Y_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_MINUS, RETRO_LBL_ANALOG_RIGHT_Y_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
#ifdef RARCH_CONSOLE
|
|
{ true, RARCH_ANALOG_LEFT_X_DPAD_LEFT, RETRO_LBL_ANALOG_LEFT_X_DPAD_L, RETROK_UNKNOWN, RETRO_DEF_ANALOGL_DPAD_LEFT, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_X_DPAD_RIGHT,RETRO_LBL_ANALOG_LEFT_X_DPAD_R, RETROK_UNKNOWN, RETRO_DEF_ANALOGL_DPAD_RIGHT, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_DPAD_UP, RETRO_LBL_ANALOG_LEFT_Y_DPAD_U, RETROK_UNKNOWN, RETRO_DEF_ANALOGL_DPAD_UP, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_DPAD_DOWN, RETRO_LBL_ANALOG_LEFT_Y_DPAD_D, RETROK_UNKNOWN, RETRO_DEF_ANALOGL_DPAD_DOWN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_DPAD_LEFT,RETRO_LBL_ANALOG_RIGHT_X_DPAD_L, RETROK_UNKNOWN, RETRO_DEF_ANALOGR_DPAD_LEFT, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_DPAD_RIGHT,RETRO_LBL_ANALOG_RIGHT_X_DPAD_R,RETROK_UNKNOWN, RETRO_DEF_ANALOGR_DPAD_RIGHT, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_DPAD_UP, RETRO_LBL_ANALOG_RIGHT_Y_DPAD_U,RETROK_UNKNOWN, RETRO_DEF_ANALOGR_DPAD_UP, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_DPAD_DOWN, RETRO_LBL_ANALOG_RIGHT_Y_DPAD_D,RETROK_UNKNOWN, RETRO_DEF_ANALOGR_DPAD_DOWN, AXIS_NONE },
|
|
#endif
|
|
|
|
{ true, RARCH_FAST_FORWARD_KEY, RETRO_LBL_FAST_FORWARD_KEY, RETROK_SPACE, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_FAST_FORWARD_HOLD_KEY, RETRO_LBL_FAST_FORWARD_HOLD_KEY,RETROK_l, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_LOAD_STATE_KEY, RETRO_LBL_LOAD_STATE_KEY, RETROK_F4, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_SAVE_STATE_KEY, RETRO_LBL_SAVE_STATE_KEY, RETROK_F2, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_FULLSCREEN_TOGGLE_KEY, RETRO_LBL_FULLSCREEN_TOGGLE_KEY,RETROK_f, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_QUIT_KEY, RETRO_LBL_QUIT_KEY, RETROK_ESCAPE, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_STATE_SLOT_PLUS, RETRO_LBL_STATE_SLOT_PLUS, RETROK_F7, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_STATE_SLOT_MINUS, RETRO_LBL_STATE_SLOT_MINUS, RETROK_F6, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_REWIND, RETRO_LBL_REWIND, RETROK_r, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_MOVIE_RECORD_TOGGLE, RETRO_LBL_MOVIE_RECORD_TOGGLE, RETROK_o, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_PAUSE_TOGGLE, RETRO_LBL_PAUSE_TOGGLE, RETROK_p, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_FRAMEADVANCE, RETRO_LBL_FRAMEADVANCE, RETROK_k, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_RESET, RETRO_LBL_RESET, RETROK_h, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_SHADER_NEXT, RETRO_LBL_SHADER_NEXT, RETROK_m, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_SHADER_PREV, RETRO_LBL_SHADER_PREV, RETROK_n, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_CHEAT_INDEX_PLUS, RETRO_LBL_CHEAT_INDEX_PLUS, RETROK_y, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_CHEAT_INDEX_MINUS, RETRO_LBL_CHEAT_INDEX_MINUS, RETROK_t, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_CHEAT_TOGGLE, RETRO_LBL_CHEAT_TOGGLE, RETROK_u, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_SCREENSHOT, RETRO_LBL_SCREENSHOT, RETROK_F8, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_DSP_CONFIG, RETRO_LBL_DSP_CONFIG, RETROK_c, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_MUTE, RETRO_LBL_MUTE, RETROK_F9, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_NETPLAY_FLIP, RETRO_LBL_NETPLAY_FLIP, RETROK_i, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_SLOWMOTION, RETRO_LBL_SLOWMOTION, RETROK_e, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ENABLE_HOTKEY, RETRO_LBL_ENABLE_HOTKEY, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_VOLUME_UP, RETRO_LBL_VOLUME_UP, RETROK_KP_PLUS, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_VOLUME_DOWN, RETRO_LBL_VOLUME_DOWN, RETROK_KP_MINUS,NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_OVERLAY_NEXT, RETRO_LBL_OVERLAY_NEXT, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
};
|
|
|
|
// Player 2-5
|
|
static const struct retro_keybind retro_keybinds_rest[] = {
|
|
// | RetroPad button | desc | keyboard key | js btn | js axis |
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_B, RETRO_LBL_JOYPAD_B, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_Y, RETRO_LBL_JOYPAD_Y, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_SELECT, RETRO_LBL_JOYPAD_SELECT, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_START, RETRO_LBL_JOYPAD_START, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_UP, RETRO_LBL_JOYPAD_UP, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_DOWN, RETRO_LBL_JOYPAD_DOWN, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_LEFT, RETRO_LBL_JOYPAD_LEFT, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_RIGHT, RETRO_LBL_JOYPAD_RIGHT, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_A, RETRO_LBL_JOYPAD_A, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_X, RETRO_LBL_JOYPAD_X, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_L, RETRO_LBL_JOYPAD_L, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_R, RETRO_LBL_JOYPAD_R, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_L2, RETRO_LBL_JOYPAD_L2, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_R2, RETRO_LBL_JOYPAD_R2, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_L3, RETRO_LBL_JOYPAD_L3, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RETRO_DEVICE_ID_JOYPAD_R3, RETRO_LBL_JOYPAD_R3, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
|
|
{ true, RARCH_TURBO_ENABLE, RETRO_LBL_TURBO_ENABLE, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_X_PLUS, RETRO_LBL_ANALOG_LEFT_X_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_X_MINUS, RETRO_LBL_ANALOG_LEFT_X_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_PLUS, RETRO_LBL_ANALOG_LEFT_Y_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_MINUS, RETRO_LBL_ANALOG_LEFT_Y_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_PLUS, RETRO_LBL_ANALOG_RIGHT_X_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_MINUS, RETRO_LBL_ANALOG_RIGHT_X_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_PLUS, RETRO_LBL_ANALOG_RIGHT_Y_PLUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_MINUS, RETRO_LBL_ANALOG_RIGHT_Y_MINUS, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
#ifdef RARCH_CONSOLE
|
|
{ true, RARCH_ANALOG_LEFT_X_DPAD_LEFT, RETRO_LBL_ANALOG_LEFT_X_DPAD_L, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_X_DPAD_RIGHT,RETRO_LBL_ANALOG_LEFT_X_DPAD_R, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_DPAD_UP, RETRO_LBL_ANALOG_LEFT_Y_DPAD_U, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_LEFT_Y_DPAD_DOWN, RETRO_LBL_ANALOG_LEFT_Y_DPAD_D, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_DPAD_LEFT,RETRO_LBL_ANALOG_RIGHT_X_DPAD_L, RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_X_DPAD_RIGHT,RETRO_LBL_ANALOG_RIGHT_X_DPAD_R,RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_DPAD_UP, RETRO_LBL_ANALOG_RIGHT_Y_DPAD_U,RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
{ true, RARCH_ANALOG_RIGHT_Y_DPAD_DOWN, RETRO_LBL_ANALOG_RIGHT_Y_DPAD_D,RETROK_UNKNOWN, NO_BTN, AXIS_NONE },
|
|
#endif
|
|
};
|
|
|
|
#endif
|
|
|