fps: overlay debug a dalt-dreta del canvas (verd, F10 toggle, 8bithud, alineat amb notificacions i overscan-aware)

This commit is contained in:
2026-05-19 20:59:35 +02:00
parent 73f210bc2c
commit fa2dc9bbf3
5 changed files with 73 additions and 1 deletions
+4
View File
@@ -127,6 +127,10 @@ namespace GlobalInputs {
notifyPresentationMode();
return true;
}
if (Input::get()->checkInput(Input::Action::TOGGLE_FPS, Input::Repeat::OFF)) {
Screen::get()->toggleFps();
return true;
}
// F5/F6 només actuen quan el post-procesado està actiu.
if (Screen::isShaderEnabled()) {
if (Input::get()->checkInput(Input::Action::TOGGLE_SHADER_TYPE, Input::Repeat::OFF)) {
+1
View File
@@ -54,6 +54,7 @@ class Input {
SHOW_VERSION,
TOGGLE_VSYNC,
NEXT_PRESENTATION_MODE,
TOGGLE_FPS,
// Centinela final (usar para sizing)
NUMBER_OF_INPUTS