|
VirtualC64 v5.0 beta
Commodore 64 Emulator
|
Mouse Public API. More...
#include <VirtualC64.h>
Public Member Functions | |
| bool | detectShakeXY (double x, double y) |
| Feeds a coordinate into the shake detector. | |
| bool | detectShakeDxDy (double dx, double dy) |
| Feeds a coordinate into the shake detector. | |
Mouse Public API.
| bool detectShakeDxDy | ( | double | dx, |
| double | dy ) |
Feeds a coordinate into the shake detector.
The shake detector keeps track of the transmitted coordinates and scans for rapid movements caused by shaking the mouse.
| dx | Current horizontal mouse position, relative to the previous position. |
| dy | Current vertical mouse position, relative to the previous position. |
| bool detectShakeXY | ( | double | x, |
| double | y ) |
Feeds a coordinate into the shake detector.
The shake detector keeps track of the transmitted coordinates and scans for rapid movements caused by shaking the mouse.
| x | Current horizontal mouse position. |
| y | Current vertical mouse position. |