This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HID media control using CC2540

Hi,

i can use keyfob to simulate keyboard with win8, but i can not control media function(like: volume up, volume down, mute)

i modify hidReportMap in hidkbdservice.c(profile: HIDDevKbd)

145 static CONST uint8 hidReportMap[] =
146 {
147 0x05, 0x0C, // Usage Page (Consumer Devices)
148 0x09, 0x01, // Usage (Consumer Control)
149 0xA1, 0x01, // Collection (Application)
150 0x15, 0x00, // Logical Minimum (0)
151 0x25, 0x01, // Logical Maximum (1)
152 0x09, 0xE9, // Usage (Volume Up)
153 0x09, 0xEA, // Usage (Volume Down)
154 0x75, 0x01, // Report Size (1)
155 0x95, 0x02, // Report Count (2)
156 0x81, 0x02, // Input (Data, Variable, Absolute)
157 0x09, 0xE2, // Usage (Mute)
158 0x95, 0x01, // Report Count (1)
159 0x81, 0x06, // Input (Data, Variable, Relative)
160 0x95, 0x05, // Report Count (5)
161 0x81, 0x07, // Input (Constant)
162 0xC0 // End Collection
163 };

how do i send out these command and OS will work correctly?

thanks