Right Shift Key Problem

Dave DeBarr debarr "at" mitre.org
Fri, 03 Jul 1998 00:00:36 +0000

When running WinVNC (v3.3.2) on Windows NT 4.0 with a Solaris 2.6 vncviewer (v3.3.2), it appears that only the left shift key is being processed by the WinVNC server.  The right shift key _appears_ to be ignored.

The vncKeymap::DoXkeysym() function for WinVNC contains the following statements...
    if (vncService::IsWinNT())
        // ...
        SetShiftState(VK_LSHIFT, keymask & 1);
        SetShiftState(VK_RSHIFT, FALSE);
        // ...

Why is the FALSE constant being passed for the down state of VK_RSHIFT?

P.S. Thanks for making VNC freely available.  I find it extremely useful!

Dave DeBarr
MITRE; Room S4149, Mail Stop W548
11493 Sunset Hills Road; Reston, VA 20190
Voice (703) 883-6544; Fax (703) 883-3308

The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html