OcAppleEventLib: Fix click timings

This commit is contained in:
Marvin Häuser 2022-11-01 15:29:06 +01:00
parent d00a73b93b
commit 79b56c1f18

View File

@ -47,8 +47,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define MIN_POINTER_POLL_PERIOD 10
#define MAX_POINTER_POLL_PERIOD 80
#define MAX_CLICK_DURATION 748 // 374 for 2 ms
#define MAX_DOUBLE_CLICK_SPEED 148 // 74 for 2 ms
#define MAX_CLICK_DURATION 148 // 74 for 2 ms
#define MAX_DOUBLE_CLICK_SPEED 748 // 374 for 2 ms
#define MAX_POLL_DURATION ((MAX_UINT32 / 10000) / MAX_DOUBLE_CLICK_SPEED)