How to detect whether Button on_pressed signal was mouse1 or mouse2?

I have a button node and have checked both Button Mask, Mouse Left and Mouse Right in the inspector. How do I tell within a on_pressed signal which button was pressed?

And no I can’t use gui_input or event_input methods as seen on this thread

In the meanwhile, I solved this just by using 2 buttons, one for each button press and having button below set mouse filter to pass.