Added trigger button support to the theme downloader screenshot viewer

This commit is contained in:
Leon Styhre 2023-06-28 20:40:54 +02:00
parent 610da5d771
commit e8589cbc16

View file

@ -1119,6 +1119,14 @@ bool GuiThemeDownloader::input(InputConfig* config, Input input)
++mFullscreenViewerIndex;
return true;
}
else if (config->isMappedLike("lefttrigger", input)) {
mFullscreenViewerIndex = 0;
return true;
}
else if (config->isMappedLike("righttrigger", input)) {
mFullscreenViewerIndex = mViewerScreenshots.size() - 1;
return true;
}
else {
mViewerScreenshots.clear();
mViewerCaptions.clear();