Commit Graph

273 Commits (1af7902aaed6629925ffb3cf0f442cfcd155a696)

Author SHA1 Message Date
Nemirtingas 1af7902aae Add dummy funcs. 2019-11-08 15:56:00 +01:00
Nemirtingas dd1a21dae9 Clean Linux hook, not needed
Linux uses LD_PRELOAD to load the overlay
2019-11-08 15:55:18 +01:00
Nemirtingas 55ba49c957 Clean a bit Linux Overlay 2019-11-08 15:54:48 +01:00
Nemirtingas 1edbdd8a35 Free DX12 devices on destroy 2019-11-08 15:53:08 +01:00
Nemirtingas 121df0ef39 Uncomment thing 2019-11-08 15:52:59 +01:00
Nemirtingas cf3dea2bbe Allow ImGui to process events if the overlay is hidden
This is used for the notifications when overlay is off.
2019-11-08 15:52:50 +01:00
Nemirtingas ce79df1c26 Added customizable notification
Notification can have a type depending on what to show.
2019-11-08 15:52:38 +01:00
Nemirtingas 982ec56007 Enable DX12 overlay 2019-11-08 15:46:57 +01:00
Nemirtingas c667dbd3af Rework DX12 overlay to use Present to render the overlay 2019-11-08 15:45:52 +01:00
Nemirtingas c006555b01 Add infos on friend game
Add friend appid and check if the game is compatible.
2019-10-14 16:35:53 +02:00
Nemirtingas bce574dc43 Changed windows id and fixed chat layout 2019-10-13 12:27:48 +02:00
Nemirtingas d467248236 Forgot to initialize overlay's close button 2019-10-13 12:27:44 +02:00
Nemirtingas 4d99b6affd Fix race condition
Fix race condition when renderer was found and we were hooking a library func
2019-10-13 12:27:41 +02:00
Nemirtingas 894300b6f4 Process raw mouse events
Some games doesn't use the window proc to get the mouse events (ETS2), but it checks for raw mouse inputs.
2019-10-13 12:27:37 +02:00
Nemirtingas 8abb0c8bc2 Add close button for overlay 2019-10-13 12:27:32 +02:00
Nemirtingas 5ad434e190 Merge branch 'master' into overlay_h 2019-09-20 13:26:34 +02:00
Nemirtingas 1545e375a2 Fix wrong broadcast addr on windows 2019-09-20 13:12:42 +02:00
Mr_Goldberg b77b4e2ef5
Fix older ActionOrigins functions. 2019-09-20 06:14:08 -04:00
Mr_Goldberg ee4722cb33
Activate the action set if there is only one present. 2019-09-14 18:32:26 -04:00
Mr_Goldberg 03a1627d07
SteamInput GetDigitalActionOrigins and GetAnalogActionOrigins implemented. 2019-09-14 17:24:05 -04:00
Mr_Goldberg 09704ae243
Fixed issue where GetAnalogActionData magnitude of joystick was always maximum. 2019-09-12 07:21:11 -04:00
Mr_Goldberg 663728edca
Allow action names to be used in more than one action set at the same time. 2019-09-11 09:08:05 -04:00
Mr_Goldberg 141dfba191
Link to xinput 9.1.0 for compatibility with windows 7. 2019-09-11 08:39:24 -04:00
Mr_Goldberg 8b9e0e25ca
Forgot this in last commit. 2019-09-10 23:58:27 -04:00
Mr_Goldberg 2af93427fe
Initial Xinput ISteamInput/ISteamController support. 2019-09-10 14:54:54 -04:00
Mr_Goldberg 4db580d945
Add missing older steam api SteamUnifiedMessages() function. 2019-09-07 10:35:55 -04:00
Mr_Goldberg 58083e0863
Started work on a real avatars implementation.
Fix issue where since the image ids changed for
every get avatar call mudrunner would keep allocating
memory indefinitely.
2019-09-07 09:39:41 -04:00
Nemirtingas 6c09635600 Added the possibility to create new fonts.
Fonts cannot be created after a NewFrame call.
2019-09-05 09:00:02 +02:00
Nemirtingas e82579b82c Update steam_overlay.h 2019-09-04 17:40:22 +00:00
Nemirtingas 2db31928e9 Notifications 2019-09-04 19:31:31 +02:00
Nemirtingas 344674b889 revert of "Should fix the cursor until we draw our own cursor." 2019-09-03 19:22:08 +02:00
Nemirtingas 6ebc946607 Fixed overlay now showing on some games
In sanctum2, not writing in our own context makes the game crash.
2019-09-03 17:25:55 +02:00
Nemirtingas 1016e7f47f Fix lag on events
Found on sanctum2, returning 0 in XPending & XEventsQueued make the SDL do something else than polling events and makes lag the event loop.
Now the event loop returns 0 when there are no more events.
2019-09-03 17:25:42 +02:00
Nemirtingas 9fa4053551 Cleanup 2019-09-03 11:38:54 +02:00
Nemirtingas ecd753422b Updated Linux X11 & OLGX hooks.
Use LD_PRELOAD=$PWD/libsteam_api.so app_name to load overlay.
2019-09-03 11:38:37 +02:00
Nemirtingas d6f29ffffa Added logs for Linux_Detour 2019-09-03 11:38:28 +02:00
Nemirtingas bb8cfbda10 Updated ImGui event handle for X11 2019-09-03 11:37:36 +02:00
Nemirtingas 5af1d18a8f Fixed overlay thread joining on himself 2019-09-02 10:51:32 +02:00
Nemirtingas aeeb85da55 This should do something like this
(Working on portal2 ubuntu 18.04)
2019-09-02 10:51:16 +02:00
Nemirtingas 95e87eb832 Clean Linux Detour 2019-09-01 23:21:50 +02:00
Nemirtingas b9cd9ae6c2 Fix build 2019-09-01 20:53:16 +02:00
Nemirtingas 1785ae6eaf Moved every platform specific code to their own folder 2019-09-01 20:48:27 +02:00
Nemirtingas dd13377be7 Added linux arch define 2019-09-01 20:47:46 +02:00
Nemirtingas 549dc7c50e This carries window exit 2019-09-01 20:47:13 +02:00
Nemirtingas c27ab3993c Linux renderer detection 2019-09-01 20:47:10 +02:00
Nemirtingas 86f94bc337 Linux hooks 2019-09-01 20:47:07 +02:00
Nemirtingas 8a6db1c401 ImGui X11 impl 2019-09-01 20:47:04 +02:00
Nemirtingas 0573c4eb94 Windows only part 2019-09-01 20:47:00 +02:00
Nemirtingas 495bc957cd Added some os detection
Need to detect linux x86 or x64
2019-09-01 20:46:55 +02:00
Nemirtingas 92ed36f499 Linux version of detour 2019-09-01 20:45:43 +02:00