forum

[resolved] Mouse accelerates when keys are pressed.

posted
Total Posts
30
Topic Starter
Nyaarlathotep
Problem Details: I've made a thread about my cursor randomly accelerating before, but I've found the cause of why it accelerates. For whatever reason, when a key is pressed in osu! the cursor will randomly accelerate or decelerate. I've tried recreating this problem when not in osu! and the cursor stays exactly 1-to-1, it only happens in-game. I'm not really sure why it's doing this and I'm pretty lost on what to do. My in-game sensitivity is 1.0x, and I have mouse acceleration disabled on my computer. I don't really think there is any other way to fix this other than to buy a tablet. I know this isn't a problem with osu! itself, but this is only happening on osu!, so I'm open to suggestions.

I'm gonna provide a screenshot of the software I'm using. It monitors my mouse to cursor movements. Anything in red or green shows that the movements aren't 1-to-1. This was happening as I was holding a key for a slider.


Video or screenshot showing the problem:



osu! version: 20140127 (latest)
TheVileOne
I don't see why pressing keys would affect your mouse at all unless using the keyboard imitates an action by your mouse. In such a case, the same acceleration change would be present if you have the mouse button held down and dragging the cursor. The dragging is probably where the acceleration is coming from.
Topic Starter
Nyaarlathotep

TheVileOne wrote:

I don't see why pressing keys would affect your mouse at all unless using the keyboard imitates an action by your mouse. In such a case, the same acceleration change would be present if you have the mouse button held down and dragging the cursor. The dragging is probably where the acceleration is coming from.
My Z/X keys don't imitate any mouse actions.

This is so bad to the point where it's unplayable. I've never had this problem when I played on a laptop with a different mouse. I think the only way I'm going to be able to play normally is to buy a tablet.
Full Tablet
Have you tried switching USB ports?
If you have a 1000Hz mouse/keyboard, try switching it to a lower polling rate.
Topic Starter
Nyaarlathotep

Full Tablet wrote:

Have you tried switching USB ports?
If you have a 1000Hz mouse/keyboard, try switching it to a lower polling rate.
Switching USB ports didn't make any difference.

Just changed the polling rate to 500Hz. Didn't make any difference.

I'm really hoping that using a tablet will solve this problem. Gonna try to get my hands on an osu!tablet. If not I guess I'll have to quit osu!.
TheVileOne
It likely will. It is almost certainly due to a program/driver on your end causing this behavior. Whatever it is, it isn't programmed very well.
Topic Starter
Nyaarlathotep

TheVileOne wrote:

It likely will. It is almost certainly due to a program/driver on your end causing this behavior. Whatever it is, it isn't programmed very well.
If that's the case then it's my keyboard driver because I've tried this with multiple mice but the same keyboard and ran into the issue. I use a CM Storm Quickfire XT. So I might still run into this problem.
TheVileOne
seems easy enough to test this hypothesis if you have an extra keyboard somewhere. FYI keyboard drivers have been known to cause issues with osu in the past. I've not seen this particular issue before though.
Topic Starter
Nyaarlathotep

TheVileOne wrote:

seems easy enough to test this hypothesis if you have an extra keyboard somewhere. FYI keyboard drivers have been known to cause issues with osu in the past. I've not seen this particular issue before though.
Hm. I don't have another keyboard but I can try connecting the keyboard and mouse to a laptop and see what happens. This is the laptop I played on previously with no problems so if my cursor still wonks out then it must be the keyboard.
Topic Starter
Nyaarlathotep
I just tested it on another laptop with the same mouse/keyboard and lo and behold the program was giving me the same results. So I tried using just the laptop keyboard and my old mouse and the program gave me the same results.

BUT, with both tests I could play just fine. Is it maybe because I'm not used to playing on a 1080p monitor with a fancy mouse and keyboard? I went from a mesh laptop keyboard and a 120Hz mouse to this. But I SWEAR something is going on. On my main computer I can feel my cursor moving against me.
TheVileOne
I don't know either. peppy knows more about his game than I do. I'm pretty sure that increasing acceleration via keypress serves no useful purpose. Additionally if this were a feature, then it would be applied to every user.

Are you sure what you're experiencing is not a form of input lag? A laptop that I use has just terrible mouse recognition even though I get 200 FPS in game. It's not related to keypresses though. It could be your monitor not syncing correctly with your inputs. (What is the refresh rate of your monitor?)
Topic Starter
Nyaarlathotep

TheVileOne wrote:

I don't know either. peppy knows more about his game than I do. I'm pretty sure that increasing acceleration via keypress serves no useful purpose. Additionally if this were a feature, then it would be applied to every user.

Are you sure what you're experiencing is not a form of input lag? A laptop that I use has just terrible mouse recognition even though I get 200 FPS in game. It's not related to keypresses though. It could be your monitor not syncing correctly with your inputs. (What is the refresh rate of your monitor?)
The response time is 2ms and the refresh rate is 60Hz.

I'm not sure what the specs are for the laptops screen, but I would assume that the specs on my desktop's monitor are much better than a low quality laptop.

It could just be me, but I can feel the cursor sometimes stop short right infront of a note and miss, or slightly speed up and go way off. Even on slow songs where I'm not moving the cursor very fast to jump to notes.

At this point I don't think there's anything else to do.
TheVileOne
Mouse acceleration is usually handled by the mouse drivers, if not a specific mouse driver, then the default drivers that came with the OS.
Topic Starter
Nyaarlathotep
This mouse just uses default drivers the windows came with as far as I know. I've tried reinstalling the drivers to no avail. What really confuses me is that it happens when a key is pressed. It doesn't make any sense. I've tested a few songs playing with a keyboard, then playing those same songs using the Relax mod and everything is perfect.
TheVileOne
I don't know what would cause that. Maybe for some reason the act of making an keypress is lagging the input, which doesn't make a whole lot of sense. Are you playing with the keypress detector?
Topic Starter
Nyaarlathotep

TheVileOne wrote:

I don't know what would cause that. Maybe for some reason the act of making an keypress is lagging the input, which doesn't make a whole lot of sense. Are you playing with the keypress detector?
The little thing on the side that shows the K1, K2, M1, M2? If so yes. And my first thought was that too, but it makes no sense at all. Especially with a high end PC and high end parts.
TheVileOne
I'm not sure what else it could be. I have forwarded your problem for further examination by the team. Maybe they will have other suggestions.
Marcin
Maybe dumb question, but did you try setting osu! to fullscreen mode? (with directX?)
Topic Starter
Nyaarlathotep

Marcin wrote:

Maybe dumb question, but did you try setting osu! to fullscreen mode? (with directX?)
I didn't. I just tried that now. It uh... It seems to work just fine now. I'm still testing a few songs but so far it seems to be fixed. I prefer playing in 1024x768 windowed so I don't have to move my eyes too much, but it works.

Huh... What made you suggest fullscreen? I don't understand how that fixed it. It seems like you know where the issue lies?
Topic Starter
Nyaarlathotep
This is off topic but I have a question about offset.

I went into edit mode and played a song that I know the timing to very well and for the most part it said I was around 7 ms late. So when I go to adjust the universal offset would I make it a negative offset or positive?
Full Tablet

Yamadash wrote:

This is off topic but I have a question about offset.

I went into edit mode and played a song that I know the timing to very well and for the most part it said I was around 7 ms late. So when I go to adjust the universal offset would I make it a negative offset or positive?
negative
TheVileOne
Turning to full screen does affect sensitivity, but it shouldn't be affected by keypresses. ._.

You're going to have to learn to deal with the sensitivity scaling that happens when you play in fullscreen.
Marcin
Full screen basically takes all priority of your GPU, and makes osu! more responsive, I don't know why its related to mouse click, but if it fixed, you should use it and get used to it.
Topic Starter
Nyaarlathotep
Well, it works. The only problem I have with fullscreen is I actually have to move my eyes across the screen rather than look in one spot. But yeah I'll just have to get used to it.

Thanks for the help. You can lock this thread.
TheVileOne
t/177621

Look what I found. It might be of assistance to you.

http://www.dummies.com/how-to/content/s ... -rate.html
Topic Starter
Nyaarlathotep

TheVileOne wrote:

https://osu.ppy.sh/forum/t/177621

Look what I found. It might be of assistance to you.

http://www.dummies.com/how-to/content/s ... -rate.html
Ah. This was also a issue I was having. My sliders kept breaking near the end and I was always getting 100's. I'm not sure if this is because of my slight audio lag (I've been playing around with the offsets to fix this) or this. Either way, thanks.
Topic Starter
Nyaarlathotep
Just an update. I believe I've fully resolved the problem. I was playing around with some troubleshooting and disabling desktop composition removed the randomly acceleration. I have no idea why aero would affect my performance considering I have a high-end PC, but upon disabling it I'm noticing the cursor movements are much better and I believe it removed any input lag I was receiving.

Thought I'd write this for future reference.
TheVileOne
You should always disable Windows Aero when you want to play osu!.
buny

TheVileOne wrote:

You should always disable Windows Aero when you want to play osu!.
(only if you play window mode)
jammer562
But I've fullscreen-ed and still not solving it
Please sign in to reply.

New reply