Using right click as primary mouse button doesn't work on Windows


#1

It looks like JUCE on Windows doesn’t care if the OS has right click as primary button. Left is always the primary. On MAC (even High Sierra) instead it works ok.
What can I do? (I’m still on JUCE 4)


#2

bump


#3

I see there’s a GetSystemMetrics (SM_SWAPBUTTON) flag that we’d have to check internally and do the swap, as win32 only reports that actual physical button, not whether it’s the primary or not.

It’s something we can fix in the latest build, but you’d be on your own in patching your old juce 4 version.