Samuel Mokrani
/
USBHostMouse_HelloWorld
USBHostMouse Hello World
Diff: main.cpp
- Revision:
- 2:be0aafb2edc2
- Parent:
- 0:c14069b9487e
--- a/main.cpp Tue Mar 12 17:28:45 2013 +0000 +++ b/main.cpp Wed Mar 13 10:26:19 2013 +0000 @@ -17,7 +17,7 @@ Thread::wait(500); // when connected, attach handler called on mouse event - mouse.attach(onMouseEvent); + mouse.attachEvent(onMouseEvent); // wait until the mouse is disconnected while(mouse.connected())