-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following changes do not alter any logic: - rename x/ydelta fields to x/y_accu to better reflect what it actually is about - coalesce the logic for modifying internal state to one spot, branch based on whether the input was a move or a warp The following changes alter the logic: - put the x/y_accu addition under the relative branch only, warps should not add to the accumulation buffer by any definition - (MAIN FIX) set the pushed event's x/yrel value to zero if relative. This is the only way a developer can differentiate between a move and a warp.
- Loading branch information
Showing
2 changed files
with
29 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters