In Android, I am trying to create a controller that has buttons near the joystick. The buttons themselves are adjacent to the joystick itself and don't have a standard geometry. Here is a photo of what I am trying to create:
I know there are ways of hacking this, but I want to see if I can find a more elegant solution to creating a custom area that is clickable and not the bounding box from some geometry.
I took a look around and found some stuff from around 6-7 years ago and I don't know if there is a better solution out there. Example
In the end, I expect the geometry of the button to match the area in which in can be clickable.