projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a4f634
)
[Mac] Add note for higher precision pixel scroll
author
thefiddler
<stapostol@gmail.com>
Tue, 10 Jun 2014 14:41:09 +0000
(16:41 +0200)
committer
thefiddler
<stapostol@gmail.com>
Tue, 10 Jun 2014 14:41:09 +0000
(16:41 +0200)
Source/OpenTK/Platform/MacOS/MacOSFactory.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/MacOS/MacOSFactory.cs
b/Source/OpenTK/Platform/MacOS/MacOSFactory.cs
index
9c79119
..
43e7bd7
100644
(file)
--- 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;