From 4a03c76b436bf0fe27b33039b12f034b85b27341 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 6 Aug 2020 08:20:24 +0300 Subject: macOS: Smooth inertia scrolling with trackpad Requires a slightly tweaked SDL 2, though, when it comes to handling the scroll events. --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index f6ff045d..a8f97d52 100644 --- a/src/main.c +++ b/src/main.c @@ -7,7 +7,10 @@ #include "app.h" +extern void enableWheel_MacOS(void); + int main(int argc, char **argv) { + enableWheel_MacOS(); #if defined (iPlatformMsys) /* MSYS runtime takes care of WinMain. */ SDL_SetMainReady(); -- cgit v1.2.3