Fix Wii Remote off-screen direction: clamp IR position to screen edge on screen-out#156
Closed
Fix Wii Remote off-screen direction: clamp IR position to screen edge on screen-out#156
Conversation
… on screen-out Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/bd2c26c8-818b-447e-9717-d1e95fc50647 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
dazzaXx
April 3, 2026 17:11
View session
Copilot stopped work on behalf of
dazzaXx due to an error
April 3, 2026 17:24
Owner
|
@copilot That doesnt seem to work as intended, if TC4 has to differentiate between left screen out and right screen out, then surely either or would be pressing different "keys" |
…nvisible state keeps last direction Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/7f5f8e50-3e0b-47ce-9288-20bfc3e77355 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
Copilot stopped work on behalf of
dazzaXx due to an error
April 3, 2026 17:43
Copilot stopped work on behalf of
dazzaXx due to an error
April 3, 2026 17:56
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
finalX/finalYdeclared inside thewhileloop reset to0.5every event; when IR dots go invisible (1023) the off-screen position was always centre, not the actual directionfinalX/finalYto outer scope (before thewhileloop) so they persist across events, retaining the last-computed direction when the IR dots go fully invisible