Login  Register

Re: [Ardor3D] SwtMouseWrapper

Posted by gouessej on Nov 05, 2015; 1:44pm
URL: https://forum.jogamp.org/Ardor3D-SwtMouseWrapper-tp4035151p4035745.html

I understand your position, I have just looked at this mouse and it is hardly believable that it has at least 10 buttons but the SWT documentation claims that the identifier matches with the button count:
http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/events/MouseEvent.html#button
" the button that was pressed or released; 1 for the first button, 2 for the second button, and 3 for the third button, etc."

However, the way the identifier is obtained isn't the same in SWT and in AWT/NEWT, we might have some surprises :s In the worst case, you can rely on me, I'll do the necessary changes if a mouse button really has something bigger than what is currently supported.
Julien Gouesse | Personal blog | Website