UCR icon indicating copy to clipboard operation
UCR copied to clipboard

Mouse to JoyAxis - Absolute

Open winkerbie opened this issue 8 years ago • 2 comments

I wonder if this is possible to implement:

Essentially use the absolute mouse position to determine JoyAxis position

  • If mouse is in the center of the screen, then JoyAxis is center
  • If mouse is far left, then JoyAxis is far left
  • If mouse if halfway between left edge and center, then JoyAxis is half left position

The current options are only relative, so if there is quick movement of the mouse then the JoyAxis moves disproportionately...

Thanks

winkerbie avatar Mar 29 '17 14:03 winkerbie

The mouse input in UCR is based off RawInput, and as such a regular mouse reports relative values, not cursor position.
Only light guns, touch screens etc report as absolute mice.

evilC avatar Aug 21 '17 19:08 evilC

Could it be possible to have a deadzone for it? I use mouse2joy in absolute position. When I was using FreePIE, I wrote a simple smart auto-centering code if the values are below a defined range, to mimic a deadzone, and which I found really useful. There's some way to have it in UCR?

spadino avatar Sep 23 '17 23:09 spadino