Note that on Windows, only left, right, and middle buttons are sent. Mouse wheel buttons are NOT set, so don't rely on those events if your program is meant to be used on Windows too.
See Implementation
Note that on Windows, only left, right, and middle buttons are sent. Mouse wheel buttons are NOT set, so don't rely on those events if your program is meant to be used on Windows too.