mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #10836 from jdgleaver/hotkey-sublabels
Add sublabels to all hotkey bind entries
This commit is contained in:
commit
1979b42834
@ -469,6 +469,8 @@ unsigned input_config_bind_map_get_meta(unsigned i);
|
||||
|
||||
const char *input_config_bind_map_get_desc(unsigned i);
|
||||
|
||||
uint8_t input_config_bind_map_get_retro_key(unsigned i);
|
||||
|
||||
/* auto_bind can be NULL. */
|
||||
void input_config_get_bind_string(char *buf,
|
||||
const struct retro_keybind *bind,
|
||||
|
@ -2111,114 +2111,230 @@ MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO,
|
||||
"Controller button combination to toggle menu."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_HOTKEY_BLOCK_DELAY,
|
||||
"Hotkey Enable Delay (Frames)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BLOCK_DELAY,
|
||||
"Adds a delay in frames before normal input is blocked after pressing (and holding) the assigned 'Hotkey Enable' key. Allows normal input from the 'Hotkey Enable' key to be captured when it is mapped to another action (e.g. RetroPad 'Select')."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_FAST_FORWARD_KEY,
|
||||
"Fast-Forward (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_KEY,
|
||||
"Switches between fast-forward and normal speed."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_FAST_FORWARD_HOLD_KEY,
|
||||
"Fast-Forward (Hold)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_HOLD_KEY,
|
||||
"Enables fast-forward when held. Content runs at normal speed when key is released."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_SLOWMOTION_KEY,
|
||||
"Slow-Motion (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_KEY,
|
||||
"Switches between slow-motion and normal speed."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_SLOWMOTION_HOLD_KEY,
|
||||
"Slow-Motion (Hold)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_HOLD_KEY,
|
||||
"Enables slow-motion when held. Content runs at normal speed when key is released."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_LOAD_STATE_KEY,
|
||||
"Load State"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_LOAD_STATE_KEY,
|
||||
"Loads a saved state from the currently selected slot."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_SAVE_STATE_KEY,
|
||||
"Save State"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SAVE_STATE_KEY,
|
||||
"Saves a state to the currently selected slot."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_FULLSCREEN_TOGGLE_KEY,
|
||||
"Fullscreen (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FULLSCREEN_TOGGLE_KEY,
|
||||
"Switches between fullscreen and windowed display modes."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_QUIT_KEY,
|
||||
"Quit RetroArch"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_QUIT_KEY,
|
||||
"Closes RetroArch, ensuring all save data and configuration files are flushed to disk."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_STATE_SLOT_PLUS,
|
||||
"Save State Slot +"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_PLUS,
|
||||
"Increments the currently selected save state slot index."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_STATE_SLOT_MINUS,
|
||||
"Save State Slot -"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_MINUS,
|
||||
"Decrements the currently selected save state slot index."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_REWIND,
|
||||
"Rewind"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_REWIND_HOTKEY,
|
||||
"Rewinds current content while key is held. Note: 'Rewind Support' must be enabled."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_BSV_RECORD_TOGGLE,
|
||||
"Record Input Replay (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_BSV_RECORD_TOGGLE,
|
||||
"Switches recording of gameplay inputs in .bsv format on/off."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_PAUSE_TOGGLE,
|
||||
"Pause (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_PAUSE_TOGGLE,
|
||||
"Switches running content between paused and non-paused states."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_FRAMEADVANCE,
|
||||
"Frameadvance"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FRAMEADVANCE,
|
||||
"When paused, advances content by one frame."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_RESET,
|
||||
"Reset Game"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_RESET,
|
||||
"Restarts the current content from the beginning."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_SHADER_NEXT,
|
||||
"Next Shader"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SHADER_NEXT,
|
||||
"Loads and applies the next shader preset file in the root of the 'Video Shader' directory."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_SHADER_PREV,
|
||||
"Previous Shader"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SHADER_PREV,
|
||||
"Loads and applies the previous shader preset file in the root of the 'Video Shader' directory."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_CHEAT_INDEX_PLUS,
|
||||
"Next Cheat Index"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_PLUS,
|
||||
"Increments the currently selected cheat index."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_CHEAT_INDEX_MINUS,
|
||||
"Previous Cheat Index"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_MINUS,
|
||||
"Decrements the currently selected cheat index."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_CHEAT_TOGGLE,
|
||||
"Cheats (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_TOGGLE,
|
||||
"Switches the currently selected cheat on/off."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_SCREENSHOT,
|
||||
"Take Screenshot"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SCREENSHOT,
|
||||
"Captures an image of the current content."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_MUTE,
|
||||
"Audio Mute (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_MUTE,
|
||||
"Switches audio output on/off."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_OSK,
|
||||
"On-Screen Keyboard (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_OSK,
|
||||
"Switches on-screen keyboard on/off"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_FPS_TOGGLE,
|
||||
"Show FPS (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FPS_TOGGLE,
|
||||
"Switches 'frames per second' status indicator on/off."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_SEND_DEBUG_INFO,
|
||||
"Send Debug Info"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SEND_DEBUG_INFO,
|
||||
"Sends diagnostic info about your device and RetroArch configuration to our servers for analysis."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_NETPLAY_HOST_TOGGLE,
|
||||
"Netplay Hosting (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_HOST_TOGGLE,
|
||||
"Switches netplay hosting on/off."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_NETPLAY_GAME_WATCH,
|
||||
"Netplay Play/Spectate Mode (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_GAME_WATCH,
|
||||
"Switches current netplay session between 'play' and 'spectate' modes."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_ENABLE_HOTKEY,
|
||||
"Hotkey Enable"
|
||||
@ -2227,66 +2343,110 @@ MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_ENABLE_HOTKEY,
|
||||
"When assigned, the 'Hotkey Enable' key must be pressed (and held) before any other hotkeys are recognised. Allows controller buttons to be mapped to hotkey functions without affecting normal input."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_HOTKEY_BLOCK_DELAY,
|
||||
"Hotkey Enable Delay (Frames)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BLOCK_DELAY,
|
||||
"Adds a delay in frames before normal input is blocked after pressing (and holding) the assigned 'Hotkey Enable' key. Allows normal input from the 'Hotkey Enable' key to be captured when it is mapped to another action (e.g. RetroPad 'Select')."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_VOLUME_UP,
|
||||
"Volume Up"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_UP,
|
||||
"Increases output audio volume level."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_VOLUME_DOWN,
|
||||
"Volume Down"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_DOWN,
|
||||
"Decreases output audio volume level."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_OVERLAY_NEXT,
|
||||
"Next Overlay"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_OVERLAY_NEXT,
|
||||
"Switches to the next available layout of the currently active on-screen overlay."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_DISK_EJECT_TOGGLE,
|
||||
"Disc Eject Toggle"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_DISK_EJECT_TOGGLE,
|
||||
"If virtual disc tray is closed, opens it and removes the loaded disc. Otherwise, inserts currently selected disc and closes the tray."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_DISK_NEXT,
|
||||
"Next Disc"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_DISK_NEXT,
|
||||
"Increments the currently selected disc index. Note: Virtual disc tray must be open."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_DISK_PREV,
|
||||
"Previous Disc"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_DISK_PREV,
|
||||
"Decrements the currently selected disc index. Note: Virtual disc tray must be open."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_GRAB_MOUSE_TOGGLE,
|
||||
"Grab Mouse (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_GRAB_MOUSE_TOGGLE,
|
||||
"Grabs or releases the mouse. When grabbed, the system cursor is hidden and confined to the RetroArch display window, improving relative mouse input."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_GAME_FOCUS_TOGGLE,
|
||||
"Game Focus (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_GAME_FOCUS_TOGGLE,
|
||||
"Enables or disables 'Game Focus' mode. When content has focus, hotkeys are disabled (full keyboard input is passed to the running core) and the mouse is grabbed."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_UI_COMPANION_TOGGLE,
|
||||
"Desktop Menu (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_UI_COMPANION_TOGGLE,
|
||||
"Opens the companion WIMP (Windows, Icons, Menus, Pointer) desktop user interface."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_MENU_TOGGLE,
|
||||
"Menu (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_MENU_TOGGLE,
|
||||
"Switches the current display between menu and running content."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_RECORDING_TOGGLE,
|
||||
"Recording (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_RECORDING_TOGGLE,
|
||||
"Starts/stops recording of the current session to a local video file."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_STREAMING_TOGGLE,
|
||||
"Streaming (Toggle)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_STREAMING_TOGGLE,
|
||||
"Starts/stops streaming of the current session to an online video platform."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_AI_SERVICE,
|
||||
"AI Service"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_AI_SERVICE,
|
||||
"Captures an image of the current content then translates and/or reads aloud any on-screen text. Note: 'AI Service' Must be enabled and configured."
|
||||
)
|
||||
|
||||
/* Settings > Input > Port # Binds */
|
||||
|
||||
@ -10838,6 +10998,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_META_RESTART_KEY,
|
||||
"Restart RetroArch"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_RESTART_KEY,
|
||||
"Exits then restarts RetroArch. Required for the activation of certain menu settings (for example, when changing menu driver)."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_AUDIO_BLOCK_FRAMES,
|
||||
"Block Frames"
|
||||
|
@ -213,8 +213,52 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_statistics_show, MENU_
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_netplay_settings, MENU_ENUM_SUBLABEL_NETPLAY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_user_bind_settings, MENU_ENUM_SUBLABEL_INPUT_USER_BINDS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_hotkey_settings, MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BINDS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_enable_hotkey, MENU_ENUM_SUBLABEL_INPUT_META_ENABLE_HOTKEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_hotkey_block_delay, MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BLOCK_DELAY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_fast_forward_key, MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_KEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_fast_forward_hold_key, MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_HOLD_KEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_slowmotion_key, MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_KEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_slowmotion_hold_key, MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_HOLD_KEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_load_state_key, MENU_ENUM_SUBLABEL_INPUT_META_LOAD_STATE_KEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_save_state_key, MENU_ENUM_SUBLABEL_INPUT_META_SAVE_STATE_KEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_fullscreen_toggle_key, MENU_ENUM_SUBLABEL_INPUT_META_FULLSCREEN_TOGGLE_KEY)
|
||||
#ifdef HAVE_LAKKA
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_restart_key, MENU_ENUM_SUBLABEL_INPUT_META_RESTART_KEY)
|
||||
#else
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_quit_key, MENU_ENUM_SUBLABEL_INPUT_META_QUIT_KEY)
|
||||
#endif
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_state_slot_plus, MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_PLUS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_state_slot_minus, MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_MINUS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_rewind_hotkey, MENU_ENUM_SUBLABEL_INPUT_META_REWIND_HOTKEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_bsv_record_toggle, MENU_ENUM_SUBLABEL_INPUT_META_BSV_RECORD_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_pause_toggle, MENU_ENUM_SUBLABEL_INPUT_META_PAUSE_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_frameadvance, MENU_ENUM_SUBLABEL_INPUT_META_FRAMEADVANCE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_reset, MENU_ENUM_SUBLABEL_INPUT_META_RESET)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_shader_next, MENU_ENUM_SUBLABEL_INPUT_META_SHADER_NEXT)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_shader_prev, MENU_ENUM_SUBLABEL_INPUT_META_SHADER_PREV)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_cheat_index_plus, MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_PLUS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_cheat_index_minus, MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_MINUS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_cheat_toggle, MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_screenshot, MENU_ENUM_SUBLABEL_INPUT_META_SCREENSHOT)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_mute, MENU_ENUM_SUBLABEL_INPUT_META_MUTE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_osk, MENU_ENUM_SUBLABEL_INPUT_META_OSK)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_fps_toggle, MENU_ENUM_SUBLABEL_INPUT_META_FPS_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_send_debug_info, MENU_ENUM_SUBLABEL_INPUT_META_SEND_DEBUG_INFO)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_netplay_host_toggle, MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_HOST_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_netplay_game_watch, MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_GAME_WATCH)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_enable_hotkey, MENU_ENUM_SUBLABEL_INPUT_META_ENABLE_HOTKEY)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_volume_up, MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_UP)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_volume_down, MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_DOWN)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_overlay_next, MENU_ENUM_SUBLABEL_INPUT_META_OVERLAY_NEXT)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_disk_eject_toggle, MENU_ENUM_SUBLABEL_INPUT_META_DISK_EJECT_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_disk_next, MENU_ENUM_SUBLABEL_INPUT_META_DISK_NEXT)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_disk_prev, MENU_ENUM_SUBLABEL_INPUT_META_DISK_PREV)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_grab_mouse_toggle, MENU_ENUM_SUBLABEL_INPUT_META_GRAB_MOUSE_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_game_focus_toggle, MENU_ENUM_SUBLABEL_INPUT_META_GAME_FOCUS_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_ui_companion_toggle, MENU_ENUM_SUBLABEL_INPUT_META_UI_COMPANION_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_recording_toggle, MENU_ENUM_SUBLABEL_INPUT_META_RECORDING_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_streaming_toggle, MENU_ENUM_SUBLABEL_INPUT_META_STREAMING_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_ai_service, MENU_ENUM_SUBLABEL_INPUT_META_AI_SERVICE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_meta_menu_toggle, MENU_ENUM_SUBLABEL_INPUT_META_MENU_TOGGLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_hotkey_block_delay, MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BLOCK_DELAY)
|
||||
#ifdef HAVE_MATERIALUI
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_materialui_icons_enable, MENU_ENUM_SUBLABEL_MATERIALUI_ICONS_ENABLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_materialui_landscape_layout_optimization, MENU_ENUM_SUBLABEL_MATERIALUI_LANDSCAPE_LAYOUT_OPTIMIZATION)
|
||||
@ -1380,14 +1424,148 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Hotkey binds require special handling
|
||||
* > Only the 'enable_hotkey' entry has a sublabel */
|
||||
/* Hotkey binds require special handling */
|
||||
if ((cbs->enum_idx >= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN) &&
|
||||
(cbs->enum_idx <= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END) &&
|
||||
string_is_equal(label, "enable_hotkey"))
|
||||
(cbs->enum_idx <= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END))
|
||||
{
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_enable_hotkey);
|
||||
return 0;
|
||||
unsigned bind_index = (unsigned)(cbs->enum_idx -
|
||||
MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN);
|
||||
|
||||
if (bind_index < RARCH_BIND_LIST_END)
|
||||
{
|
||||
switch (input_config_bind_map_get_retro_key(bind_index))
|
||||
{
|
||||
case RARCH_FAST_FORWARD_KEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_fast_forward_key);
|
||||
return 0;
|
||||
case RARCH_FAST_FORWARD_HOLD_KEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_fast_forward_hold_key);
|
||||
return 0;
|
||||
case RARCH_SLOWMOTION_KEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_slowmotion_key);
|
||||
return 0;
|
||||
case RARCH_SLOWMOTION_HOLD_KEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_slowmotion_hold_key);
|
||||
return 0;
|
||||
case RARCH_LOAD_STATE_KEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_load_state_key);
|
||||
return 0;
|
||||
case RARCH_SAVE_STATE_KEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_save_state_key);
|
||||
return 0;
|
||||
case RARCH_FULLSCREEN_TOGGLE_KEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_fullscreen_toggle_key);
|
||||
return 0;
|
||||
case RARCH_QUIT_KEY:
|
||||
#ifdef HAVE_LAKKA
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_restart_key);
|
||||
#else
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_quit_key);
|
||||
#endif
|
||||
return 0;
|
||||
case RARCH_STATE_SLOT_PLUS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_state_slot_plus);
|
||||
return 0;
|
||||
case RARCH_STATE_SLOT_MINUS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_state_slot_minus);
|
||||
return 0;
|
||||
case RARCH_REWIND:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_rewind_hotkey);
|
||||
return 0;
|
||||
case RARCH_BSV_RECORD_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_bsv_record_toggle);
|
||||
return 0;
|
||||
case RARCH_PAUSE_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_pause_toggle);
|
||||
return 0;
|
||||
case RARCH_FRAMEADVANCE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_frameadvance);
|
||||
return 0;
|
||||
case RARCH_RESET:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_reset);
|
||||
return 0;
|
||||
case RARCH_SHADER_NEXT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_shader_next);
|
||||
return 0;
|
||||
case RARCH_SHADER_PREV:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_shader_prev);
|
||||
return 0;
|
||||
case RARCH_CHEAT_INDEX_PLUS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_cheat_index_plus);
|
||||
return 0;
|
||||
case RARCH_CHEAT_INDEX_MINUS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_cheat_index_minus);
|
||||
return 0;
|
||||
case RARCH_CHEAT_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_cheat_toggle);
|
||||
return 0;
|
||||
case RARCH_SCREENSHOT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_screenshot);
|
||||
return 0;
|
||||
case RARCH_MUTE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_mute);
|
||||
return 0;
|
||||
case RARCH_OSK:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_osk);
|
||||
return 0;
|
||||
case RARCH_FPS_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_fps_toggle);
|
||||
return 0;
|
||||
case RARCH_SEND_DEBUG_INFO:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_send_debug_info);
|
||||
return 0;
|
||||
case RARCH_NETPLAY_HOST_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_netplay_host_toggle);
|
||||
return 0;
|
||||
case RARCH_NETPLAY_GAME_WATCH:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_netplay_game_watch);
|
||||
return 0;
|
||||
case RARCH_ENABLE_HOTKEY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_enable_hotkey);
|
||||
return 0;
|
||||
case RARCH_VOLUME_UP:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_volume_up);
|
||||
return 0;
|
||||
case RARCH_VOLUME_DOWN:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_volume_down);
|
||||
return 0;
|
||||
case RARCH_OVERLAY_NEXT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_overlay_next);
|
||||
return 0;
|
||||
case RARCH_DISK_EJECT_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_disk_eject_toggle);
|
||||
return 0;
|
||||
case RARCH_DISK_NEXT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_disk_next);
|
||||
return 0;
|
||||
case RARCH_DISK_PREV:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_disk_prev);
|
||||
return 0;
|
||||
case RARCH_GRAB_MOUSE_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_grab_mouse_toggle);
|
||||
return 0;
|
||||
case RARCH_GAME_FOCUS_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_game_focus_toggle);
|
||||
return 0;
|
||||
case RARCH_UI_COMPANION_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_ui_companion_toggle);
|
||||
return 0;
|
||||
case RARCH_MENU_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_menu_toggle);
|
||||
return 0;
|
||||
case RARCH_RECORDING_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_recording_toggle);
|
||||
return 0;
|
||||
case RARCH_STREAMING_TOGGLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_streaming_toggle);
|
||||
return 0;
|
||||
case RARCH_AI_SERVICE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_ai_service);
|
||||
return 0;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (cbs->enum_idx != MSG_UNKNOWN)
|
||||
|
@ -4556,7 +4556,7 @@ unsigned menu_displaylist_build_list(
|
||||
* entire list for it... */
|
||||
for (i = 0; i < RARCH_BIND_LIST_END; i++)
|
||||
{
|
||||
if (string_is_equal(input_config_bind_map_get_base(i), "enable_hotkey"))
|
||||
if (input_config_bind_map_get_retro_key(i) == RARCH_ENABLE_HOTKEY)
|
||||
{
|
||||
hotkey_enable_found = true;
|
||||
hotkey_enable_index = i;
|
||||
|
52
msg_hash.h
52
msg_hash.h
@ -856,7 +856,48 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_SAVE_AUTOCONFIG,
|
||||
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_INDEX,
|
||||
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_HOLD_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_HOLD_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_LOAD_STATE_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SAVE_STATE_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FULLSCREEN_TOGGLE_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_QUIT_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_RESTART_KEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_PLUS,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_MINUS,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_REWIND_HOTKEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_BSV_RECORD_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_PAUSE_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FRAMEADVANCE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_RESET,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SHADER_NEXT,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SHADER_PREV,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_PLUS,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_MINUS,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SCREENSHOT,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_MUTE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_OSK,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_FPS_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_SEND_DEBUG_INFO,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_HOST_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_GAME_WATCH,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_ENABLE_HOTKEY,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_UP,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_DOWN,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_OVERLAY_NEXT,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_DISK_EJECT_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_DISK_NEXT,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_DISK_PREV,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_GRAB_MOUSE_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_GAME_FOCUS_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_UI_COMPANION_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_RECORDING_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_STREAMING_TOGGLE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_AI_SERVICE,
|
||||
MENU_ENUM_SUBLABEL_INPUT_META_MENU_TOGGLE,
|
||||
|
||||
MENU_LABEL(INPUT_MAX_USERS),
|
||||
MENU_LABEL(INPUT_USER_BINDS),
|
||||
@ -1573,6 +1614,17 @@ enum msg_hash_enums
|
||||
MENU_LABEL(REWIND_GRANULARITY),
|
||||
MENU_LABEL(REWIND_BUFFER_SIZE),
|
||||
MENU_LABEL(REWIND_BUFFER_SIZE_STEP),
|
||||
/* TODO/FIXME: INPUT_META_REWIND is incorrectly defined;
|
||||
* the LABEL/SUBLABEL enums should be entered 'manually',
|
||||
* like all the other hotkeys. Moreover, the resultant
|
||||
* MENU_ENUM_SUBLABEL_INPUT_META_REWIND enum is incorrectly
|
||||
* used for the MENU_ENUM_LABEL_REWIND_SETTINGS menu entry.
|
||||
* Because of this mistake, we now have improper entries
|
||||
* in all the translation files, which cannot easily be removed
|
||||
* now that everything is handled via Crowdin.
|
||||
* To work around this error, we have to use a separate
|
||||
* MENU_ENUM_SUBLABEL_INPUT_META_REWIND_HOTKEY enum
|
||||
* for the actual rewind hotkey sublabel... */
|
||||
MENU_LABEL(INPUT_META_REWIND),
|
||||
MENU_LABEL(INPUT_META_CHEAT_DETAILS),
|
||||
MENU_LABEL(INPUT_META_CHEAT_SEARCH),
|
||||
|
11
retroarch.c
11
retroarch.c
@ -2505,7 +2505,7 @@ const struct input_bind_map input_config_bind_map[RARCH_BIND_LIST_END_NULL] = {
|
||||
DECLARE_META_BIND(1, toggle_fast_forward, RARCH_FAST_FORWARD_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_FAST_FORWARD_KEY),
|
||||
DECLARE_META_BIND(2, hold_fast_forward, RARCH_FAST_FORWARD_HOLD_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_FAST_FORWARD_HOLD_KEY),
|
||||
DECLARE_META_BIND(1, toggle_slowmotion, RARCH_SLOWMOTION_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_SLOWMOTION_KEY),
|
||||
DECLARE_META_BIND(2, hold_slowmotion, RARCH_SLOWMOTION_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_SLOWMOTION_HOLD_KEY),
|
||||
DECLARE_META_BIND(2, hold_slowmotion, RARCH_SLOWMOTION_HOLD_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_SLOWMOTION_HOLD_KEY),
|
||||
DECLARE_META_BIND(1, load_state, RARCH_LOAD_STATE_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_LOAD_STATE_KEY),
|
||||
DECLARE_META_BIND(1, save_state, RARCH_SAVE_STATE_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_SAVE_STATE_KEY),
|
||||
DECLARE_META_BIND(2, toggle_fullscreen, RARCH_FULLSCREEN_TOGGLE_KEY, MENU_ENUM_LABEL_VALUE_INPUT_META_FULLSCREEN_TOGGLE_KEY),
|
||||
@ -25228,6 +25228,15 @@ const char *input_config_bind_map_get_desc(unsigned i)
|
||||
return msg_hash_to_str(keybind->desc);
|
||||
}
|
||||
|
||||
uint8_t input_config_bind_map_get_retro_key(unsigned i)
|
||||
{
|
||||
const struct input_bind_map *keybind =
|
||||
(const struct input_bind_map*)INPUT_CONFIG_BIND_MAP_GET(i);
|
||||
if (!keybind)
|
||||
return 0;
|
||||
return keybind->retro_key;
|
||||
}
|
||||
|
||||
static void input_config_parse_key(
|
||||
config_file_t *conf,
|
||||
const char *prefix, const char *btn,
|
||||
|
Loading…
x
Reference in New Issue
Block a user