mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-31 07:33:38 +00:00
Added double click stub for MacOS.
This commit is contained in:
@@ -156,6 +156,12 @@ void MouseAction(double absX, double absY, int button, short wheel)
|
||||
CGEventType event;
|
||||
CGEventSourceRef source;
|
||||
|
||||
if (button == 0x88) {
|
||||
// Double click, this is useful on MacOS.
|
||||
// TODO
|
||||
return;
|
||||
}
|
||||
|
||||
curPos.x = absX;
|
||||
curPos.y = absY;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user