oblitum/Interception — Issue #2: Additional keys on keyboards
Author: spiwn
Created: 2012-02-21 13:11:54+00:00
State: open

Events such as pressing/releasing keys like "My computer", "Calculator", "Web Home" (and etc.) that can be found on some keyboards are not registered by Interception ( or atleast I am unable to make it happen ). They are a special case so this is no surpise.

Should you decide on adding support for such keys this may be of use to you:
When reading raw input from such keys, the raw data values are:
dwType = RIM_TYPEKEYBOARD ( equal to 1)
hDevice = Null
MakeCode = 0
Flags = 2
Reserved = 0
Message = 256 (like all other keys)
ExtraInformation = 0
Those are the same for all such keys on my keyboard. However they have different VKey value. The values can be matched against those in http://msdn.microsoft.com/en-us/library/dd375731%28VS.85%29.aspx like:
VK_BROWSER_HOME
VK_LAUNCH_MAIL
VK_LAUNCH_MEDIA_SELECT
VK_LAUNCH_APP1