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

Most joystick events not detected when running console #933

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Most joystick events not detected when running console #933

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.0
Reported for operating system, platform: Windows 7, x86_64

Comments on the original bug report:

On 2013-06-26 14:04:18 +0000, wrote:

When you fixed the bug 1892 "Joystick events trigger when the SDL program has no focus" by adding a check with SDL_GetKeyboardFocus, a program running in console mode only (I.E. no opened/focused window) does not receive input from the joysticks.

Since it's useful for debugging and prototyping, it would be appreciated, if possible, for the console associated the the current program to detect the input as well without having to set SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to 1.

The expected behavior would be for the events to be generate for the focused program instead of for the focused SDL window

On 2013-06-29 18:08:05 +0000, Sam Lantinga wrote:

Fixed, thanks!
http://hg.libsdl.org/SDL/rev/5ba1fafc6a94

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

No branches or pull requests

1 participant