Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Windows logo and application keys for x2vnc client

Any features you would like to see in UltraVNC? Propose it here
Post Reply
rodgers
Posts: 2
Joined: 2004-09-03 17:53

Windows logo and application keys for x2vnc client

Post by rodgers »

Hi

I use the x2vnc client to attach my laptop as a "second monitor" to my main linux box. This is works really well, except that the Windows logo and application keys don't currently work. The following patch makes these keys work (I'm using it right now to type this message :-)). Would it be possible to incorporate this change into UltraVNC in the next version, either as the default setting or as an option which can be selected. Windows is much easier to use when the windows logo key works!

Many thanks

Chris Rodgers

Patch follows (against the cvs0908.zip download from sourceforge):

diff -cr cvs0908/ultravnc/winvnc/winvnc/vnckeymap.cpp cvs0908-with-changes/ultravnc/winvnc/winvnc/vnckeymap.cpp
*** cvs0908/ultravnc/winvnc/winvnc/vnckeymap.cpp Sun Sep 14 02:17:28 2003
--- cvs0908-with-changes/ultravnc/winvnc/winvnc/vnckeymap.cpp Fri Sep 3 19:22:35 2004
***************
*** 155,160 ****
--- 155,163 ----
{ XK_Control_R, VK_CONTROL, 1 },
{ XK_Alt_L, VK_MENU, 0 },
{ XK_Alt_R, VK_RMENU, 1 },
+ { XK_Super_L, VK_LWIN, 0 },
+ { XK_Super_R, VK_RWIN, 0 },
+ { XK_Menu, VK_APPS, 0 },
};
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Post by bevtech »

Thank you for your request, it will be taken under consideration.
Always try the Newest Stable version before posting to the feature request forum..
rodgers
Posts: 2
Joined: 2004-09-03 17:53

Re: Automated message

Post by rodgers »

Hi,

I hope that the (automated?) comment just posted doesn't mean that my patch has been ignored?

C.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6879
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Current vnckeymap.cpp

Code: Select all

    // Modifiers
    
  { XK_Shift_L,          VK_SHIFT, 0 },
  { XK_Shift_R,          VK_RSHIFT, 0 },
  { XK_Control_L,        VK_CONTROL, 0 },
  { XK_Control_R,        VK_CONTROL, 1 },
  { XK_Alt_L,            VK_MENU, 0 },
  { XK_Alt_R,            VK_RMENU, 1 },

// Left & Right Windows keys & Windows Menu Key

  { XK_Super_L,			VK_LWIN, 0 }, 
  { XK_Super_R,			VK_RWIN, 0 }, 
  { XK_Menu,			VK_APPS, 0 }, 
So the XK_SUper are already in the code
I'm missing something ?
vnckeymap.cpp in cvs
http://cvs.sourceforge.net/viewcvs.py/u ... pp?rev=1.6
Post Reply