diff options
author | David Thompson <dthompson2@worcester.edu> | 2019-01-09 08:46:17 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-01-09 08:46:17 -0500 |
commit | 3503ad80dc8f1233a4502540d22196f59b6b93ec (patch) | |
tree | 4942ef24c0492229a03353e9e252b35a947a22ec | |
parent | c42b3b404c15491a2032a0e11cef83e39b3470e3 (diff) |
Remove obsolete controller handling code.
* chickadee.scm (run-game): Remove initial iteration over game
controller hash table.
-rw-r--r-- | chickadee.scm | 6 |
1 files changed, 0 insertions, 6 deletions
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 |