Działająca myszka

Fork of USBDevice by mbed official

Revision:
45:49c8e06c3b1c
Parent:
11:eeb3cbbaa996
diff -r d2638fcd76d9 -r 49c8e06c3b1c USBHID/USBMouse.cpp
--- a/USBHID/USBMouse.cpp	Tue Mar 24 08:30:19 2015 +0000
+++ b/USBHID/USBMouse.cpp	Wed Apr 22 16:33:44 2015 +0000
@@ -69,7 +69,7 @@
     return send(&report);
 }
 
-bool USBMouse::move(int16_t x, int16_t y) {
+bool USBMouse::move(float x, float y) {
     return update(x, y, button, 0);
 }