This has been around forever and solves almost every problem in regards to standardizing mouse event buttons. Either it needs some more discussion or needs to be implemented. Especially with the pointer lock specification being put through so quickly having a standard mouse button interface will be important and "buttons" does just that. It's the IE bitflags such that each button on the mouse (defined for 1-5 buttons currently) has a unique bit flag.
Here's an example that complies with the DOM 3 events
<title>Dom 3 Buttons</title>
window.onload = function()
The information for implementing it is in the spec:
Currently it's undefined in webkit.
*** This bug has been marked as a duplicate of bug 178214 ***