Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem mbed-rtos
Fork of USBHost by
Diff: USBHostHID/USBHostMouse.cpp
- Revision:
- 4:b320d68e98e7
- Parent:
- 0:a554658735bf
- Child:
- 5:e48791a1ef18
diff -r 0f5c32575eb8 -r b320d68e98e7 USBHostHID/USBHostMouse.cpp
--- a/USBHostHID/USBHostMouse.cpp Wed Mar 06 17:50:07 2013 +0000
+++ b/USBHostHID/USBHostMouse.cpp Tue Mar 12 17:23:37 2013 +0000
@@ -59,8 +59,8 @@
if (!int_in)
break;
- USB_INFO("New Mouse device: VID:%04x PID:%04x [dev: %p]", dev->getVid(), dev->getPid(), dev);
- dev->setName("Mouse");
+ USB_INFO("New Mouse device: VID:%04x PID:%04x [dev: %p - intf: %d]", dev->getVid(), dev->getPid(), dev, mouse_intf);
+ dev->setName("Mouse", mouse_intf);
host->registerDriver(dev, mouse_intf, this, &USBHostMouse::init);
int_in->attach(this, &USBHostMouse::rxHandler);
@@ -114,4 +114,3 @@
}
#endif
-
