Replace WasInputKeyJustPressed with gamepad input event

Now don’t work, unreal engine 4 is crashing…