4180
/
4180_lab1_part5_ec
ec
Fork of USBMouse_NavSwitch by
Diff: main.cpp
- 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);