Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | zeeawk | |
Old Version | Published before Godot 3 was released. |
Im confused. Using code like this
_input(event):
#bound to spacebar and game controller button a.
if event.is_action_pressed("jump"):
do stuff..
_process:
#bound to ctrl and game controller button b.
Input.is_action_pressed("fire"):
do stuff
If using the game controller I can hold down fire and press jump as many times just fine. But on the keyboard if I hold down ctrl and press space I don’t jump at all. If I hold down the fire button on the controller I can press space on the keyboard just fine.
Whats going on?
This must be hardware related. I changed jump to “z” and fire to “x” and everything works fine.
zeeawk | 2017-06-02 03:17
Does this happen if you bind, say, A
instead of Ctrl
to shoot?
Zylann | 2017-06-02 09:59