JDK-8090930: Add Support for Extended Mouse Buttons
Michael Ennen
mike.ennen at gmail.com
Tue Oct 30 19:33:58 UTC 2018
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 at 5:15 AM Johan Vos <johan.vos at gluonhq.com> wrote:
> 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 really be
> "BACK/FORWARD" or should it rather be "BUTTON4/BUTTON5" as it can be mapped
> to whatever?
>
> - Johan
>
> On Thu, Aug 30, 2018 at 12:54 AM Michael Ennen <mike.ennen at gmail.com>
> wrote:
>
>> 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 early stages (no CSR has been created yet,
>> however there is a preliminary one in the comments on the
>> above Github issue) but Kevin wanted me to post a notification
>> to this list so that people can review and comment on it (and
>> I think that's a good idea, too).
>>
>> Thanks,
>>
>> Michael Ennen
>>
>
--
Michael Ennen
More information about the openjfx-dev
mailing list