102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
hooks_private.h File Reference
#include <dttr_mods.h>
#include <windows.h>

Go to the source code of this file.

Functions

bool dttr_inputs_hooks_init (const DTTR_Mods_Context *ctx)
void dttr_inputs_hooks_cleanup (const DTTR_Mods_Context *ctx)
voiddttr_inputs_hook_dinput_poll_callback (void *device)
SHORT dttr_inputs_hook_get_async_key_state_callback (int vkey)

Function Documentation

◆ dttr_inputs_hook_dinput_poll_callback()

◆ dttr_inputs_hook_get_async_key_state_callback()

SHORT dttr_inputs_hook_get_async_key_state_callback ( int vkey)

Definition at line 98 of file hook_getasynckeystate.c.

References GETASYNCKEYSTATE_KEY_PRESSED, NULL, and vk_to_scancode.

Referenced by dttr_inputs_hooks_init().

◆ dttr_inputs_hooks_cleanup()

void dttr_inputs_hooks_cleanup ( const DTTR_Mods_Context * ctx)

Definition at line 168 of file inputs.c.

References ctx, DTTR_Core_PatchGroupRelease(), and inputs_targets.

Referenced by cleanup_runtime().

◆ dttr_inputs_hooks_init()