Login  Register

PointerType.TouchScreen and MouseEvent.getButton() BUG

Posted by Andre on Oct 12, 2024; 10:40am
URL: https://forum.jogamp.org/PointerType-TouchScreen-and-MouseEvent-getButton-BUG-tp4043578.html

Hi,

When I use one and two fingers via the touchscreen, sometimes after using two fingers, the variable MouseEvent.getButton() increases repeatedly. This makes it impossible to identify the button after it exceeds three, resulting in an ArrayOutOfBounds error. Is this a known issue? Cody, the chatbot for IntelliJ, mentioned that he knows about it, but I haven't found any posts about it yet. When I have time, I'll try to create a simple example.

Thanks.
I am a Robot