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

Speed up the mouse wheel #18564

Closed
2 tasks done
Gamernumberone opened this issue Dec 17, 2023 · 15 comments
Closed
2 tasks done

Speed up the mouse wheel #18564

Gamernumberone opened this issue Dec 17, 2023 · 15 comments
Labels
Input/Controller Input and controller issues
Milestone

Comments

@Gamernumberone
Copy link

What should happen

I noticed that the buttons are faster compared to the mouse wheel

Who would this benefit

PPSSPP

Platform (if relevant)

Windows

Games this would be useful in

PPSSPP

Other emulators or software with a similar feature

No response

Checklist

@LunaMoo
Copy link
Collaborator

LunaMoo commented Dec 17, 2023

Mouse Wheel "ticks" in 16 ms which means it's ~1 frame in 60 fps games. It can't really be "faster", so you probably just compare apples to oranges. Wheel triggers multiply times when scrolled and that's what it does, key while pressed is just continuosly ON, it will not behave same way in-game.

I'm guessing you're requesting the opposite you said, that is a setting to be able to slow it down and simulate "humanly possible key presses", because it's soo fast, that if you map it for example smooth camera movement, it will give you very tiny steps compared to slow human presses of keys.
Edit: also if you have half decent mouse, you can just unlock it's wheel typically by button near the wheel to get rid of "stepping" and when you spin it, it should be "continuosly pressed" like keys until you stop it.

@Gamernumberone
Copy link
Author

I don't know, but for example, in the original GTA vc, we bring the rifle closer faster than if we do this stories in mouse wheel.

@LunaMoo
Copy link
Collaborator

LunaMoo commented Dec 17, 2023

I know nothing about GTA VC, I do know however that if I unlock wheel on my mouse effectively simulating "key being pressed" it works exactly same as pressing key.
But by design and in most cheaper rodents without even an option to change it, mouse wheel behaves differently. It has stepping, it stops every time you feel that step. This is as fast as it can be, so it feels like pressing key very fast instead of holding it.

So again, you don't want it faster(it can't really be from PSP games perspective), you might want to have an option to make it slower, but doing so will have side effects of not instantly finishing when you stop scrolling, so might not be that great.

@LunaMoo
Copy link
Collaborator

LunaMoo commented Dec 17, 2023

You can try #18565, after it finishes building, you can get windows build in https://github.com/hrydgard/ppsspp/actions/runs/7238190421 under "artifacts", you'll find new option under mouse control settings to delay mouse wheel, when it's slower, it should closer resemble pressing of a buttons.

@Gamernumberone
Copy link
Author

for some reason, when I press a key, it zooms in faster, and when I press the mouse button longer

@LunaMoo
Copy link
Collaborator

LunaMoo commented Dec 17, 2023

Did you tried the new mouse wheel delay option in the build from https://github.com/hrydgard/ppsspp/actions/runs/7238190421 ?

@Gamernumberone
Copy link
Author

Is this the public version? I don't have anything that I can compile. Is it on the site with the latest builds?

@LunaMoo
Copy link
Collaborator

LunaMoo commented Dec 17, 2023

Go to the above link and check bottom of the page to download build from that PR. You'll find new option under controls->mouse settings-> mouse wheel delay it can be set from 1 which is current behaviour(60 times per second), up to 10 which is 10 times slower, which will keep "presses" longer, but game will see it as "holding" the button for 1/6 of a second which is closer to how you'd press a key by hand, hopefully without making it laggy.

@Gamernumberone
Copy link
Author

yes, I checked it, it's a very good feature, thanks.

@LunaMoo
Copy link
Collaborator

LunaMoo commented Dec 19, 2023

The setting was changed to just different standard behaviour which should be slow enough to resemble key press, closing.
@Gamernumberone please try latest version from buildbot - https://buildbot.orphis.net/ppsspp/index.php and if it doesn't work well, we can reopen.

@LunaMoo LunaMoo closed this as completed Dec 19, 2023
@Gamernumberone
Copy link
Author

I like the way it was in the previous one, we could change the value. In new veriosn this removed

@hrydgard
Copy link
Owner

Just curious, what gameplay aspect gets better with a shorter time here?

I'm willing to add the setting back, as long as there's an actual improvement.

@Gamernumberone
Copy link
Author

Gamernumberone commented Dec 20, 2023

Zoom sniper rifle GTA VCS on mouse wheel. Maybe other

@hrydgard
Copy link
Owner

I've added a setting, it's under Mouse Control in Control settings.

@hrydgard hrydgard added this to the v1.17.0 milestone Dec 20, 2023
@hrydgard hrydgard added the Input/Controller Input and controller issues label Dec 20, 2023
@Gamernumberone
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Input/Controller Input and controller issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants