From 5e63c5fa5c31011d887a4b3877bf824fea308485 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Tue, 10 Jun 2014 16:41:09 +0200 Subject: [PATCH] [Mac] Add note for higher precision pixel scroll --- Source/OpenTK/Platform/MacOS/MacOSFactory.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/OpenTK/Platform/MacOS/MacOSFactory.cs b/Source/OpenTK/Platform/MacOS/MacOSFactory.cs index 9c79119b..43e7bd75 100644 --- a/Source/OpenTK/Platform/MacOS/MacOSFactory.cs +++ b/Source/OpenTK/Platform/MacOS/MacOSFactory.cs @@ -37,6 +37,9 @@ namespace OpenTK.Platform.MacOS class MacOSFactory : PlatformFactoryBase { + // Todo: we can query the exact amount via + // CGEventSourceGetPixelsPerLine. This is + // approximately 0.1f internal const float ScrollFactor = 0.1f; internal static bool ExclusiveFullscreen = false;