Feature: Add functionality to toggle fullscreen with F11#346
Feature: Add functionality to toggle fullscreen with F11#346itsmattkc merged 5 commits intovanilla-wiiu:masterfrom
Conversation
pedropaulosuzuki
left a comment
There was a problem hiding this comment.
Probably a good idea to put F11 shortcut before F12 shortcut
gui/ui/ui_sdl.c
Outdated
| key_map[SDL_SCANCODE_F5] = VPI_ACTION_TOGGLE_RECORDING; | ||
| key_map[SDL_SCANCODE_F12] = VPI_ACTION_SCREENSHOT; | ||
| key_map[SDL_SCANCODE_ESCAPE] = VPI_ACTION_DISCONNECT; | ||
| key_map[SDL_SCANCODE_F11] = VPI_ACTION_TOGGLE_FULLSCREEN; |
There was a problem hiding this comment.
Probably a good idea to put F11 shortcut before F12 shortcut
There was a problem hiding this comment.
Here, it's not really relevant whatsoever what order they're in, no end users are going to be seeing this anyway. Additionally, this should match the order in the enum
There was a problem hiding this comment.
Here, it's not really relevant whatsoever what order they're in, no end users are going to be seeing this anyway.
My point was not exactly for end users, but for code organization.
Additionally, this should match the order in the
enum.
I see, then it makes more sense to keep the order as-is.
|
Now that we have a key remapping system, can you add an entry for this to menu_gamepad.c |
@itsmattkc How's this? Not quite sure why the full-screen icon isn't being anti-aliased in the same way the screenshot icon is, maybe a weird side effect of how |
|
LGTM, thanks |

Allows toggling fullscreen in Vanilla by using F11 key.
2026-02-13.15-36-42.mp4
Known issue: if toggling fullscreen with F11 in the Settings menu, the option for Full Screen does not update until the Settings page is reloaded. This could be fixed by including
ui.hinmenu.cand adding the linevui_button_update_checked(vui, button, vpi_config.fullscreen);.Closes #345