2012-04-21 23:13:50 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2013-01-01 01:37:37 +01:00
|
|
|
* Copyright (C) 2010-2013 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2013 - Daniel De Matteis
|
2012-02-09 02:36:09 +01:00
|
|
|
*
|
2012-04-21 23:13:50 +02:00
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
2012-02-09 02:36:09 +01:00
|
|
|
* 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.
|
|
|
|
*
|
2012-04-21 23:13:50 +02:00
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
2012-02-09 02:36:09 +01:00
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
2012-04-21 23:31:57 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
2012-02-09 02:36:09 +01:00
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2013-01-09 17:49:43 +01:00
|
|
|
#ifndef _RMENU_XUI_H_
|
|
|
|
#define _RMENU_XUI_H_
|
2012-01-22 01:43:54 +01:00
|
|
|
|
2013-04-18 15:04:09 +02:00
|
|
|
#include "menu_common.h"
|
|
|
|
|
2012-05-23 08:37:31 +02:00
|
|
|
enum
|
|
|
|
{
|
2012-05-29 15:25:39 +02:00
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_B = 0,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_Y,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_SELECT,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_START,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_UP,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_DOWN,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_LEFT,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_RIGHT,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_A,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_X,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_L,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_R,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_L2,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_R2,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_L3,
|
|
|
|
SETTING_CONTROLS_RETRO_DEVICE_ID_JOYPAD_R3,
|
2012-08-22 13:44:02 +02:00
|
|
|
SETTING_CONTROLS_DPAD_EMULATION,
|
2012-05-29 15:25:39 +02:00
|
|
|
SETTING_CONTROLS_DEFAULT_ALL
|
2012-05-23 08:37:31 +02:00
|
|
|
};
|
|
|
|
|
2012-05-22 02:19:40 +02:00
|
|
|
enum
|
|
|
|
{
|
2012-08-22 03:56:57 +02:00
|
|
|
INPUT_LOOP_NONE = 0,
|
|
|
|
INPUT_LOOP_RESIZE_MODE,
|
|
|
|
INPUT_LOOP_FILEBROWSER
|
2012-05-22 02:19:40 +02:00
|
|
|
};
|
|
|
|
|
2013-05-09 18:12:54 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
INGAME_MENU_CHANGE_LIBRETRO_CORE = 0,
|
|
|
|
INGAME_MENU_LOAD_GAME_HISTORY_MODE,
|
|
|
|
INGAME_MENU_CHANGE_GAME,
|
|
|
|
INGAME_MENU_CORE_OPTIONS_MODE,
|
|
|
|
INGAME_MENU_VIDEO_OPTIONS_MODE,
|
|
|
|
INGAME_MENU_AUDIO_OPTIONS_MODE,
|
|
|
|
INGAME_MENU_INPUT_OPTIONS_MODE,
|
|
|
|
INGAME_MENU_PATH_OPTIONS_MODE,
|
|
|
|
INGAME_MENU_SETTINGS_MODE,
|
|
|
|
INGAME_MENU_LOAD_STATE,
|
|
|
|
INGAME_MENU_SAVE_STATE,
|
|
|
|
INGAME_MENU_SCREENSHOT_MODE,
|
|
|
|
INGAME_MENU_RETURN_TO_GAME,
|
|
|
|
INGAME_MENU_RESET,
|
|
|
|
INGAME_MENU_QUIT_RETROARCH,
|
|
|
|
INGAME_MENU_MAIN_MODE,
|
|
|
|
};
|
|
|
|
|
|
|
|
#define XUI_CONTROL_NAVIGATE_OK (XUI_CONTROL_NAVIGATE_RIGHT + 1)
|
|
|
|
|
2013-03-09 22:30:35 +01:00
|
|
|
bool menu_iterate_xui(void);
|
2013-04-18 19:05:43 +02:00
|
|
|
void filebrowser_fetch_directory_entries(uint64_t action);
|
2012-05-23 08:37:31 +02:00
|
|
|
|
2012-01-22 01:43:54 +01:00
|
|
|
#endif
|