+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. :-)

asked Sep 23, 2016 in Engine by Robster (808 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

answered Sep 23, 2016 by jospic (1,451 points)
selected Sep 24, 2016 by Robster

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.