MacVNC Viewer keyboard

Dair Grant dair "at" dircon.co.uk
Wed, 11 Nov 1998 08:52:55 +0000


David A Vincent wrote:

>the caps lock key, when turned on, seems to act as an Alt lock key.
>That is, pressing X generates Alt-X, and so forth.

Oops - so it does. I'll make a note to fix this in the next build of my 
viewer.


>I have tried the ORL Mac viewer

It looks like this viewer has the same problem (to be expected really, as 
I'm using the ORL Mac->X keyboard translation code unchanged).


Charlie, it looks like the problem is probably inside AssesModifiers. It 
looks like:

  testmod(optionKey,XK_Alt_L);
  testmod(rightOptionKey,XK_Alt_R);
		testmod(alphaLock,XK_Alt_L);
          ^^^^^^^^^^^^^^^^^^
		testmod(rightOptionKey,XK_Caps_Lock);
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Presumably the second XK_Alt_L line should be dropped, and XK_Caps_Lock 
should be detected with alphaLock?



-dair

_______________________________________________________________
(Work)  mailto:dair "at" lightwork.co.uk  http://www.lightwork.com/
(!Work) mailto:dair "at" kagi.com         http://www.kagi.com/dair/


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