From 3503ad80dc8f1233a4502540d22196f59b6b93ec Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 9 Jan 2019 08:46:17 -0500 Subject: Remove obsolete controller handling code. * chickadee.scm (run-game): Remove initial iteration over game controller hash table. --- chickadee.scm | 6 ------ 1 file changed, 6 deletions(-) (limited to 'chickadee.scm') diff --git a/chickadee.scm b/chickadee.scm index fe41f59..3066f26 100644 --- a/chickadee.scm +++ b/chickadee.scm @@ -241,12 +241,6 @@ not being pushed at all." (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. - (hash-for-each (lambda (key controller) - (controller-add controller)) - *controllers*) (run-game* #:update update-sdl #:render render-sdl-opengl #:error error -- cgit v1.2.3