"DPAD Stick Mode" Vector Normalization

“DPAD Stick Mode” diagonal movements have a higher speed, for example, the cursor in the ScummVM launcher. Which is not a very convenient experience. Stick vector normalization will solve this problem.

You are going to have to explain what you mean by this?

If you are not already aware you can hold R1 whilst moving the cursor to slow it down, please see the following,

If you press dpad RIGHT and UP direction (Vector2(1.0, 1.0)) you will get vector length = 1,414, which is higher than 1.0 (for non diagonal directions). Vector normalization after pressing dpad RIGHT and UP give you Vector2(0.707, 0.707) which length is 1.0

I don’t know what you want us to do with this information? :thinking:

I would like you to change the stick emulation logic or add an option for this behavior to get the same value in all 8 directions

the logic would have to be added to ScummVM program, which we didn’t write.

ScummVM was just an example. When using external gamepad with sticks, I get uniform cursor movement because the stick position is limited to a circle


ScummVM uses a stick already emulated by muOS