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

"Space" as input key is ignored #35576

Closed
ligazetom opened this issue Jan 26, 2020 · 6 comments
Closed

"Space" as input key is ignored #35576

ligazetom opened this issue Jan 26, 2020 · 6 comments

Comments

@ligazetom
Copy link

ligazetom commented Jan 26, 2020

Godot version:
3.2.beta.custom_build.24281cd9c

OS/device including version:
Windows 10 Pro (Version: 1903, Build 18362.535)

Issue description:
Keyboard's "Space" is ignored on input

Steps to reproduce:
Create InputMap.
image

I print to console everytime "Impulse" is pressed. It works for "M" but not for "Space".
Minimal reproduction project:
I am working with GDNative so it would be cumbersome. However if "M" works and "Space" don't, it must be somewhere deep down.

My "Space" works, since I wrote this with spaces.

@akien-mga
Copy link
Member

Isn't it because it's already used by ui_accept?

@ligazetom
Copy link
Author

I thought as well, so I deleted it from there and it still kept ignoring it.

@nathanfranke
Copy link
Contributor

Cannot reproduce on 3.2 RC 3 (Mono), Linux Mint 19.3

Here is a reproduction project
Test4.zip

@ShlomiRex
Copy link
Contributor

Please show the code that you wrote, I can't reproduce it on Ubuntu 20.04 build 3.1 stable

@ligazetom
Copy link
Author

ligazetom commented Jan 29, 2020

Hey, here I shared my whole project: #35577
But there are only game files, not any of my C++.

I cannot provide you with the code because I came across so many bugs I just got fed up with everything and deleted everything godot related.

But it was really simple. In _unhandled_input() I had something like:

if(event->is_action("Impulse")
{
    std::cout << "Impulse" << std::endl;
}

And it was printing impulse when I pressed M, but not Space. Sorry guys for not having source anymore, I just gave up on this engine.

@Calinou
Copy link
Member

Calinou commented Mar 10, 2020

I can't reproduce this either on 3.2 stable using the minimal reproduction project linked above. As nobody else was able to reproduce this issue, I'll close it.

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

No branches or pull requests

5 participants