Skip to content

Centering control stick on input produces unintended movementΒ #36

@behoyh

Description

@behoyh

Is your feature request related to a problem? Please describe.
On a real game controller, your thumb movements across the stick do not necessarily transfer to (x,y) updates: that is, you can move your finger independent or across the stick "center" without moving it. For example, in halo to strafe left you may place your thumb on the far right of the stick and push the stick left. This is a problem because clicking/dragging the control stick may produce unintended input, especially in situations where timing or feathering is essential, or in 3D environments. Clicking the exact center of the stick with a mouse pointer to avoid this is almost impossible.

Describe the solution you'd like
Essentially instead of aligning the stick to the center for the user, take the derivative/slope/difference of x and y. This will allow the stick to move relative to movement, not the "absolute" position in the control field itself. As long as the stick itself is clicked it can be moved with respect to where it was clicked initially. I believe the simplified solution for this is simply x-y.

Describe alternatives you've considered
Taking full derivative/ point slope formula. Or moving the cursor instead of the stick to center, which wont translate to unintentional input.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions