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 stutters a bit and struggles to move camera when the invisible cursor reaches the edge of the screen #16

Closed
QueenieArtemisia opened this issue Dec 31, 2024 · 5 comments

Comments

@QueenieArtemisia
Copy link

QueenieArtemisia commented Dec 31, 2024

Your build is fantastic.

After activating the mouse look with F7, I found that the camera struggles to move when the theoretical cursor hidden within the game reaches the edge of the screen. If the sensitivity in-game is lower (such as sub-5), the issue is worse.

The way it happens is that you look around with your character, then it stops a bit, and then continues to move. This interrupts the movement and becomes a bit jerky. I think calculating relative mouse position instead of absolute one might help, but I might be wrong. In any case, this progress is BRILLIANT.

Thank you for everything,

A friend who finished all Souls games on PC and KBM and is very much looking forward to Bloodborne. You have given me hope.

@QueenieArtemisia QueenieArtemisia changed the title Mouse does not move camera in Bloodborne Mouse stutters a bit and struggles to move camera when the invisible cursor reaches the edge of the screen Jan 1, 2025
@ares1768
Copy link

ares1768 commented Jan 4, 2025

A fellow Hungarian guy made the controls for it, so I may ask him if he will make any new releases, but this has been an issue for some time, so I assume this is not easily fixable.

@QueenieArtemisia
Copy link
Author

QueenieArtemisia commented Jan 4, 2025

Until this gets fixed, I managed to find an alternative solution that is 100% working correctly:

https://github.com/N3R4i/mouse2joystick_shadPS4

With this on, I can't even tell the difference between this and my PC version of Dark Souls 3 mouse controls - it's that good. Hopefully, it will be fixed natively in ShadPS4 too one day.

My settings for perfect controls are:

  • Mouse2Joystick: 50% Resistance
  • In-Game: 10 Controller Sensitivity

NOTE: Don't press F7 to activate the native ShadPS4 mouse controls - let Mouse2Joystick do the magic (F1 to activate).

@kalaposfos13
Copy link

After reading through the mouse2joystick_shadPS4 README, one thing you can try is to set the mouse deadzone offset to 0.37 in the keyboard menu. If you don't know how to do that, there's the Help tab for it. Personally I found no problems with this approach compared to centering the mouse every frame (apart from one niche thing where if you manage to unfocus the window but keep the tracking, it will actually continue to respond to mouse movement, but allows the cursor to leave the window, but that's just a rare edge case). This might not solve your specific problem, but it will at least set the deadzone to a level where you can't move the mouse slowly enough to fall into the deadzone. Personally I don't think I'll change the default to this, as shadPS4 is not just a Bloodborne emulator, but that's why I made it configurable.

Regardless of whether or not this actually solves the problem, I'd like to get more info on what exactly what behaviour occurs here: things like OS, windowed or fullscreen mode, 60 or 30 FPS would be much appreciated.

@diegolix29 I would appreciate if you'd redirect issues like this (not people who haven't read the documentation, but actual issues) to my PR in the future, as it would be very helpful to me to improve my code, seeing it was pure chance I even saw this issue here.

@QueenieArtemisia
Copy link
Author

Understood. Here's the info you requested.

  • Window AND Fullscreen mode - same behaviour
  • Windows 10
  • 60 FPS

@diegolix29
Copy link
Owner

for closing this issue, it needs to be adressed on that pr shadps4-emu#1356 but with enough testing and feedback from people having the issue. thanks for the feedback guys

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

4 participants