Right Click on Editor Button

Hi, i’m making editor tool, from simple button plugin, how do i know if the user left or right clicked on the button

I’ve read i should check the state of the button when click event is triggered, but KimsetInputLibrary need an input event, that is not availliable ( or i havn’t found it ) here.

Thank !