use PS4
Revision 8:3fa54986cf61, committed 2018-10-27
- Comitter:
- yopcyuuu
- Date:
- Sat Oct 27 04:18:40 2018 +0000
- Parent:
- 7:fc30592ff29e
- Commit message:
- remove clicklistener
Changed in this revision
PS4Serial.cpp | Show annotated file Show diff for this revision Revisions of this file |
PS4Serial.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r fc30592ff29e -r 3fa54986cf61 PS4Serial.cpp --- a/PS4Serial.cpp Thu Oct 25 06:22:47 2018 +0000 +++ b/PS4Serial.cpp Sat Oct 27 04:18:40 2018 +0000 @@ -19,12 +19,6 @@ for (int i = 0; i < 8; i++) { ControllerData[i] = Receive[i]; } - for (int i = 0; i < 14; i++) { - if (getButtonClick((PS4Button)i , 0)) ClickListener((PS4Button)i); - } - for (int i = 0; i < 8; i++) { - ControllerData_OLD[i] = ControllerData[i]; - } } } else {
diff -r fc30592ff29e -r 3fa54986cf61 PS4Serial.h --- a/PS4Serial.h Thu Oct 25 06:22:47 2018 +0000 +++ b/PS4Serial.h Sat Oct 27 04:18:40 2018 +0000 @@ -24,5 +24,5 @@ int getButtonClick(PS4Button button,bool mode ); bool connected(); void update(); - void ClickListener(PS4Button ClickButton); + //void ClickListener(PS4Button ClickButton); };