|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <dttr_pcdogs.h>
Data Fields | |
| DTTR_PCDOGS_T_Symbol_Data_ID | SymbolID |
| DTTR_PCDOGS_T_Data_ID | DataID |
| DTTR_PCDOGS_T_Write_Policy(* | Policy )() |
| DTTR_Result(* | Status )() |
| bool(* | IsResolved )() |
| uintptr_t(* | Address )() |
| struct DIJOYSTATE **(* | Ptr )() |
| DTTR_Result(* | Read )(struct DIJOYSTATE **out_value) |
| DTTR_Result(* | Write )(struct DIJOYSTATE *value) |
| DTTR_Result(* | UnsafeWrite )(struct DIJOYSTATE *value) |
| Bypasses Policy(); still requires resolved, writable memory. | |
| DTTR_PCDOGS_T_Patch_Spec(* | PatchSpec )(bool required, void *new_value, void **out_original) |
Current DirectInput joystick state buffer read by Input_ReadGamepad and released during input shutdown. This is a frame-local sample source; Input_GetJoystickAxis* near Input_ReadGamepad gives live analog freshness.
Definition at line 62757 of file dttr_pcdogs.h.
| uintptr_t(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::Address) () |
Definition at line 62763 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Data_ID DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::DataID |
Definition at line 62759 of file dttr_pcdogs.h.
| bool(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::IsResolved) () |
Definition at line 62762 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Patch_Spec(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::PatchSpec) (bool required, void *new_value, void **out_original) |
Definition at line 62772 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Write_Policy(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::Policy) () |
Definition at line 62760 of file dttr_pcdogs.h.
| struct DIJOYSTATE **(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::Ptr) () |
Definition at line 62763 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::Read) (struct DIJOYSTATE **out_value) |
Definition at line 62765 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::Status) () |
Definition at line 62761 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Symbol_Data_ID DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::SymbolID |
Definition at line 62758 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::UnsafeWrite) (struct DIJOYSTATE *value) |
Bypasses Policy(); still requires resolved, writable memory.
Definition at line 62770 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_Input_ReadGamepad_JoystickState_type::Write) (struct DIJOYSTATE *value) |
Writer that enforces the symbol write policy. Returns DTTR_ERR_POLICY_MISMATCH unless Policy() is RAW_MEMORY.
Definition at line 62768 of file dttr_pcdogs.h.