Skip to content

Key binding problem #81

Description

@AlexandreGheraibia

Describe the bug
Firstly HI!, I love what you have done here!
Secondly, I'm French so I'm using an azerty keyboard so I need to change my player control in the key binding panel. when I did that a problem appeared. I have the old key that remains tied to player movement

Solution
I found the solution after a little struggle with KeyBindManager.cs and other files.
The problem comes from the instantiation of the keys bound to the keyboard.

For example we have this:

InitializeKey("FORWARD", KeyCode.W, KeyCode.W, KeyCode.W, "Forward", KeyBindType.Normal);

so we should have this:

InitializeKey("FORWARD", KeyCode.W, KeyCode.None, KeyCode.None, "Forward", KeyBindType.Normal);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions