102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
inputs_private.h File Reference
#include <SDL3/SDL.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

void dttr_inputs_init ()
void dttr_inputs_handle_device_event (const SDL_Event *event)
bool dttr_inputs_late_init ()
void dttr_inputs_cleanup ()

Variables

SDL_Gamepad * dttr_inputs_gamepad

Function Documentation

◆ dttr_inputs_cleanup()

void dttr_inputs_cleanup ( )

Definition at line 172 of file inputs.c.

References close_gamepad().

Referenced by cleanup_runtime().

◆ dttr_inputs_handle_device_event()

◆ dttr_inputs_init()

void dttr_inputs_init ( )

Definition at line 66 of file inputs.c.

References dttr_config, DTTR_LOG_ERROR, and try_open_configured_gamepad().

Referenced by install_required_sidecar_hooks().

◆ dttr_inputs_late_init()

bool dttr_inputs_late_init ( )

Variable Documentation

◆ dttr_inputs_gamepad