[wdmaudiodev] Fast Forward & Rewind HID in Windows Media Player

  • From: Dominik Peklo <dominikp@xxxxxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 22 Jun 2010 19:43:25 +0800


Hi everybody,

I'm having no luck trying to implement seeking using HID over USB. It works fine on both Mac & Windows version of iTunes, however in WMP9 on XP as well as WMP11 on W7 it's unusable. Fast forward does enable seeking, however it's flickering about as if it was switching seek on and off rapidly. Often times it won't recognize release of the button and keeps seeking all the time, now without any stuttering. Rewind does not even register. Tried Foobar, it works in both directions however stops automatically after a few seconds, even though the key is still being held. Tried changing polling rate 10 or 20ms, no apparent difference. Other HID controls all work fine.

My HID descriptor:

    0x05, 0x0C,                    // USAGE_PAGE (Consumer Devices)
    0x09, 0x01,                    // USAGE (Consumer Control)
    0xA1, 0x01,                    // COLLECTION (Application)
    0x15, 0x00,                    //   LOGICAL_MINIMUM (0)
    0x25, 0x01,                    //   LOGICAL_MAXIMUM (1)
    0x75, 0x01,                    //   REPORT_SIZE (1)
    0x95, 0x02,                    //   REPORT_COUNT (2)
    0x09, 0xB3,                    //   USAGE (Fast Forward)
    0x09, 0xB4,                    //   USAGE (Rewind)
    0x81, 0x22,                    //   INPUT (Data,Var,Abs,NPrf)
    0x95, 0x04,                    //   REPORT_COUNT (4)
    0x09, 0xB5,                    //   USAGE (Scan Next Track)
    0x09, 0xB6,                    //   USAGE (Scan Previous Track)
    0x09, 0xB7,                    //   USAGE (Stop)
    0x09, 0xCD,                    //   USAGE (Play/Pause)
    0x81, 0x06,                    //   INPUT (Data,Var,Rel)
    0x95, 0x02,                    //   REPORT_COUNT (2)
    0x09, 0xE9,                    //   USAGE (Volume Up)
    0x09, 0xEA,                    //   USAGE (Volume Down)
    0x81, 0x02,                    //   INPUT (Data,Var,Abs)
    0xC0                           // END_COLLECTION

Anybody?

Best Regards,
Dominik


Other related posts:

  • » [wdmaudiodev] Fast Forward & Rewind HID in Windows Media Player - Dominik Peklo