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

Add support for forward and back mouse buttons #1919

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

CendioHalim
Copy link
Contributor

This commit implements the extendedMouseButtons pseudo-encoding, which makes it possible to use the forward and back mouse buttons.

It looks like chromium is the only browser that has support for this currently. See #1918 for more info.

Confirmed that it works with chromium on Mac, Linux and Windows against TigerVNC server.

@CendioHalim
Copy link
Contributor Author

This MR should partly fix #1920, but only on chromium.

core/rfb.js Outdated Show resolved Hide resolved
tests/test.rfb.js Show resolved Hide resolved
tests/test.rfb.js Show resolved Hide resolved
@CendioHalim
Copy link
Contributor Author

With #1921 merged, this PR has been rebased and should now work with both chromium-based browsers and safari.

tests/test.rfb.js Outdated Show resolved Hide resolved
tests/test.rfb.js Outdated Show resolved Hide resolved
tests/test.rfb.js Outdated Show resolved Hide resolved
tests/test.rfb.js Outdated Show resolved Hide resolved
This is needed if we want to use this function elsewhere in our tests.
tests/test.rfb.js Outdated Show resolved Hide resolved
tests/test.rfb.js Outdated Show resolved Hide resolved
This commit implements the extendedMouseButtons pseudo-encoding, which
makes it possible to use the forward and back mouse buttons.
@CendioOssman CendioOssman merged commit c7bd247 into novnc:master Jan 15, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants