Has anyone had any luck with this in windows yet.
From what i can gather to enable multimedia buttons in windows you need to configure it as a Consumer control device.
In order to control the device as determined by the media control keys was used corresponding USBHidReportDescriptor, taken from the USB descriptor multimedia keyboards, and writing the appropriate handling code.
Example USB descriptor
PROGMEM char usbHidReportDescriptor [25] = {/ * USB report descriptor * /
0x05, 0x0c, / ??/ ??USAGE_PAGE (Consumer Devices)
0x09, 0x01, / / ??USAGE (Consumer Control)
0xa1, 0x01, / / ??COLLECTION (Application)
0x85, 0x01, / / ??REPORT_ID (1)
0x19, 0x00, / / ??USAGE_MINIMUM (Unassigned)
0x2a, 0x3c, 0x02, / / ??USAGE_MAXIMUM (AC Format)
0x15, 0x00, / / ??LOGICAL_MINIMUM (0)
0x26, 0x3c, 0x02, / / ??LOGICAL_MAXIMUM (572)
0x95, 0x01, / / ??REPORT_COUNT (1)
0x75, 0x10, / / ??REPORT_SIZE (16)
0x81, 0x00, / / ??INPUT (Data, Var, Abs)
0xc0 / / END_COLLECTION};
That was taken from
http://obruboff.ru/usb-volume-control-ver-2/ which uses V-USB an ATTiny 85
I have build the circuit from the link above and it works great but its nice to have a bootloader as in the digispark.
Consumer Device Codes
http://msdn.microsoft.com/en-us/windows/hardware/gg462991.aspx MUTE 0xe2
VOLUME DOWN 0xea
VOLUME UP 0xe9
The V-USB MAME panel example has joystick,keyboard and consumer device in its USBHidReportDescriptor this also includes volume control
http://vusb.wikidot.com/project:mamepanelAny chance we could have a digispark consumer device library with the volume control as an example, as its pretty useful.
Thanks
Rupert