scenery icon indicating copy to clipboard operation
scenery copied to clipboard

All mouse buttons seem to be recognized as button1

Open moreApi opened this issue 3 years ago • 2 comments

Move the camera works with all mouse buttons but should only be possible with button1. Also, commands wich are assigned to button 2 and 3 do not work.

In my initial investigation I found line 101 in GLFWMouseAndKeyHandler to be strange as the pressed button is always set to 0 same goes for the drag event above. However, this might not be relevant as the getMask method does not access that value. But that is also the point were I stopped my investigation as my knowledge of AWT input mask is lacking. Maybe the error is there somewhere. I don't see any code adding anything single button 2 and 3 clicks to the mask. And going with the debugger there and pressing left or right mouse buttons results in the same mask (1024).

Also scenerygraphics/sciview#356 of sciviewe might be related.

moreApi avatar Feb 25 '21 13:02 moreApi

still valid

moreApi avatar Mar 15 '24 12:03 moreApi