Im using synergy to control two instances of the same game on different computers, its almost working but there is an efficiency problem with lockCursorToScreen.
If lockCursorToScreen is not on then the client game screen will act like the mouse is in a box when mouse-look (bound to mousebutton(2)) is used - i.e. right click and move the mouse the game should keep the mouse at its current location allowing you to move the view indefinitaly. Synergy moves the mouse it in the background - hits the edge of the screen and stops movement. With lockCursorToScreen on this problem goes away.
I cant activate a hotkey every time I switch screens, so I assumed I could bind mousebutton(2) to activate the lockCursorToScreen but it dosent work. I can bind other keys and they work but binding mousebutton(2) to anything in the synergy config seems to not be captured.
Is there a way round this? The ideal beheaviour would be for lockCursorToScreen to be on on whenever mousebutton(2) is down (which is exactly what I tried to bind, i.e. mousebutton(2) pressed = toggle on, mousebutton(2) released = toggle off). It seems mousebutton(2) cant be used as an action key, is this correct?