Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inpututil: AppendJustReleasedGamepadButtons and AppendJustReleasedStandardGamepadButtons return just-pressed buttons #3147

Closed
11 tasks
hajimehoshi opened this issue Oct 26, 2024 · 0 comments
Labels
Milestone

Comments

@hajimehoshi
Copy link
Owner

Ebitengine Version

812feec

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

Go Version (go version)

go version go1.23.1 darwin/arm64

What steps will reproduce the problem?

Connect a gamepad and see the result of inpututil.AppendJustReleasedGamepadButtons or input.AppendJustReleasedStandardGamepadButtons

What is the expected result?

The result includes just released buttons, which were pressed in the last tick and not pressed in the current tick.

What happens instead?

The result included just pressed buttons, which were not pressed in the last tick and pressed in the current tick.

Anything else you feel useful to add?

No response

@hajimehoshi hajimehoshi added this to the v2.8.3 milestone Oct 26, 2024
hajimehoshi added a commit that referenced this issue Oct 26, 2024
…tReleasedStandardGamepadButtons` returned just-pressed buttons

Closes #3147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant