Forcing it to return false worked for the pen, but not for the finger, on a wacom cintiq on windows 10, with Juce 5. An improvement, but touch-right-click should still also be possible with finger touch…
With canUsePointerAPI as false, the rectangle from a finger long-press appears, but the right click menu doesn’t, unlike the case with the pen, where it now works as it should.
With checkForPointerAPI untouched in Juce 5, nothing at all happens with long press now, no animation appearing as when long pressing in the windows notepad, no nothing, neither with finger nor with pen. In Juce 4, the animation appeared, but the right-click event wasn’t triggered.