Input not working (SOLVED)

#1

Input does not work. I read tutorials and problems of others, but it didn’t help me … It’s just that the game doesn’t see any key presses.

0 Likes

#2

There are very basic examples of how to work with input here:

And I assume you have read the manual?

If you’re stuck and need help please follow the guidelines for asking for help:

0 Likes

#3

I tried. The same does not work there.

0 Likes

#4

Okay. A little later I will fully describe my problem.

0 Likes

#5

The problem is that the engine does not see my keyboard or my keyboard does not work with the engine.
I even tried to display the state of the keystroke in the console, but this also does not work.
I also tried all the examples of games.
No errors come out and it works fine. But the engine does not see keyboard inputs.
The mouse works fine, the touch pad is the same.

0 Likes

#6

I have never heard of anyone having problems with the keyboard in Defold.

Which OS are you using? What kind of keyboard? Can you share an example app (source, zipped) where keyboard input doesn’t work?

0 Likes

#7

Is your keyboard cable connected?:upside_down_face:

0 Likes

#8

Windows,I use the additional keyboard to the laptop so it is more convenient for me, but I do not think that this is the case.

0 Likes

#9

Yeah

0 Likes

#10

Please share a project that isn’t working.

0 Likes

#11

Strange … I can not drop the zip file into the forum directly, but I can use hosting.
https://my-files.ru/1ahe9f

0 Likes

#12

The astronaut.script is completely empty. There is no code to acquire input and no code to handle the input. There’s a “Programming the astronaut movement” in the readme. You need to follow the tutorial and do all steps.

0 Likes

#13

Oh…Sorry, I threw the wrong file.

0 Likes

#14

I understood what the problem was … One key stuck on my keyboard and it was always pressed without letting others press … But at the same time I didn’t notice it.
So sorry :o…

0 Likes

#15

He he, that was am interesting hardware failure.

0 Likes