|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#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 |
| void dttr_inputs_cleanup | ( | ) |
Definition at line 172 of file inputs.c.
References close_gamepad().
Referenced by cleanup_runtime().
Definition at line 107 of file inputs.c.
References close_gamepad(), dttr_config, dttr_inputs_gamepad, DTTR_LOG_ERROR, DTTR_LOG_INFO, DTTR_PCDOGS_D_Window_ProcessGameProc_Initialized, DTTR_ResultOK(), dttr_sidecar_result_detail(), event, set_joystick_available(), and try_open_configured_gamepad().
Referenced by dttr_sidecar_handle_sdl_event().
| 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().
| bool dttr_inputs_late_init | ( | ) |
Definition at line 155 of file inputs.c.
References dttr_config, dttr_inputs_gamepad, DTTR_LOG_DEBUG, and set_joystick_available().
Referenced by DTTR_Hook_WinMainCallback().
|
extern |
Definition at line 11 of file inputs.c.
Referenced by close_gamepad(), dttr_inputs_handle_device_event(), dttr_inputs_hook_dinput_poll_callback(), dttr_inputs_late_init(), is_source_pressed(), read_axis(), and try_open_configured_gamepad().