Fix Hotkey Controller Profile display with boxes for each Wiimote

This commit is contained in:
3t13nn3
2020-02-27 06:02:48 +01:00
committed by Léo Lam
parent 93abbc66aa
commit 8288bdce03
4 changed files with 46 additions and 28 deletions

View File

@ -85,22 +85,22 @@ constexpr std::array<const char*, 134> s_hotkey_labels{{
_trans("Toggle SD Card"),
_trans("Toggle USB Keyboard"),
_trans("Next Profile for Wii Remote 1"),
_trans("Previous Profile for Wii Remote 1"),
_trans("Next Game Profile for Wii Remote 1"),
_trans("Previous Game Profile for Wii Remote 1"),
_trans("Next Profile for Wii Remote 2"),
_trans("Previous Profile for Wii Remote 2"),
_trans("Next Game Profile for Wii Remote 2"),
_trans("Previous Game Profile for Wii Remote 2"),
_trans("Next Profile for Wii Remote 3"),
_trans("Previous Profile for Wii Remote 3"),
_trans("Next Game Profile for Wii Remote 3"),
_trans("Previous Game Profile for Wii Remote 3"),
_trans("Next Profile for Wii Remote 4"),
_trans("Previous Profile for Wii Remote 4"),
_trans("Next Game Profile for Wii Remote 4"),
_trans("Previous Game Profile for Wii Remote 4"),
_trans("Next Profile"),
_trans("Previous Profile"),
_trans("Next Game Profile"),
_trans("Previous Game Profile"),
_trans("Next Profile"),
_trans("Previous Profile"),
_trans("Next Game Profile"),
_trans("Previous Game Profile"),
_trans("Next Profile"),
_trans("Previous Profile"),
_trans("Next Game Profile"),
_trans("Previous Game Profile"),
_trans("Next Profile"),
_trans("Previous Profile"),
_trans("Next Game Profile"),
_trans("Previous Game Profile"),
_trans("Toggle Crop"),
_trans("Toggle Aspect Ratio"),
@ -328,7 +328,10 @@ constexpr std::array<HotkeyGroupInfo, NUM_HOTKEY_GROUPS> s_groups_info = {
{_trans("Program Counter"), HK_SHOW_PC, HK_SET_PC},
{_trans("Breakpoint"), HK_BP_TOGGLE, HK_MBP_ADD},
{_trans("Wii"), HK_TRIGGER_SYNC_BUTTON, HK_TOGGLE_USB_KEYBOARD},
{_trans("Controller Profile"), HK_NEXT_WIIMOTE_PROFILE_1, HK_PREV_GAME_WIIMOTE_PROFILE_4},
{_trans("Controller Profile 1"), HK_NEXT_WIIMOTE_PROFILE_1, HK_PREV_GAME_WIIMOTE_PROFILE_1},
{_trans("Controller Profile 2"), HK_NEXT_WIIMOTE_PROFILE_2, HK_PREV_GAME_WIIMOTE_PROFILE_2},
{_trans("Controller Profile 3"), HK_NEXT_WIIMOTE_PROFILE_3, HK_PREV_GAME_WIIMOTE_PROFILE_3},
{_trans("Controller Profile 4"), HK_NEXT_WIIMOTE_PROFILE_4, HK_PREV_GAME_WIIMOTE_PROFILE_4},
{_trans("Graphics Toggles"), HK_TOGGLE_CROP, HK_TOGGLE_TEXTURES},
{_trans("Internal Resolution"), HK_INCREASE_IR, HK_DECREASE_IR},
{_trans("Freelook"), HK_FREELOOK_DECREASE_SPEED, HK_FREELOOK_TOGGLE},