Implements a basic USB mouse function using a 5-way Navigation Switch (Digital Joystick) on mbed LPC1768. A USB connector breakout board is needed.

Dependencies:   USBDevice mbed

Fork of USBMouse_HelloWorld by Samuel Mokrani

Revision:
3:b8caa902d79e
Parent:
2:e7b766501add
Child:
5:679a07e00e4c
--- a/main.cpp	Wed Nov 30 11:00:01 2011 +0000
+++ b/main.cpp	Sun Oct 14 12:39:53 2012 +0000
@@ -12,6 +12,7 @@
     while (1) {
         x = cos((double)angle*3.14/180.0)*radius;
         y = sin((double)angle*3.14/180.0)*radius;
+        
         mouse.move(x, y);
         angle += 3;
         wait(0.001);