Skip to content

Commit

Permalink
Merge pull request #18549 from GermanAizek/fix-mouse-delta
Browse files Browse the repository at this point in the history
Removed unused AccumulateMouseDeltas function on Windows
  • Loading branch information
hrydgard committed Dec 14, 2023
2 parents 1552221 + 446ac51 commit 578a90f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Windows/WindowsHost.h
Expand Up @@ -29,13 +29,6 @@ class WindowsInputManager {
void Init();
void PollControllers();

void AccumulateMouseDeltas(float dx, float dy, float *outX, float *outY) {
mouseDeltaX_ += dx;
mouseDeltaY_ += dy;
*outX = mouseDeltaX_;
*outY = mouseDeltaX_;
}

private:
size_t numDinputDevices_ = 0;
std::list<std::unique_ptr<InputDevice>> input;
Expand Down

0 comments on commit 578a90f

Please sign in to comment.