Commit Graph

11 Commits (7c6edf32e2435771c4dd39ecc0e48b7097a6f420)

Author SHA1 Message Date
Peter Repukat 0be26dce37 Cleanup 8 years ago
Peter Repukat 95eb87e183 Cleanup 8 years ago
Peter Repukat 4693542321 SteamTarget: Remove unnecessary VirtualProtect calls 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 9ae0161195 SteamTarget: Ensure clean application exit... 8 years ago
Peter Repukat 69515127b3 Cleanup 8 years ago
Peter Repukat 5a9bf44225 Fix controller updaterate 8 years ago
Peter Repukat 84a0849e7d Hide console window / communite to user with messageboxes 8 years ago
Peter Repukat 6cf0397902 remove testing code 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