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.
Dependents: USBHostC270_example_GR-PEACH USBHostDac_example USBHostDac_Audio_in_out
Fork of USBHost_custom by
Diff: USBHostHID/USBHostMouse.h
- Revision:
- 24:868cbfe611a7
- Parent:
- 8:93da8ea2708b
--- a/USBHostHID/USBHostMouse.h Fri Mar 07 16:00:46 2014 +0000
+++ b/USBHostHID/USBHostMouse.h Tue Jun 03 11:30:38 2014 +0100
@@ -23,7 +23,7 @@
#include "USBHost.h"
-/**
+/**
* A class to communicate a USB mouse
*/
class USBHostMouse : public IUSBEnumerator {
@@ -58,7 +58,7 @@
onUpdate = ptr;
}
}
-
+
/**
* Attach a callback called when the button state changes
*
@@ -69,7 +69,7 @@
onButtonUpdate = ptr;
}
}
-
+
/**
* Attach a callback called when the X axis value changes
*
@@ -80,7 +80,7 @@
onXUpdate = ptr;
}
}
-
+
/**
* Attach a callback called when the Y axis value changes
*
@@ -91,7 +91,7 @@
onYUpdate = ptr;
}
}
-
+
/**
* Attach a callback called when the Z axis value changes (scrolling)
*
@@ -114,7 +114,7 @@
USBDeviceConnected * dev;
USBEndpoint * int_in;
uint8_t report[4];
-
+
bool dev_connected;
bool mouse_device_found;
int mouse_intf;
