summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/rfb
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-08-19 08:40:55 +0300
committerDevaev Maxim <[email protected]>2020-08-19 08:56:57 +0300
commite4393fe4b1ba67cfbb02e177e34e482073d7e3a5 (patch)
tree2326c4945047c8d9ad5b18894ad870dd16bc87ad /kvmd/apps/vnc/rfb
parent6c35dd413dce63d811f996f99adb87e6615a2baf (diff)
vnc does not support up/down mouse buttons
Diffstat (limited to 'kvmd/apps/vnc/rfb')
-rw-r--r--kvmd/apps/vnc/rfb/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/kvmd/apps/vnc/rfb/__init__.py b/kvmd/apps/vnc/rfb/__init__.py
index 27aa41ad..f10d7da2 100644
--- a/kvmd/apps/vnc/rfb/__init__.py
+++ b/kvmd/apps/vnc/rfb/__init__.py
@@ -400,8 +400,6 @@ class RfbClient(RfbClientStream): # pylint: disable=too-many-instance-attribute
"left": bool(buttons & 0x1),
"right": bool(buttons & 0x4),
"middle": bool(buttons & 0x2),
- "up": bool(buttons & 0x8), # Back
- "down": bool(buttons & 0x10), # Forward
},
wheel={
"x": (-4 if buttons & 0x40 else (4 if buttons & 0x20 else 0)),