I don't have a strong opinion. On the one hand, the platform libraries
(at least Mac and Windows) use some variation of BUTTON4 and BUTTON5
rather than a name. On the other hand, we already use symbolic names for
the PRIMARY, SECONDARY, and MIDDLE buttons, rather than using 1, 2, 3.
I'm OK
Great question. It seems to be pretty standard that mouse buttons 4 and 5
are called
back and forward. So either way would be fine with me. In my opinion the
descriptive
names may be better as then EventListeners responding to these new buttons
would
be more human-readable.
On Tue, Oct 30, 2018
Hi Michael,
I only started to look into this now, sorry for being late at the party.
Overall, this looks good to me. The risk is indeed minimal (developers
relying on switch-default cases to select e.g. middle button will be
punished).
I am not entirely sure about the naming though. Should it
Hello All,
I am working on JDK-8090930 which is a request to add
support for the BACK/FORWARD mouse buttons that are
supported by some mice. I have opened a proof-of-concept
pull request on Github which can be found here:
https://github.com/javafxports/openjdk-jfx/pull/173
This is still in the