Fixed #32.
Allow optional array of valid mouse buttons