Skip to content

Commit

Permalink
Fix mouse clicks on LG devices
Browse files Browse the repository at this point in the history
Use default values (0) for some fields of PointerCoords so that mouse
clicks work correctly on LG devices.

Fixes <#18>.
  • Loading branch information
rom1v committed Mar 11, 2018
1 parent dac7196 commit c075ad0
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ private void initPointer() {
coords.orientation = 0;
coords.pressure = 1;
coords.size = 1;
coords.toolMajor = 1;
coords.toolMinor = 1;
coords.touchMajor = 1;
coords.touchMinor = 1;
}

private void setPointerCoords(Point point) {
Expand Down

0 comments on commit c075ad0

Please sign in to comment.