Ghost Mouse / Mbed 2 deprecated ghost_mouse

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
jennabarton
Date:
Sat Apr 01 20:34:56 2017 +0000
Parent:
8:d27efcac2dd7
Child:
10:d67a15ba5748
Commit message:
testing mouse movement

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Apr 01 20:19:57 2017 +0000
+++ b/main.cpp	Sat Apr 01 20:34:56 2017 +0000
@@ -224,5 +224,17 @@
         //keyOut.putc(0x41);
         
         
+        //uncomment below to infinitely move mouse up
+        keyOut.putc(0xFD);
+        keyOut.putc(0x00);
+        keyOut.putc(0x03);
+        keyOut.putc(0x00); //button press
+        keyOut.putc(0x00); //x direction
+        keyOut.putc(0x50); //y direction
+        keyOut.putc(0x00);
+        keyOut.putc(0x00);
+        keyOut.putc(0x00);
+        
+        
     }
 }