What are the codes for multimedia keys sendkey
, keys like stop, play, add sound, turn down, mute?
I don't have such a keyboard, but i would think:
To get a clue for your specific keyboard you should make a small test application containing a Form, set the KeyPreview
to true
and simply subscribe to the KeyDown
event of it. Their you'll put maybe some code like this:
private void FormMain_KeyDown(object sender, KeyEventArgs e)
{
System.Diagnostics.Debug.Print(e.KeyData.ToString());
}
So you get in the Output Window of Visual Studio visualized the pressed key.
See this reference.
Look in Keys
Enum, play is an OR like this: Play = Exsel | OemBackslash,