Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ext mouse buttons #11

Open
wants to merge 286 commits into
base: master
Choose a base branch
from
Open

Ext mouse buttons #11

wants to merge 286 commits into from

Conversation

brcolow
Copy link
Owner

@brcolow brcolow commented Aug 22, 2018

No description provided.

javafxports-github-bot and others added 30 commits March 23, 2018 02:50
…-build-media

8200277: Compiling native media code fails when using OpenJDK build as boot JDK
… to build (javafxports#49)

1. Added the gradle.md license file
2. Replaced gradle-wrapper.jar with one generated from gradle 4.3 to match the version in the license file (we shouldn't need to update this again after this)
With the above changes, there should be no merge conflicts when JDK-8199841 is integrated to the upstream openjfx/jfx-dev repo.
Gradle build failure should show informative message
brcolow and others added 4 commits December 5, 2018 18:40
Platform native windows (for Windows, macOS, and Linux) are adapted to
listen for BACK/FORWARD mouse button activity and fire respective
MouseEvents, as is currently done for PRIMARY, MIDDLE, and RIGHT.

We also add support for emulating mouse button press/release with
BACK/FORWARD to the native robot implementations so that e.g.
Robot#mousePress(MouseButton.BACK) will work as intended on Windows,
macOS, and Linux.

This new functionality is tested in an integrated way by adding two
tests to test/robot/javafx/scene/RobotTest.java that firstly use the
Robot to press and release the BACK/FORWARD buttons on a scene-graph
Node and then secondly ensure that the onMouseClicked event listener
properly fires a MOUSE_CLICKED event for the respective BACK/FORWARD
button. This ensures that the new mouse buttons are supported not only
on the Java side, but on the native side as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.