Skip to content

Commit

Permalink
fix: build error and typos of 9f5c692
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Oct 29, 2024
1 parent 9f5c692 commit e0b493f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/MaaWin32ControlUnit/Input/SeizeInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ bool SeizeInput::touch_down(int contact, int x, int y, int pressure)
}
LogInfo << VAR(contact) << VAR(x) << VAR(y) << VAR(pressure) << VAR(point.x) << VAR(point.y) << VAR_VOIDP(hwnd_);

POINT point = { x, y };
ClientToScreen(hwnd_, &point);
SetCursorPos(point.x, point.y);

INPUT input = {};
Expand Down

0 comments on commit e0b493f

Please sign in to comment.