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

Joypad motion isn't serialized or restored #26

Closed
Repflez opened this issue Nov 28, 2023 · 0 comments · Fixed by #27
Closed

Joypad motion isn't serialized or restored #26

Repflez opened this issue Nov 28, 2023 · 0 comments · Fixed by #27
Assignees
Labels
bug Something isn't working

Comments

@Repflez
Copy link

Repflez commented Nov 28, 2023

Describe the bug
When calling InputHelper.serialize_inputs_for_actions(), joypad axis bindings aren't saved, neither can be restored.

Affected version

  • Input Helper version: 4.2.2
  • Godot version: 4.2.rc2

To Reproduce
Steps to reproduce the behavior:

  1. Create an input map that uses a joypad axis
  2. Serialize them with InputHelper.serialize_inputs_for_actions()
  3. Apply the serialized inputs with InputHelper.deserialize_inputs_for_actions(serialized_inputs)
  4. Try to use the previously created input map with a joypad axis

Expected behavior
The joypad axis should be saved and restored properly for the input maps that use them.

Screenshots
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants