Please Help: IPAC2 and Hotkey
-
Hi Retro fellow gamers, please (please) help me. I have searched for the answer .
I have been following this excellent guide:
https://retropie.org.uk/forum/topic/8987/guide-setting-up-a-retropie-controls-using-ipac2-controller-extensive-tutorial-preconfigured-files/2I am stuck configuring a hotkey manually editing retroarch.cfg.
The guide keeps referencing hotkey + other key. I have tried every combo under the sun but I cannot get it working. Could some please how I should setup this line: ( I would like to setup key and another key to be used to exit the emulator)input_exit_emulator =
Thank you.
-
You should post your existing configuration (surround the config with code tags - three back-ticks
```
) and specify how you want to configure the exit combo (which keys ?). -
@mitu Thanks for reaching out to me, appreciate the help.
The part of the config file I configured was:
input_enable_hotkey = "5" input_exit_emulator = "v"
I have also tried:
''' input_enable_hotkey = "v" + "5" input_enable_hotkey = "v" + 5 ''' and a few other combinations.Presently, when I select v, it is exiting the emulator, but I need the hotkey + 5 to exit.
Hopefully I have tagged the code correctly , if not apologies :-)
-
Please post the entire configuration section where you mapped the IPAC2, not just the 2 lines.
Check if you haven't got an extrainput_enable_hotkey
in the same file or in another configuration file - the configuration lines you posted look fine. Are you sure your hotkey enable button on the IPAC2 is emitting5
and not other character ? -
@mitu I will post the entire file when I get home. Nope, there is no other duplication in that file that particular line. I have also double and triple checked the IPAC2 mappings, that key is correct :-)
-
cache_directory = "/tmp/retroarch" core_options_path = "/opt/retropie/configs/all/retroarch-core-options.cfg" system_directory = "~/RetroPie/BIOS" config_save_on_exit = "false" video_threaded = "true" video_smooth = "false" video_aspect_ratio_auto = "true" video_font_size = "12.000000" input_joypad_driver = "udev" input_autodetect_enable = "true" input_player1_a = "ctrl" input_player1_b = "alt" input_player1_y = "shift" input_player1_x = "z" input_player1_start = "1" input_player1_select = "5" input_player1_l = "space" input_player1_r = "x" input_player1_left = "left" input_player1_right = "right" input_player1_up = "up" input_player1_down = "down" menu_swap_ok_cancel_buttons = "true" input_state_slot_increase = "right" input_state_slot_decrease = "left" input_exit_emulator = "v" input_shader_next = "m" input_shader_prev = "n" input_rewind = "r" input_reset = "alt" input_menu_toggle = "space" all_users_control_menu = "true" menu_driver = "rgui" menu_show_online_updater = "true" menu_show_core_updater = "false" menu_unified_controls = "true" rewind_enable = "false" rewind_buffer_size = "10" rewind_granularity = "2" video_gpu_screenshot = "true" input_enable_hotkey = "5" auto_remaps_enable = "true" xmb_show_add = "false" xmb_show_history = "false" xmb_show_images = "false" xmb_show_music = "false" xmb_shadows_enable = "false" core_updater_buildbot_assets_url = "http://buildbot.libretro.com/assets/" libretro_directory = "~/.config/retroarch/cores" libretro_info_path = "~/.config/retroarch/cores" content_database_path = "~/.config/retroarch/database/rdb" cheat_database_path = "~/.config/retroarch/cheats" content_history_path = "/opt/retropie/configs/all/content_history.lpl" content_favorites_path = "/opt/retropie/configs/all/content_favorites.lpl" content_music_history_path = "/opt/retropie/configs/all/content_music_history.lpl" content_video_history_path = "/opt/retropie/configs/all/content_video_history.lpl" content_image_history_path = "/opt/retropie/configs/all/content_image_history.lpl" cursor_directory = "~/.config/retroarch/database/cursors" screenshot_directory = "~/.config/retroarch/screenshots" input_remapping_directory = "~/.config/retroarch/config/remaps" video_shader_dir = "~/.config/retroarch/shaders" video_filter_dir = "default" core_assets_directory = "~/.config/retroarch/downloads" assets_directory = "~/.config/retroarch/assets" dynamic_wallpapers_directory = "default" thumbnails_directory = "~/.config/retroarch/thumbnails" playlist_directory = "~/.config/retroarch/playlists" joypad_autoconfig_dir = "~/.config/retroarch/autoconfig" audio_filter_dir = "default" savefile_directory = "default" savestate_directory = "default" rgui_browser_directory = "default" rgui_config_directory = "~/.config/retroarch/config" overlay_directory = "~/.config/retroarch/overlay" screenshot_directory = "~/.config/retroarch/screenshots" video_driver = "gl" record_driver = "null" camera_driver = "null" wifi_driver = "null" location_driver = "null" audio_driver = "alsathread" audio_resampler = "sinc" input_driver = "udev" video_aspect_ratio = "-1.000000" video_scale = "3.000000" video_refresh_rate = "59.940060" audio_rate_control_delta = "0.005000" audio_max_timing_skew = "0.050000" audio_volume = "0.000000" audio_mixer_volume = "0.000000" input_overlay_opacity = "0.700000" input_overlay_scale = "1.000000" menu_wallpaper_opacity = "0.300000" menu_framebuffer_opacity = "0.900000" menu_footer_opacity = "1.000000" menu_header_opacity = "1.000000" video_message_pos_x = "0.050000" video_message_pos_y = "0.050000" fastforward_ratio = "0.000000" slowmotion_ratio = "3.000000" input_axis_threshold = "0.500000" state_slot = "0" netplay_check_frames = "30" input_bind_timeout = "5" input_turbo_period = "6" input_duty_cycle = "3" input_max_users = "5" input_menu_toggle_gamepad_combo = "0" audio_latency = "64" audio_block_frames = "0" autosave_interval = "0" libretro_log_level = "1" keyboard_gamepad_mapping_type = "1" input_poll_type_behavior = "2" video_monitor_index = "0" video_fullscreen_x = "0" video_fullscreen_y = "0" video_window_x = "0" video_window_y = "0" network_cmd_port = "55355" network_remote_base_port = "55400" dpi_override_value = "200" menu_thumbnails = "3" xmb_alpha_factor = "75" xmb_scale_factor = "100" xmb_theme = "0" xmb_menu_color_theme = "4" materialui_menu_color_theme = "0" menu_shader_pipeline = "1" audio_out_rate = "48000" custom_viewport_width = "1440" custom_viewport_height = "1080" custom_viewport_x = "240" custom_viewport_y = "0" content_history_size = "100" video_hard_sync_frames = "0" video_frame_delay = "0" video_max_swapchain_images = "3" video_swap_interval = "1" video_rotation = "0" aspect_ratio_index = "21" netplay_ip_port = "55435" netplay_input_latency_frames_min = "0" netplay_input_latency_frames_range = "0" user_language = "0" bundle_assets_extract_version_current = "0" bundle_assets_extract_last_version = "0" input_overlay_show_physical_inputs_port = "0" input_device_p1 = "0" input_player1_joypad_index = "0" input_libretro_device_p1 = "1" input_player1_analog_dpad_mode = "1" input_player1_mouse_index = "0" input_device_p2 = "0" input_player2_joypad_index = "1" input_libretro_device_p2 = "1" input_player2_analog_dpad_mode = "1" input_player2_mouse_index = "0" input_device_p3 = "0" input_player3_joypad_index = "2" input_libretro_device_p3 = "1" input_player3_analog_dpad_mode = "1" input_player3_mouse_index = "0" input_device_p4 = "0" input_player4_joypad_index = "3" input_libretro_device_p4 = "1" input_player4_analog_dpad_mode = "1" input_player4_mouse_index = "0" input_device_p5 = "0" input_player5_joypad_index = "4" input_libretro_device_p5 = "1" input_player5_analog_dpad_mode = "0" input_player5_mouse_index = "0" input_device_p6 = "0" input_player6_joypad_index = "5" input_libretro_device_p6 = "1" input_player6_analog_dpad_mode = "0" input_player6_mouse_index = "0" input_device_p7 = "0" input_player7_joypad_index = "6" input_libretro_device_p7 = "1" input_player7_analog_dpad_mode = "0" input_player7_mouse_index = "0" input_device_p8 = "0" input_player8_joypad_index = "7" input_libretro_device_p8 = "1" input_player8_analog_dpad_mode = "0" input_player8_mouse_index = "0" input_device_p9 = "0" input_player9_joypad_index = "8" input_libretro_device_p9 = "1" input_player9_analog_dpad_mode = "0" input_player9_mouse_index = "0" input_device_p10 = "0" input_player10_joypad_index = "9" input_libretro_device_p10 = "1" input_player10_analog_dpad_mode = "0" input_player10_mouse_index = "0" input_device_p11 = "0" input_player11_joypad_index = "10" input_libretro_device_p11 = "1" input_player11_analog_dpad_mode = "0" input_player11_mouse_index = "0" input_device_p12 = "0" input_player12_joypad_index = "11" input_libretro_device_p12 = "1" input_player12_analog_dpad_mode = "0" input_player12_mouse_index = "0" input_device_p13 = "0" input_player13_joypad_index = "12" input_libretro_device_p13 = "1" input_player13_analog_dpad_mode = "0" input_player13_mouse_index = "0" input_device_p14 = "0" input_player14_joypad_index = "13" input_libretro_device_p14 = "1" input_player14_analog_dpad_mode = "0" input_player14_mouse_index = "0" input_device_p15 = "0" input_player15_joypad_index = "14" input_libretro_device_p15 = "1" input_player15_analog_dpad_mode = "0" input_player15_mouse_index = "0" input_device_p16 = "0" input_player16_joypad_index = "15" input_libretro_device_p16 = "1" input_player16_analog_dpad_mode = "0" input_player16_mouse_index = "0" ui_companion_start_on_boot = "true" ui_companion_enable = "false" video_gpu_record = "false" input_remap_binds_enable = "true" netplay_public_announce = "true" netplay_start_as_spectator = "false" netplay_allow_slaves = "true" netplay_require_slaves = "false" netplay_stateless_mode = "false" netplay_client_swap_input = "true" netplay_use_mitm_server = "false" input_descriptor_label_show = "true" input_descriptor_hide_unbound = "false" load_dummy_on_core_shutdown = "true" check_firmware_before_loading = "false" builtin_mediaplayer_enable = "false" builtin_imageviewer_enable = "true" fps_show = "false" ui_menubar_enable = "true" suspend_screensaver_enable = "true" audio_sync = "true" video_shader_enable = "true" video_allow_rotate = "true" video_windowed_fullscreen = "true" video_crop_overscan = "true" video_scale_integer = "false" video_force_aspect = "true" video_shared_context = "false" auto_screenshot_filename = "true" video_force_srgb_disable = "false" video_fullscreen = "false" bundle_assets_extract_enable = "false" video_vsync = "true" video_hard_sync = "false" video_black_frame_insertion = "false" video_disable_composition = "false" pause_nonactive = "true" video_post_filter_record = "false" keyboard_gamepad_enable = "true" core_set_supports_no_game_enable = "true" audio_enable = "true" audio_mute_enable = "false" audio_mixer_mute_enable = "false" location_allow = "false" video_font_enable = "true" core_updater_auto_extract_archive = "true" camera_allow = "false" threaded_data_runloop_enable = "true" menu_throttle_framerate = "true" menu_linear_filter = "true" menu_horizontal_animation = "true" dpi_override_enable = "true" menu_pause_libretro = "true" menu_mouse_enable = "true" menu_pointer_enable = "false" menu_timedate_enable = "true" menu_battery_level_enable = "true" menu_core_enable = "true" menu_dynamic_wallpaper_enable = "false" materialui_icons_enable = "true" xmb_show_settings = "true" xmb_show_favorites = "true" xmb_show_netplay = "true" filter_by_current_core = "false" rgui_show_start_screen = "false" menu_navigation_wraparound_enable = "true" menu_navigation_browser_filter_supported_extensions_enable = "true" menu_show_advanced_settings = "false" cheevos_enable = "false" cheevos_test_unofficial = "false" cheevos_hardcore_mode_enable = "false" cheevos_verbose_enable = "false" # input_overlay_enable = "" input_overlay_enable_autopreferred = "true" input_overlay_show_physical_inputs = "false" input_overlay_hide_in_menu = "true" network_cmd_enable = "false" stdin_cmd_enable = "false" network_remote_enable = "false" netplay_nat_traversal = "true" block_sram_overwrite = "false" savestate_auto_index = "false" savestate_auto_save = "false" savestate_auto_load = "false" savestate_thumbnail_enable = "true" history_list_enable = "true" playlist_entry_remove = "true" game_specific_options = "true" auto_overrides_enable = "true" auto_shaders_enable = "true" sort_savefiles_enable = "false" sort_savestates_enable = "false" show_hidden_files = "false" audio_rate_control = "true" savestates_in_content_dir = "false" savefiles_in_content_dir = "false" systemfiles_in_content_dir = "false" screenshots_in_content_dir = "false" custom_bgm_enable = "false" network_remote_enable_user_p1 = "false" network_remote_enable_user_p2 = "false" network_remote_enable_user_p3 = "false" network_remote_enable_user_p4 = "false" network_remote_enable_user_p5 = "false" network_remote_enable_user_p6 = "false" network_remote_enable_user_p7 = "false" network_remote_enable_user_p8 = "false" network_remote_enable_user_p9 = "false" network_remote_enable_user_p10 = "false" network_remote_enable_user_p11 = "false" network_remote_enable_user_p12 = "false" network_remote_enable_user_p13 = "false" network_remote_enable_user_p14 = "false" network_remote_enable_user_p15 = "false" network_remote_enable_user_p16 = "false" log_verbosity = "false" perfcnt_enable = "false" video_message_color = "ffff00" menu_entry_normal_color = "ffffffff" menu_entry_hover_color = "ff64ff64" menu_title_color = "ff64ff64" gamma_correction = "false" flicker_filter_enable = "false" soft_filter_enable = "false" soft_filter_index = "0" current_resolution_id = "0" flicker_filter_index = "0" input_player1_b_btn = "nul" input_player1_b_axis = "nul" input_player1_y_btn = "nul" input_player1_y_axis = "nul" input_player1_select_btn = "nul" input_player1_select_axis = "nul" input_player1_start_btn = "nul" input_player1_start_axis = "nul" input_player1_up_btn = "nul" input_player1_up_axis = "nul" input_player1_down_btn = "nul" input_player1_down_axis = "nul" input_player1_left_btn = "nul" input_player1_left_axis = "nul" input_player1_right_btn = "nul" input_player1_right_axis = "nul" input_player1_a_btn = "nul" input_player1_a_axis = "nul" input_player1_x_btn = "nul" input_player1_x_axis = "nul" input_player1_l_btn = "nul" input_player1_l_axis = "nul" input_player1_r_btn = "nul" input_player1_r_axis = "nul" input_player1_l2 = "p" input_player1_l2_btn = "nul" input_player1_l2_axis = "nul" input_player1_r2 = "o" input_player1_r2_btn = "nul" input_player1_r2_axis = "nul" input_player1_l3 = "i" input_player1_l3_btn = "nul" input_player1_l3_axis = "nul" input_player1_r3 = "u" input_player1_r3_btn = "nul" input_player1_r3_axis = "nul" input_player1_l_x_plus = "nul" input_player1_l_x_plus_btn = "nul" input_player1_l_x_plus_axis = "nul" input_player1_l_x_minus = "nul" input_player1_l_x_minus_btn = "nul" input_player1_l_x_minus_axis = "nul" input_player1_l_y_plus = "nul" input_player1_l_y_plus_btn = "nul" input_player1_l_y_plus_axis = "nul" input_player1_l_y_minus = "nul" input_player1_l_y_minus_btn = "nul" input_player1_l_y_minus_axis = "nul" input_player1_r_x_plus = "nul" input_player1_r_x_plus_btn = "nul" input_player1_r_x_plus_axis = "nul" input_player1_r_x_minus = "nul" input_player1_r_x_minus_btn = "nul" input_player1_r_x_minus_axis = "nul" input_player1_r_y_plus = "nul" input_player1_r_y_plus_btn = "nul" input_player1_r_y_plus_axis = "nul" input_player1_r_y_minus = "nul" input_player1_r_y_minus_btn = "nul" input_player1_r_y_minus_axis = "nul" input_player1_turbo = "nul" input_player1_turbo_btn = "nul" input_player1_turbo_axis = "nul" input_toggle_fast_forward = "space" input_toggle_fast_forward_btn = "nul" input_toggle_fast_forward_axis = "nul" input_hold_fast_forward = "l" input_hold_fast_forward_btn = "nul" input_hold_fast_forward_axis = "nul" input_load_state = "f4" input_load_state_btn = "nul" input_load_state_axis = "nul" input_save_state = "f2" input_save_state_btn = "nul" input_save_state_axis = "nul" input_toggle_fullscreen = "f" input_toggle_fullscreen_btn = "nul" input_toggle_fullscreen_axis = "nul" input_exit_emulator_btn = "nul" input_exit_emulator_axis = "nul" input_state_slot_increase_btn = "nul" input_state_slot_increase_axis = "nul" input_state_slot_decrease_btn = "nul" input_state_slot_decrease_axis = "nul" input_rewind_btn = "nul" input_rewind_axis = "nul" input_movie_record_toggle = "o" input_movie_record_toggle_btn = "nul" input_movie_record_toggle_axis = "nul" input_pause_toggle = "p" input_pause_toggle_btn = "nul" input_pause_toggle_axis = "nul" input_frame_advance = "k" input_frame_advance_btn = "nul" input_frame_advance_axis = "nul" input_reset_btn = "nul" input_reset_axis = "nul" input_shader_next_btn = "nul" input_shader_next_axis = "nul" input_shader_prev_btn = "nul" input_shader_prev_axis = "nul" input_cheat_index_plus = "y" input_cheat_index_plus_btn = "nul" input_cheat_index_plus_axis = "nul" input_cheat_index_minus = "t" input_cheat_index_minus_btn = "nul" input_cheat_index_minus_axis = "nul" input_cheat_toggle = "u" input_cheat_toggle_btn = "nul" input_cheat_toggle_axis = "nul" input_screenshot = "f8" input_screenshot_btn = "nul" input_screenshot_axis = "nul" input_audio_mute = "f9" input_audio_mute_btn = "nul" input_audio_mute_axis = "nul" input_osk_toggle = "f12" input_osk_toggle_btn = "nul" input_osk_toggle_axis = "nul" input_netplay_flip_players_1_2 = "nul" input_netplay_flip_players_1_2_btn = "nul" input_netplay_flip_players_1_2_axis = "nul" input_netplay_game_watch = "i" input_netplay_game_watch_btn = "nul" input_netplay_game_watch_axis = "nul" input_slowmotion = "e" input_slowmotion_btn = "nul" input_slowmotion_axis = "nul" input_enable_hotkey_btn = "nul" input_enable_hotkey_axis = "nul" input_volume_up = "add" input_volume_up_btn = "nul" input_volume_up_axis = "nul" input_volume_down = "subtract" input_volume_down_btn = "nul" input_volume_down_axis = "nul" input_overlay_next = "nul" input_overlay_next_btn = "nul" input_overlay_next_axis = "nul" input_disk_eject_toggle = "nul" input_disk_eject_toggle_btn = "nul" input_disk_eject_toggle_axis = "nul" input_disk_next = "nul" input_disk_next_btn = "nul" input_disk_next_axis = "nul" input_disk_prev = "nul" input_disk_prev_btn = "nul" input_disk_prev_axis = "nul" input_grab_mouse_toggle = "f11" input_grab_mouse_toggle_btn = "nul" input_grab_mouse_toggle_axis = "nul" input_game_focus_toggle = "scroll_lock" input_game_focus_toggle_btn = "nul" input_game_focus_toggle_axis = "nul" input_menu_toggle_btn = "nul" input_menu_toggle_axis = "nul" input_player2_b = "s" input_player2_b_btn = "nul" input_player2_b_axis = "nul" input_player2_y = "w" input_player2_y_btn = "nul" input_player2_y_axis = "nul" input_player2_select = "6" input_player2_select_btn = "nul" input_player2_select_axis = "nul" input_player2_start = "2" input_player2_start_btn = "nul" input_player2_start_axis = "nul" input_player2_up = "r" input_player2_up_btn = "nul" input_player2_up_axis = "nul" input_player2_down = "f" input_player2_down_btn = "nul" input_player2_down_axis = "nul" input_player2_left = "d" input_player2_left_btn = "nul" input_player2_left_axis = "nul" input_player2_right = "g" input_player2_right_btn = "nul" input_player2_right_axis = "nul" input_player2_a = "a" input_player2_a_btn = "nul" input_player2_a_axis = "nul" input_player2_x = "i" input_player2_x_btn = "nul" input_player2_x_axis = "nul" input_player2_l = "q" input_player2_l_btn = "nul" input_player2_l_axis = "nul" input_player2_r = "k" input_player2_r_btn = "nul" input_player2_r_axis = "nul" input_player2_l2 = "nul" input_player2_l2_btn = "nul" input_player2_l2_axis = "nul" input_player2_r2 = "nul" input_player2_r2_btn = "nul" input_player2_r2_axis = "nul" input_player2_l3 = "nul" input_player2_l3_btn = "nul" input_player2_l3_axis = "nul" input_player2_r3 = "nul" input_player2_r3_btn = "nul" input_player2_r3_axis = "nul" input_player2_l_x_plus = "nul" input_player2_l_x_plus_btn = "nul" input_player2_l_x_plus_axis = "nul" input_player2_l_x_minus = "nul" input_player2_l_x_minus_btn = "nul" input_player2_l_x_minus_axis = "nul" input_player2_l_y_plus = "nul" input_player2_l_y_plus_btn = "nul" input_player2_l_y_plus_axis = "nul" input_player2_l_y_minus = "nul" input_player2_l_y_minus_btn = "nul" input_player2_l_y_minus_axis = "nul" input_player2_r_x_plus = "nul" input_player2_r_x_plus_btn = "nul" input_player2_r_x_plus_axis = "nul" input_player2_r_x_minus = "nul" input_player2_r_x_minus_btn = "nul" input_player2_r_x_minus_axis = "nul" input_player2_r_y_plus = "nul" input_player2_r_y_plus_btn = "nul" input_player2_r_y_plus_axis = "nul" input_player2_r_y_minus = "nul" input_player2_r_y_minus_btn = "nul" input_player2_r_y_minus_axis = "nul" input_player2_turbo = "nul" input_player2_turbo_btn = "nul" input_player2_turbo_axis = "nul" xmb_font = "" netplay_nickname = "" video_filter = "" audio_dsp_plugin = "" core_updater_buildbot_url = "" netplay_ip_address = "" netplay_password = "" netplay_spectate_password = "" video_shader = "" menu_wallpaper = "" input_overlay = "" video_font_path = "" content_history_dir = "" resampler_directory = "" recording_output_directory = "" recording_config_directory = "" xmb_font = "" playlist_names = "" playlist_cores = "" audio_device = "" camera_device = "" cheevos_username = "" cheevos_password = "" video_context_driver = "" input_keyboard_layout = "" bundle_assets_src_path = "" bundle_assets_dst_path = "" bundle_assets_dst_path_subdir = ""
-
@mitu hey, just uploaded the entire contents of that file.
Could it be that I have the button 5 configured elsewhere?
input_player1_select = "5"
I had 5 selected also as the hotey -
Could it be that I have the button 5 configured elsewhere?
input_player1_select = "5"
I had 5 selected also as the hoteyThat's ok, the 'hotkey enable' key can be used for other functions.
Try this replacing the5
withnum5
and see if it works.input_player1_select = "num5" input_enable_hotkey = "num5"
Also, when pasting a large text file, use pastebin.com, not the topic - it's very difficult to search and look for clues in the topic.
-
@mitu You sir are a gent. That did the trick. Thanks for all your help.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.