We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 995f6ce commit 7f7647cCopy full SHA for 7f7647c
src/drivers/ps4/PS4Driver.cpp
@@ -245,13 +245,13 @@ void PS4Driver::process(Gamepad * gamepad) {
245
} else if (pointOneTouched && touchpadData.p1.unpressed) {
246
pointOneTouched = false;
247
}
248
- if (!pointTwoTouched && touchpadData.p2.unpressed) {
+ if (!pointTwoTouched && !touchpadData.p2.unpressed) {
249
touchCounter = (touchCounter < PS4_TP_MAX_COUNT ? touchCounter+1 : 0);
250
251
touchpadData.p2.counter = touchCounter;
252
253
pointTwoTouched = true;
254
- } else if (pointTwoTouched && touchpadData.p1.unpressed) {
+ } else if (pointTwoTouched && touchpadData.p2.unpressed) {
255
pointTwoTouched = false;
256
257
ps4Report.touchpad_data = touchpadData;
0 commit comments