Using the ofCore events methods

what values can the (int button) variable argument in of mouse events take and what do those values pertain to?

There are some constants that you can use to compare that value: OF_MOUSE_BUTTON_LEFT, OF_MOUSE_BUTTON_MIDDLE, OF_MOUSE_BUTTON_RIGHT