...well 65535 if Carbon is anything to go by!
http://developer.apple.com/document.../apple_ref/doc/uid/TP30000989-CH203-TPXREF108
Yes, generally coding for more mouse buttons than you manufacture/sell would probably be considered foul play...!
Uber
Apple Docs said:Unlike earlier versions of Mac OS, which were limited to a one-button mouse, Carbon is designed to support multiple mouse buttons. (Theoretically, it can handle as many as 65,535 buttons, though the most youre likely to encounter in practice is 3.)
http://developer.apple.com/document.../apple_ref/doc/uid/TP30000989-CH203-TPXREF108
Yes, generally coding for more mouse buttons than you manufacture/sell would probably be considered foul play...!
Uber