symless / synergy

Synergy lets you share one mouse and keyboard between multiple computers on Windows, macOS and Linux.
https://symless.com/synergy
GNU General Public License v2.0
10.31k stars 3.65k forks source link

Fullscreen game still reacts to mouse while cursor is on client #5871

Open homezonebenny opened 7 years ago

homezonebenny commented 7 years ago

When you have a fullscreen game running on Server PC. And you switch to Client PC with a hotkey it works when you enable: Server configuration - Advanced: "Do not enable Windows Server window in foreground"

So basically, when I play a fullscreen game with a "curstor" like StarCraft 2, or League of Legends on the Server PC. And I switch to the Client PC. The cursor stand still. Like it have to be.

When you play a fullscreen game without a "cursor" like a shooter, for example Overwatch. And you switch with a hotkey from Server to Client PC. And you move the Mouse Cursor on the Client PC you still move the "crosshair" (aim) of the shooter... And even when you left click something on the Client PC, you SHOOOOT on the Server PC. I know that is because the game have "no cursor". Only "workaround" at the moment is, to open "menu" to get a mouse cursor, and then switch to Client PC with a hotkey. So the cursor stand still. Maybe Synergy can be optimized for shooter games aswell?!

And there is another "Bug"?!

When I play (for example) Witcher 3 in fullscreen on the Server PC. I open the "Menu" to get a mouse cursor. Then I switch to the Client PC via hotkey. When I move the mouse around. The mouse cursor on the Server PC (Witcher 3) stand still. Like it have to be. Perfect so far :) BUT when I left click something on the Client PC !!! It left click on the Server PC (Witcher 3) aswell. So it removes the Menu from the game. Because the cursor is hoverd: Continue playing

Why is a left click on the "Client PC" still left clicking on the "Server PC"?! I thought when I'm on the Client PC. All the inputs (keyboard / mouse) will be on the Client PC only. And not on the Server PC. So basically this should be a bug.

I know Synergy is not made for "Games". But it should be. Synergy should be working with playing a game on one of the PCs, while controlling other PCs.

This will give Synergy a MUCH wider spectrum of people who wants to use Synergy. Like "Dual PC Streamer". Means:

xhou-wavefin commented 7 years ago

@homezonebenny

Why is a left click on the "Client PC" still left clicking on the "Server PC"?!

Does the left click pass to the client as well or does it just happen on server side?

homezonebenny commented 7 years ago

@XinyuHou When I'm on the client, and I left click something, the LEFT CLICK happen on the client AND on the server. That's the problem. It should only happen on the client, right ;-) Because I move the mouse on the client, click something but the cursor on server isn't moving (correct) but left click happens on server at the same time I left click something on the client.

Guess it's because a game is running like I descriped it. Synergy isn't made for working correct while a game is running I guess. But still, it have the potential to do so :) Which makes it perfect for a dual pc streaming software. This could make Synergy preeeeeetty famous to be honest. Since streaming is booming right now ;-)

xhou-wavefin commented 7 years ago

@homezonebenny About the click issue, we will need to do some research. I guess would be fullscreen games capture or monitor mouse event just like Synergy does which causes some conflicts. We will look into that and get back to this issue when we have more information. Thanks.

homezonebenny commented 7 years ago

@XinyuHou For sure this need some time.

I would recomment (if possible) test it with:

In Witcher 3 you have no cursor. Like I descriped above, I press ESC for the menu, and the cursor apears and stand still. But clicking on client left click on server, which is pointed at "continue playing" :-P

And for Overwatch (or any other shooter). There is no mouse cursor. So when Switching from Server (Playing on) to Client means that you move the crosshair of the shooter while moving the mouse on client :-P Normally the mouse interactions on the Server shot be shut down completely, while moving around on other PC (Client). For sure, shooter have no "mouse cursor" so that's the issue I would say.

And as always, play the game in real exclusive fullscreen. I totally know that this point will take a while for research and testing, before the team can start implementing / fixing it. Now worry :) This will not be fixed over night at all. But I guess this is an important point which should be fixed. Because Synergy could be much more, a totally famous streamer software ;-) And that's what I'm exiting of :-P Just trying to help make Synergy better. Btw. I announce Synergy on my stream, time by time. When I'm talking about technical stuff, and how I setup my equipment and everything I'm talking about Synergy aswell ;-) And telling people it's worth buying it.

Mike-Sinistralis commented 7 years ago

6033 describes this happening with mouse drag as well in more detail. After further use, I have confirmed it also happens alongside the click issue mentioned here so I have closed it. Mentioning it here so it's all in one thread

Mike-Sinistralis commented 7 years ago

This does happen with games that give free mouse control btw. It doesn't have to have mouse look

paul-suarez commented 7 years ago

Logs available in this forum thread.

animeshsharma1996 commented 1 year ago

@homezonebenny About the click issue, we will need to do some research. I guess would be fullscreen games capture or monitor mouse event just like Synergy does which causes some conflicts. We will look into that and get back to this issue when we have more information. Thanks.

Is this issue fixed. I might have missed it but I am still encountering this issue.

SimplyBob commented 2 months ago

This still happens for me on the latest version: Synergy 3 RC3 - v3.0.80.1-rc3

nbolton commented 1 week ago

This still happens for me on the latest version: Synergy 3 RC3 - v3.0.80.1-rc3

Thanks for letting us know.