-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Project manager receiving joypad input when starting project via Run-button #15199
Comments
Ubuntu 17.10, Godot 3.0 Beta 2, AMD Radeon R9 Fury, Joypads demo, Microsoft X-Box One pad I can recreate this. Joypad demo has focus and is responsive to the controller. Project Manager responds to directional pad and the A button. |
We have now entered release freeze for Godot 3.0 and want to focus only on release critical issues for that milestone. Therefore, we're moving this issue to the 3.1 milestone, though a fix may be made available for a 3.0.x maintenance release after it has been tested in the master branch during 3.1 development. If you consider that this issue is critical enough to warrant blocking the 3.0 release until fixed, please comment so that we can assess it more in-depth. |
I just noticed, that this is not only limited to the Project Manager window. When running multiple Godot games all games will receive the joypad input. It does not matter if the games are started from the editor or if they are run from the commandline. |
I'll have a look at refactoring the mess in main.cpp so that the project manager and editor get a similar setup. Currently some things are set only when |
The Project Manager should share the same settings as the editor most of the time. The whole init stuff with Main::setup and Main::start needs a good cleanup though. Fixes godotengine#15199.
Note that I only fixed it for the project manager, by disabling its support for game-specific input. The fact that multiple instances of a game all receive joypad events regardless of the focus would likely be worth keeping track of in a new issue (if not done already). |
Godot version:
using Godot 3, the latest master version 0294887
OS/device including version:
Linux Mint
using an Xbox 360 controller
Issue description:
When running a project from the Project Manager window the input is process by the game and also by the Project Manager window.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: