FransBouma / InjectableGenericCameraSystem

This is a generic camera system to be used as the base for cameras for taking screenshots within games. The main purpose of the system is to hijack the in-game 3D camera by overwriting values in its camera structure with our own values so we can control where the camera is located, it's pitch/yaw/roll values, its FoV and the camera's look vector.
BSD 2-Clause "Simplified" License
715 stars 249 forks source link

Add better input blocking through API hooking #12

Closed FransBouma closed 7 years ago

FransBouma commented 7 years ago

Use minhook (https://github.com/TsudaKageyu/minhook/) to intercept XInput's XInputGetState() and the 4 message retrieve functions in User32 (GetMessage and peek message and variants). In the detour functions (our own versions) do the following:

Additional work

FransBouma commented 7 years ago

Implemented