From c40d8a4debbfbf98045ef25fcac91672f0cc1049 Mon Sep 17 00:00:00 2001 From: Adam Halim Date: Fri, 4 Oct 2024 10:09:36 +0200 Subject: vncviewer: support for back/forward mouse buttons This commit implements the pseudo-encoding ExtendedMouseButtons which makes it possible to use the back/forward mouse buttons. This commit contains work originally done by PixelSmith . --- common/rfb/CConnection.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'common/rfb/CConnection.cxx') diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx index b4017dba..a6763c05 100644 --- a/common/rfb/CConnection.cxx +++ b/common/rfb/CConnection.cxx @@ -835,6 +835,7 @@ void CConnection::updateEncodings() encodings.push_back(pseudoEncodingContinuousUpdates); encodings.push_back(pseudoEncodingFence); encodings.push_back(pseudoEncodingQEMUKeyEvent); + encodings.push_back(pseudoEncodingExtendedMouseButtons); if (Decoder::supported(preferredEncoding)) { encodings.push_back(preferredEncoding); -- cgit v1.2.3