Commit Graph

6 Commits (9ac6b263ecd4292384c8cde17ede580bff550e03)

Author SHA1 Message Date
Peter Repukat 95eb87e183 Cleanup 8 years ago
Peter Repukat 9014a8c7af SteamTarget: Add x86 opcodes for unpatching Valve's XInputGetState hook 8 years ago
Peter Repukat a9d947812e SteamTarget: Use VID / PID of Valve's SteamController / Cleanup
By using VID and PID of Valve's SteamController, Steam doesn't give us ANOTHER "fake" XInput device
Therefore it's not necessary anymore to count controllers before we plug in any virtual controllers
8 years ago
Peter Repukat 09f9faec7c Fix Multiple controllers / Cleanup
By Unhooking Steams hook to XInputGetState, we can detect how many Controllers Steam "emulates", before pluggin in any virtual controllers.
This *should* enable the use of multiple Valve SteamControllers.

The unhooking procedure currently only works on AMD64 and prob. only with XInput1_4
8 years ago
Peter Repukat 5a9bf44225 Fix controller updaterate 8 years ago
Peter Repukat 9a435b39f2 decouple input from framerate by moving it to own thread
this significantly reduces input-lag while keeping cpu usage at a minimum

also removed any of the vsync / framerate options as we now always render the overlay with 60fps
this reduces cpu usage and unnecessary overhead if playing with the default option of vsync on high refresh rate displays
8 years ago