handle controller reconnection (#815)

This commit is contained in:
Logan McNaughton authored and GitHub committed 2026-04-27 16:38:20 +02:00
1 parent ca00ee1a42
commit b2ef544513
6 files changed
+106 -9

No files matched your search

+7
View File
@@ -37,6 +37,11 @@ typedef struct {
uint32_t save_state_slot;
} CALL_BACK;
typedef struct {
uint32_t joystick_id;
bool connected;
} JoystickEvent;
typedef enum {
MESSAGE_VERY_SHORT = 500,
MESSAGE_SHORT = 3000,
@@ -59,6 +64,8 @@ void rdp_save_state(uint8_t *state);
void rdp_load_state(const uint8_t *state);
void rdp_set_fps(uint32_t fps, uint32_t vis);
JoystickEvent get_joystick_event();
void achievement_challenge_indicator_add(const char *achievement_title);
void achievement_challenge_indicator_remove(const char *achievement_title);
void achievement_progress_add(const char *achievement_title,