mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-01 21:02:39 +08:00
Deskflow 可让您在 Windows、macOS 和 Linux 上的多台计算机之间共享一个鼠标和键盘。它就像一个软件 KVM(但没有视频)。
This patch brings full 64-bit compatibility to Synergy on OS X by replacing all obsolete 32-bit only Carbon functions with modern equivalents. All functions introduced have been available since 10.4 so this won't affect the minimum deployment target. Specifically: Creating an empty CGEvent and getting its location is behaviourally identical to GetGlobalMouse, and yes, both are in flipped coordinates. This was tested with a multi-monitor configuration as well. TrackMouseLocationWithOptions is behaviourally identical to GetGlobalMouse in these cases because the timeout was 0 and none of the other out params were used, except for the MouseTrackingResult in one call was checked against kMouseTrackingTimedOut. Since the timeout was 0 and not kEventDurationForever, that value never could have been returned anyway. Instead of attempting to define SIntXX and UIntXX manually, MacTypes.h is included on OS X. These types were wrong in 64-bit mode because of this, causing type redefinition errors. |
||
|---|---|---|
| doc | ||
| ext | ||
| res | ||
| src | ||
| .gitignore | ||
| .lvimrc | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| COMPILE | ||
| configure | ||
| COPYING | ||
| hm.cmd | ||
| hm.py | ||
| hm.sh | ||
| INSTALL | ||
| README | ||
| test | ||
Help: http://synergy-project.org/help/ Wiki: http://synergy-project.org/wiki/