Skip to content

Input: analog values held when a capture ends come back at once #4009

Open

Description

@sasvdw

After a capture ends (for example, a menu closes), a button that is still held stays hidden until it's pressed again. Analog values don't: they come back at once. A script that checks Trigger > 0.5 can then act on the same trigger pull that clicked the menu.

Where this happens:

All of them read neutral while the device is captured, so this only affects the time after the capture ends.

Possible fixes:

  1. Hide an analog value while its matching button is suppressed, for example Trigger with TouchControllerButton.Trigger. Gamepad triggers have no matching button, so this doesn't cover them.
  2. Hide each analog value that isn't neutral when the capture ends, until it goes back to neutral (below a small threshold). This works the same way for every device type, buttons or not.

The fix should cover gamepads, game controllers and VR together, so that they behave the same. Raised in the #3796 review.

Activity

  1. added
    bug
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Inputbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions