Tech Support > Microsoft Windows > Drivers > How are hotkeys handled by filter drivers?
How are hotkeys handled by filter drivers?
Posted by Michael on March 7th, 2008


I have a HID device that has several non-standard keys. I want to be able to
treat these similar to the hotkeys on a keyboard (like the internet, email,
search buttons, etc). How are hotkeys typically handled? Are they processed
just like an ordinary scan code? Or do you have to do something special like
you do with the power related buttons that require registering device
interfaces? How does the OS know what to do when it does receive a hotkey?
Is this determined by the driver, or is there some user mode component that
links up the hotkey with the desired action?

Posted by Maxim S. Shatskih on March 7th, 2008


IIRC there are some VK_xxx scancodes for them. The rest of the handling is
done by Explorer/Shell32.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Michael" <Michael@discussions.microsoft.com> wrote in message
news:378094DA-3BBE-451C-8CC3-DD14718C7AFC@microsoft.com...

Posted by Doron Holan [MSFT] on March 7th, 2008


these keys must be put into a consumer collection and each of these keys
have a std defined usage value. there is a user mode service which will
read these usages and turn them into windows messages. the hid driver
(hidclass) just reports the data.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:%23RHP$OJgIHA.5348@TK2MSFTNGP03.phx.gbl...


Similar Posts