2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-05 06:00:55 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Peter Repukat
95eb87e183 Cleanup 2017-02-15 21:43:29 +01:00
Peter Repukat
4693542321 SteamTarget: Remove unnecessary VirtualProtect calls 2017-02-15 20:10:16 +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
9ae0161195 SteamTarget: Ensure clean application exit... 2017-01-25 17:54:08 +01:00
Peter Repukat
69515127b3 Cleanup 2017-01-25 17:14:38 +01:00
Peter Repukat
5a9bf44225 Fix controller updaterate 2017-01-25 17:14:23 +01:00
Peter Repukat
84a0849e7d Hide console window / communite to user with messageboxes 2017-01-25 17:13:48 +01:00
Peter Repukat
6cf0397902 remove testing code 2016-11-19 02:29:21 +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