Extract the button number from an event.
location to store mouse button number
true if the event delivered a button number
Extract the button number from an event.