]> source.dussan.org Git - tigervnc.git/commit
Add emulated middle mouse button 942/head
authorAlex Tanskanen <aleta@cendio.com>
Mon, 13 Jan 2020 14:23:20 +0000 (15:23 +0100)
committerAlex Tanskanen <aleta@cendio.com>
Thu, 16 Jan 2020 08:04:49 +0000 (09:04 +0100)
commitbab9d1fa18f57616d78a29242cdd31faa372947b
tree02ab52404a5418c573e9ec2e44fea527a0ced094
parentb9b7f68b40f6638b5a1fef202f482889c0a74a4f
Add emulated middle mouse button

Not every mouse has three buttons e.g. laptops. Some OS might not
have support for middle mouse button emulation.

This commit adds emulation for middle mouse button when pressing both
left and right mouse button simultaneously.
vncviewer/CMakeLists.txt
vncviewer/EmulateMB.cxx [new file with mode: 0644]
vncviewer/EmulateMB.h [new file with mode: 0644]
vncviewer/OptionsDialog.cxx
vncviewer/OptionsDialog.h
vncviewer/Viewport.cxx
vncviewer/Viewport.h
vncviewer/parameters.cxx
vncviewer/parameters.h
vncviewer/vncviewer.man