What is Virtual Key?

General chat. Do not talk about XMBC, InpOut32 or any other Highrez software packages in here!

Moderator: Moderators

Forum rules
Please post to the correct forum, otherwise your post may not be seen.
Before posing, be sure to read and respect the forum rules
Post Reply
New User
Posts: 3
Joined: Fri Feb 24, 2017 5:05 pm

What is Virtual Key?

Post by Lemonadez »

Code: Select all

			{VKC:n} Sends the specified virtual key code.
			{EXT:n} Sends the specified extended virtual key code.
Can I do this. Send "D" Key on game.exe (repeatedly every 10 seconds) while Im Browsing Internet (Chrome)?
like it will send D Button while its not active window.

User avatar
Site Admin
Posts: 6762
Joined: Sun Apr 06, 2003 11:12 pm

Re: What is Virtual Key?

Post by phil »

No, XMBC uses MS's sendinput API which places keys into the keyboard buffer and thus get sent to the window with keyboard focus.
Virtual key CODES are what Windows uses internally to identify which key has been pressed.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply