more controller support and fix some crashes

This commit is contained in:
Ondřej Novák 2025-03-04 12:07:40 +01:00
parent 3f946405b9
commit 0e251dcd05
19 changed files with 608 additions and 195 deletions

View file

@ -14,6 +14,7 @@ extern "C" {
#endif
#include <libs/devices.h>
#include "../config.h"
char get_control_key_state(void);
@ -26,6 +27,9 @@ void SetWheelMapping(char up, char down);
void get_ms_event(MS_EVENT *event);
void ShareCPU();
void init_joystick(const INI_CONFIG_SECTION *section);
char is_joystick_used();
#ifdef __cplusplus
}
#endif