Files
aee-arcade/source/core/input/global_inputs.hpp
T

15 lines
500 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#pragma once
// Hotkeys globals d'UI (F1–F12 + Escape). Consumides al principi del update
// de cada escena, així les tecles de sistema mai es barregen amb l'input del
// joc. L'eixida amb Escape és en dos passos: la primera pulsació mostra una
// notificació de confirmació i arma un temporitzador intern; la segona dins
// de la finestra activa wantsQuit().
namespace GlobalInputs {
void update(int delta_ms);
[[nodiscard]] auto wantsQuit() -> bool;
} // namespace GlobalInputs