Added PS/2 multimeda key support.

HID Consumer page and System control are also supported now.
merged mediakey branch: d53a356cd2011b461843a5c7c1527a61692893c1
This commit is contained in:
tmk committed 2011-05-31 21:25:16 +09:00
1 parent af85b6bba6
commit 6d45e05ede
10 files changed
+447 -350

No files matched your search

+7 -3
View File
@@ -117,14 +117,18 @@ void host_mouse_send(report_mouse_t *report)
#endif
#ifdef USB_EXTRA_ENABLE
void host_system_send(uint8_t data)
void host_system_send(uint16_t data)
{
usb_extra_system_send(data);
}
void host_audio_send(uint8_t data)
void host_consumer_send(uint16_t data)
{
usb_extra_audio_send(data);
static uint16_t last_data = 0;
if (data == last_data) return;
last_data = data;
usb_extra_consumer_send(data);
}
#endif