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

Key binding problem #81

Open
AlexandreGheraibia opened this issue Jan 1, 2023 · 0 comments
Open

Key binding problem #81

AlexandreGheraibia opened this issue Jan 1, 2023 · 0 comments

Comments

@AlexandreGheraibia
Copy link

AlexandreGheraibia commented Jan 1, 2023

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);

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

No branches or pull requests

1 participant