sc-controller icon indicating copy to clipboard operation
sc-controller copied to clipboard

Allow preserving mouse position after releasing mouse region

Open setzer22 opened this issue 6 years ago • 4 comments

When I set either pad as a mouse region, the default behavior is the mouse returning to where it was before I touched the mouse region pad. This is usually the desired behavior.

However, this is inconvenient when you want to use the mouse region in order to aim in a mouse-controlled game where the character is always at the center of the screen, which is a nice use-case for this feature.

After some searching, I don't see a way to change this behaviour. Maybe a "Preserve mouse region after pad is released" toggle could be added to the mouse region menu?

setzer22 avatar Apr 19 '18 19:04 setzer22

Sounds possible, I'll check how to allow such configuration.

kozec avatar Apr 21 '18 09:04 kozec

I'm gonna second this feature, it would make twin stick shooters so much easier to play.

LinuxJoeUser avatar Jul 18 '19 13:07 LinuxJoeUser

Could this be done by using some sort of "start coordinates" variable for this function, to be set/updated whenever the pad is released? Instead of just having a "Mouse Region" option, there could be two mouse region types available. "Mouse Region: Spring Back" and "Mouse Region: Static."

  • Mouse Region - Spring Back would be the default and act as "Mouse Region" does now, centered in the region, and spring back/reset to the center when the pad is released.

  • Mouse Region - Static would act as setzer22 is asking for, the cursor remaining where it was when the pad was released.

LinuxJoeUser avatar Dec 13 '20 18:12 LinuxJoeUser

Are there any plans to implement such a function? At the moment one of my configurations requires maintaining mouse cursor position when releasing input - otherwise it bugs out and causes errant drags back to whatever the original position was.

SeongGino avatar Sep 22 '22 14:09 SeongGino