2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-07 03:20:40 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Peter Repukat
95eb87e183 Cleanup 2017-02-15 21:43:29 +01:00
Peter Repukat
9014a8c7af SteamTarget: Add x86 opcodes for unpatching Valve's XInputGetState hook 2017-02-15 21:43:14 +01:00
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
2017-02-15 14:34:01 +01:00
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
2017-02-15 04:07:27 +01:00
Peter Repukat
5a9bf44225 Fix controller updaterate 2017-01-25 17:14:23 +01:00
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
2016-11-19 02:24:49 +01:00