Is there a way to get which mouse button was click...
# compose-desktop
t
Is there a way to get which mouse button was clicked with
Modifier.pointerInput
? I have a canvas and I need to know where the click happened and which button was used.
This issue provides a workaround with
mouseEvent
. But I can't have the position of the click relative to the canvas anymore with this. Is there a way to a both information (position of the click and which button was clicked)?