Skip to content

Commit

Permalink
Fix GUIDE button showing cropped in gamepad configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Dec 27, 2024
1 parent 76649c0 commit ee12322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/desktop-shared/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ static void gamepad_configuration_item(const char* text, int* button, int player
ImGui::Text("%s", text);
ImGui::SameLine(100);

static const char* gamepad_names[16] = {"A", "B", "X" ,"Y", "BACK", "GUID", "START", "L3", "R3", "L1", "R1", "UP", "DOWN", "LEFT", "RIGHT", "15"};
static const char* gamepad_names[16] = {"A", "B", "X" ,"Y", "BACK", "GUIDE", "START", "L3", "R3", "L1", "R1", "UP", "DOWN", "LEFT", "RIGHT", "15"};

const char* button_name = (*button >= 0 && *button < 16) ? gamepad_names[*button] : "";

Expand Down

0 comments on commit ee12322

Please sign in to comment.