13 LOG_ERROR(
"InputManager",
"Failed to create input backend");
22 LOG_ERROR(
"InputManager",
"Failed to initialize input backend");
26 LOG_INFO(
"InputManager",
"Initialized with backend: %s",
35 LOG_INFO(
"InputManager",
"Initialized with custom backend: %s",
59 for (
int i = 0; i < 12; i++) {
60 bool button_held = (final_state.
buttons & (1 << i)) != 0;
65 static int poll_log_count = 0;
66 if (final_state.
buttons != 0 && poll_log_count++ < 30) {
void SetButtonState(int player, int button, bool pressed)
#define LOG_DEBUG(category, format,...)
#define LOG_ERROR(category, format,...)
#define LOG_INFO(category, format,...)
Main namespace for the application.