Right shift broken in Synergy & a work-around

I use Synergy, the free/open source multi-platform software package to share a single mouse and keyboard among multiple computers, to control my work ThinkPad and my personal MacBook Air at the same time. The server is the Windows 7 box.

A bug in the Synergy code introduced some time ago broke the handling of the right shift key in this setup. Basically, the server ignores the right shift key when sent by the server. It is an annoying bug.

While the patch is forthcoming I reached a point where the annoyance pushed me to act. I use AutoHotKey, (AHK) so a little addition to my mouse wheel scroll script from the HowTo Geek addresses the bug with two lines:

#InstallKeybdHook
RShift::LShift

Add the first line at the top of your script and the other line somewhere below. Exit AutoHotKey and relaunch your script.

UPDATE: If you lock your Windows 7 host that is your Synergy server, when you unlock the host you have to restart the AHK script for it to work until you lock the Synergy server’s host again. Perhaps someone else knows the fix?

Here’s my complete script. It makes scrolling match on the two laptops, too, by the way:

; Reverse Scrolling Script by How-To Geek modified by prjorgensen

#MaxHotkeysPerInterval 9999999 ; keep the alert popup from showing
#InstallKeybdHook

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

WheelUp::
 Send {WheelDown}
Return

WheelDown::
 Send {WheelUp}
Return

RShift::LShift

3 thoughts on “Right shift broken in Synergy & a work-around”

    1. I’m glad it’s helpful to you. If/when you improve on it, please share it with others and let me know.

  1. Ha I started thinking it was my keyboard – anyway this issue is fixed in latest Synergy (server) 1.4.10

Comments are closed.