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
Lemonadez
New User
Posts: 3
Joined: Fri Feb 24, 2017 5:05 pm

What is Virtual Key?

Post by Lemonadez » Mon Jul 16, 2018 12:37 pm

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
phil
Site Admin
Posts: 5608
Joined: Sun Apr 06, 2003 11:12 pm

Re: What is Virtual Key?

Post by phil » Mon Jul 16, 2018 1:09 pm

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, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply