ps3 with sbdbt
Diff: PS3.h
- Revision:
- 3:5640aae53391
- Parent:
- 2:fe29007fb56c
--- a/PS3.h Mon Sep 26 10:28:39 2016 +0000 +++ b/PS3.h Fri Sep 30 12:28:35 2016 +0000 @@ -45,6 +45,8 @@ void addattach(void (*Func)()); void nothingFunc(); bool getButtonState(int button); + bool getSELECTState(); + bool getSTARTState(); int getRightJoystickXaxis(); int getRightJoystickYaxis(); int getLeftJoystickXaxis(); @@ -60,6 +62,7 @@ /*{ return atan2(double(PS3Data[4]*-1+64), double(PS3Data[3]-64))*double(180/PI); }*/ + void printdata(); private: char PS3Data[8]; void (*fpFunc)();