summaryrefslogtreecommitdiff
path: root/chickadee.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2019-01-09 08:46:17 -0500
committerDavid Thompson <dthompson2@worcester.edu>2019-01-09 08:46:17 -0500
commit3503ad80dc8f1233a4502540d22196f59b6b93ec (patch)
tree4942ef24c0492229a03353e9e252b35a947a22ec /chickadee.scm
parentc42b3b404c15491a2032a0e11cef83e39b3470e3 (diff)
Remove obsolete controller handling code.
* chickadee.scm (run-game): Remove initial iteration over game controller hash table.
Diffstat (limited to 'chickadee.scm')
-rw-r--r--chickadee.scm6
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