Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

How to send a single Windows key to the server?

Post Reply
robert.pes
Posts: 5
Joined: 2009-11-11 19:47

How to send a single Windows key to the server?

Post by robert.pes »

I'm working on T-Plan Robot which is a Java automation testing tool working over VNC. As part of the automation process I send key events to the server programatically on the level of RFB protocol (KeyEvent messages).

I have a question regarding the Windows specific keys. As I understand it, combinations of the Windows key and another one is sent using the Meta modifier (for example 'Windows+r' is sent as 'r' with the Meta modifier). I've already implemented this in my client and it works fine with UltraVNC server.

I was however wondering whether it is possible to send a single Windows key press to the server to open the Windows Start menu. Sending of a key press and release of the Meta key alone (either 0xFFE7 or 0xFFE8) doesn't work. I'm not aware of any other code that could be used. Is there any way to transfer this key correctly?

Thanks,
Last edited by robert.pes on 2009-11-25 11:40, edited 1 time in total.
Robert Pes
T-Plan Robot, open source cross-platform testing tool based on remote desktop technologies
http://www.vncrobot.com
robert.pes
Posts: 5
Joined: 2009-11-11 19:47

Re: How to send a single Windows key to the server?

Post by robert.pes »

Never mind. I reviewed the server code and I found out that the key should be rather 0xFFEB or 0xFFEC (corresponding to the left and right Super key in keysymdef.h). Having changed that the Windows key replays correctly.

Thanks anyway!
Robert Pes
T-Plan Robot, open source cross-platform testing tool based on remote desktop technologies
http://www.vncrobot.com
Post Reply