[haiku-development] Obtaining mouse button type

Hi! I have come across another problem with mouse event handling. I need
to find out what button (left, right or none) is being pressed while
BView::MouseMoved(). I have looked at GetMouse() but I cannot figure out
how to retrieve the button information from it because GetMouse()
returns nothing. Any suggestions or a reference to an example would be
very appreciated. Thank you.


Regards,

James


Other related posts: