#define KEY_MUTE 127
#define KEY_VOLUME_UP 128
#define KEY_VOLUME_DOWN 129
Taken from http://www.usb.org/developers/devclass_docs/Hut1_11.pdf page 56
KEY_MUTE is used when the button is pressed in, KEY_VOLUME_UP is sent each time the knob clicks one notch clockwise, KEY_VOLUME_DOWN is sent when turned one notch anticlockwise.
Jenna
In windows the keys are mapped based on the country and keyboard mapping.
You can try these codes.
http://msdn.microsoft.com/en-nz/library/windows/desktop/dd375731%28v=vs.85%29.aspx
they may match.
#define KEY_MUTE 127 0xAD
#define KEY_VOLUME_UP 128 0xAF
#define KEY_VOLUME_DOWN 129 0xAE
Mark