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

Mouse Movement Limit in RPCEmu #1

Open
DanKorell opened this issue May 22, 2020 · 1 comment
Open

Mouse Movement Limit in RPCEmu #1

DanKorell opened this issue May 22, 2020 · 1 comment

Comments

@DanKorell
Copy link

I don't know if this is a bug with Doom or with RPCEmu, though I have read that Doom's implementation of the mouse is not good, setting boundary limits outside of the desktop and not resetting them afterwards.

Anyway, the issue I'm getting, and this also happens with Doom+, is that when I move the mouse left and right to turn, it only turns so much and then stops. The amount I can turn seems to be dependent on the screen resolution. E.g. at 640x480 I get about 180 degrees of motion, at 800x600 it is roughly 270 degrees, and at 1024x768 it is a little over 360 degrees. So basically, you cannot turn around fully more than once and this impacts on freedom of movement, especially when you are in maze-like corridors and such.

I am using RPCEmu (0.9.3), so I don't know if this makes any difference.

@jeffdoggett
Copy link
Owner

jeffdoggett commented May 23, 2020

The mouse bounding box is set to infinite at startup (a_keyboard.c lines 608-620). You are correct that it does not get reset afterwards as the wimp appears to do it anyway. On a native system all works as expected, can turn indefinately. I would guess that it's an issue with RPCEmu limiting the mouse to it's known screen size.

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

2 participants