Skip to content

Commit

Permalink
feat: make right clicks work, fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
lazd committed Jan 8, 2020
1 parent eea71ca commit 3bb4248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VoodooI2CGoodix/VoodooI2CGoodixEventDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void VoodooI2CGoodixEventDriver::reportTouches(struct Touch touches[], int numTo
}

if (right_click) {
clickType = right_click;
clickType = RIGHT_CLICK;
}

dispatchDigitizerEvent(touch.x, touch.y, clickType);
Expand Down

0 comments on commit 3bb4248

Please sign in to comment.