20 LOG_ERROR(
"InputManager",
"Failed to create input backend");
27 LOG_ERROR(
"InputManager",
"Failed to initialize input backend");
33 LOG_INFO(
"InputManager",
"Initialized with backend: %s",
47 LOG_INFO(
"InputManager",
"Initialized with custom backend: %s",
73 for (
int i = 0; i < 12; i++) {
74 bool button_held = (final_state.
buttons & (1 << i)) != 0;
79 static int poll_log_count = 0;
80 if (final_state.
buttons != 0 && poll_log_count++ < 50) {
81 LOG_INFO(
"InputManager",
"Poll: buttons=0x%04X (passed to SetButtonState)",
103 "continuous_polling disabled in config; forcing it ON to keep edge "
104 "detection working for menus (event-based path is not wired)");
110 "ignore_imgui_text_input was false; forcing true so game input is not blocked");
void SetButtonState(int player, int button, bool pressed)
#define LOG_ERROR(category, format,...)
#define LOG_WARN(category, format,...)
#define LOG_INFO(category, format,...)