Cocoa platform plugin: Add support for up to 16 mouse buttons
authorRick Stockton <rickstockton@reno-computerhelp.com>
Thu, 8 Mar 2012 22:33:15 +0000 (14:33 -0800)
committerQt by Nokia <qt-info@nokia.com>
Tue, 13 Mar 2012 07:18:42 +0000 (08:18 +0100)
commit0bb95b183b28208a9ecf88e25cc22b8086201a2b
tree7ce56c52c7be414eef00ab474c17ecd0cca5c616
parent703b4a0e20b2eae982ea48e075db480da9851a9a
Cocoa platform plugin: Add support for up to 16 mouse buttons

OS-X provides a buttonNumber within Event data for otherMouseDown:
and otherMouseUp: Events. Instead of mapping all occurences of these
event types to Qt::MiddleButton, this Update uses that data
to support a total of 16 mouse buttons.

Task-number: QTBUG-24702

Change-Id: I3cffb32498f98ea182509d7c42f3fc6634155ebb
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/platforms/cocoa/qnsview.mm