ps3 with sbdbt

Dependents:   NHK2019manualver2 NHK2019manualver2_10_3

Revision:
2:fe29007fb56c
Parent:
0:87f83956cb4c
Child:
3:5640aae53391
diff -r feb844c4721e -r fe29007fb56c PS3.h
--- a/PS3.h	Mon Aug 15 04:52:14 2016 +0000
+++ b/PS3.h	Mon Sep 26 10:28:39 2016 +0000
@@ -41,7 +41,14 @@
             *(PS3Data+i) = Serial::getc();
         }
     }*/
+    void myattach();
+    void addattach(void (*Func)());
+    void nothingFunc();
     bool getButtonState(int button);
+    int getRightJoystickXaxis();
+    int getRightJoystickYaxis();
+    int getLeftJoystickXaxis();
+    int getLeftJoystickYaxis();
     /*{
         return (*(PS3Data+(button>>4)) >> (button & 0x0f)) & 1;
     }*/
@@ -55,6 +62,8 @@
     }*/
     private:
     char PS3Data[8];
+    void (*fpFunc)();
+    bool addflag;
 };
 
 #endif
\ No newline at end of file