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

InputEvent's is_action{,_pressed,_released} don't work #8914

Closed
SirPigeonz opened this issue May 26, 2017 · 3 comments · Fixed by #8936
Closed

InputEvent's is_action{,_pressed,_released} don't work #8914

SirPigeonz opened this issue May 26, 2017 · 3 comments · Fixed by #8936
Milestone

Comments

@SirPigeonz
Copy link
Contributor

SirPigeonz commented May 26, 2017

Godot version: 3.0 master

Issue description:
Input.is_action_pressed("action") is not working :)

@ghost
Copy link

ghost commented May 26, 2017

Indeed, the only thing I have found to work is to use the _input( event ) function and poll input using event.is_action(); event.is_action_pressed() and event.is_action_released() still do not work, however.

@akien-mga akien-mga added this to the 3.0 milestone May 26, 2017
@akien-mga akien-mga changed the title Input class broken, probably after InputEvent rewrite InputEvent's is_action{,_pressed,_released} don't work May 26, 2017
@ghost
Copy link

ghost commented May 26, 2017

this issue (on Lubuntu 17.04 64bit) emerged form in the commit 3c17511 and afterwards.

in the previous commits ( f2a335d ), the .is_action_pressed/released works fine.

@bojidar-bg
Copy link
Contributor

@alexwbc You must be wrong somehow. That commit has nothing to do with Input or InputEvent classes.

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

Successfully merging a pull request may close this issue.

4 participants