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

Security Software is blocking RegisterRawInputDevices() #1327

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

Security Software is blocking RegisterRawInputDevices() #1327

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.1
Reported for operating system, platform: Windows 7, All

Comments on the original bug report:

On 2014-01-27 17:13:42 +0000, Yamagi wrote:

A customer of mine had the strange problem, that SDL_SetRelativeMouseMode() was failing for him on Windows 7. Luckily he was willing to provide some debug informations. We could track this problem down to RegisterRawInputDevices() failing due to security software running on his system (Norton Internet Security to be precise, but there are reports of similar problems with other products. For example [1]). Working around this issue with SDL_WarpMouseInWindow() is easy, and while I don't think that SDL2 can provide an internal workaround it would be really nice and helpfull if this could be documentated somewhere.

1: http://forums.codeguru.com/showthread.php?498374-How-to-run-a-very-long-SQL-statement

On 2014-01-27 17:42:40 +0000, Daniel Gibson wrote:

I think SDL could (and should!) do the warping itself automatically as a fallback if RegisterRawInputDevices() fails.
It's shouldn't be up to the SDL user to add platform-specific hacks.

On 2014-02-02 09:31:10 +0000, Sam Lantinga wrote:

Hey Ryan, I recently added the mouse warping mode to SDL. Should we fall back to that, do you think?

On 2014-02-02 15:28:50 +0000, Ryan C. Gordon wrote:

(In reply to Sam Lantinga from comment # 2)

Hey Ryan, I recently added the mouse warping mode to SDL. Should we fall
back to that, do you think?

Ugh, yeah, let's do that. Should we get this into 2.0.2?

--ryan.

On 2014-02-09 10:48:35 +0000, Sam Lantinga wrote:

Yes, this is a good fix to get in.

On 2014-03-01 18:00:01 +0000, Sam Lantinga wrote:

Okay, if RegisterRawInputDevices() fails, we'll transparently fall back to mouse warping.
https://hg.libsdl.org/SDL/rev/6e18328e25e0

Thanks!

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