content

no signal stream 182:

  • Copied TODOs from 20250311005729
  • Realized this morning that the reason joystick input is cumbersome is because I always normalize the joystick input.
  • I found out that Godot's [Input.get_vector] merely clamps the input range for axis input when the vector has a length greater than one. So, I looked into remapping square inputs into circular ones for joystick inputs. I found a proof which allows such a mapping with minimal distortion. I found out that it is called "elliptical grid mapping" from this paper titled Analytical Methods for Squaring the Disc. However, it appears that such a mapping is not a great way to deal with things, because input devices do not always use circular input mappings. Considering the situation, I think Input.get_vector is good enough.
  • warp_mouse doesn't work on Wayland at all (see godotengine/godot#103777)

Tanuki:

TODO:

Part Two:

Part Three:

meta

created:

backlinks: 20250312021733 no signal logs

commit: 17d50156