fps: overlay debug a dalt-dreta del canvas (verd, F10 toggle, 8bithud, alineat amb notificacions i overscan-aware)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -54,6 +54,7 @@ class Input {
|
||||
SHOW_VERSION,
|
||||
TOGGLE_VSYNC,
|
||||
NEXT_PRESENTATION_MODE,
|
||||
TOGGLE_FPS,
|
||||
|
||||
// Centinela final (usar para sizing)
|
||||
NUMBER_OF_INPUTS
|
||||
|
||||
Reference in New Issue
Block a user