diff options
Diffstat (limited to 'chickadee.scm')
-rw-r--r-- | chickadee.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chickadee.scm b/chickadee.scm index 7adb4b5..fe41f59 100644 --- a/chickadee.scm +++ b/chickadee.scm @@ -31,6 +31,7 @@ #:use-module (sdl2 input text) #:use-module (sdl2 mixer) #:use-module (sdl2 video) + #:use-module (chickadee config) #:use-module (chickadee game-loop) #:use-module (chickadee math matrix) #:use-module (chickadee render) @@ -238,6 +239,8 @@ not being pushed at all." (display "warning: could not enable vsync\n" (current-error-port)))) (load) + (sdl2:load-game-controller-mappings! + (scope-datadir "gamecontrollerdb.txt")) ;; Notify about all controllers that were already connected ;; when the game was launched because SDL will not create ;; events for them. |