Example Of Keyboard Input / List Of Keyboard Key Names?


#1

Hi,

Finishing up the new high score name input screen…
Can someone point to a Defold keyboard input tutorial?
Also need a list of Defold keyboard key names.
Thanks!

Jesse


#2

Just noticed that there is a “GameInput.input_binding” screen.
Does Defold have default keyboard input key names or I must declare all of them above?
Thanks!


#3

You want to use input text trigger type of text for typing arbitrary keys such as high score names. There is an example here https://www.defold.com/examples/input/text/

More info here https://www.defold.com/manuals/input/