A compilation of code from different sources to provide support for a Playstation 3 controller via bluetooth on the m3pi.
Fork of mbed_TANK_PS3 by
Diff: BTRuntime.cpp
- Revision:
- 2:895f70862eb9
- Parent:
- 1:ae49669c5e92
diff -r ae49669c5e92 -r 895f70862eb9 BTRuntime.cpp --- a/BTRuntime.cpp Sun Dec 30 05:16:28 2012 +0000 +++ b/BTRuntime.cpp Tue Jan 01 02:10:08 2013 +0000 @@ -120,6 +120,7 @@ static void OnHidInterrupt(int socket, SocketState state,const u8* data, int len, void* userData) { HIDBluetooth* t = (HIDBluetooth*)userData; + printf("OnHidInterrupt\r\n"); t->_ready = 0; if (data) {