Call this function to inform AntTweakBar that a mouse button is pressed.
AntTweakBar interprets this event and acts consequently. So
If you are using SDL, GLUT, GLFW or Windows (DirectX), the library provides some helper functions to handle events. See the section how to integrate for more details.
Tells if the button is pressed or released. It is one of the TwMouseAction constants.
Tells which button is pressed. It is one of the TwMouseButtonID constants.