aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/EmulateMB.h
Commit message (Collapse)AuthorAgeFilesLines
* Better type for pointer button maskPierre Ossman2024-08-121-6/+6
| | | | | This is a very limited bit field, so use an 8 bit type to clearly show how many bits are available.
* Mark overridden virtual functionsPierre Ossman2024-06-241-1/+1
| | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
* Explicitly request timer repetitionPierre Ossman2024-06-191-1/+1
| | | | | | One-shot timers are more common, so let's change the API a bit to make that use case simpler. This API also makes it more clear what is happening.
* Fix position for click and drag with EmulateMBAlex Tanskanen2020-05-261-1/+3
| | | | | | | If you have the setting "Emulate middle mouse button" turned on, a click and drag can fail if it is done very quickly. The position of the initial click will be incorrect in such a case because the timeout will delay events.
* Add emulated middle mouse buttonAlex Tanskanen2020-01-161-0/+47
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.