+1 vote

Hi all,

I want to accept full QWERTY input within the range A to Z.

I have not done any keyboard handling except for up arrow, down arrow, etc. Basic stuff. I am really hoping I don't have to manually map every single key in the settings area so before doing that mammoth job decided to ask if anyone knows of a more efficient method?

I've got something like...

func _input(event):
    if event.type == InputEvent.KEY:
        print(InputEvent.KEY)

...but that only prints 1 each time I press (and release) a key.

Any suggestion taken with open arms. :-)

in Engine by (825 points)

1 Answer

+1 vote
Best answer

Take a look here, it's an Input Manager from AngegaStudios

https://godotdevelopers.org/forum/discussion/17419/input-manager

-j

by (1,469 points)
selected by

Thank you and I do appreciate the link.

I WAS going to say that I'll bookmark that for future use indeed but what I'm trying to do in this game is to make it myself. It's a learning experience more than anything. I'm really trying to avoid other people's systems plugged in.

Then I had a read of his code and I've decided to make my own system based on his. It really is very good and to be honest, it's teaching me what I need to learn.

Thanks so much. He does good stuff for the community (Edward).

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.