diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-11-08 08:26:57 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-11-08 08:26:57 -0500 |
commit | 7a8b86f6164bc35f7a26817d19a40ce841ddb02c (patch) | |
tree | 4b8e5d19fc02487d4e999e20e572d5491dc3cbbf | |
parent | 3d39cbb50303ca052e443199f87364e0e57bbb47 (diff) |
input: Move keyboard module to sly/input directory.
* sly/keyboard.scm: Delete.
* sly/input/keyboard.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old file.
* examples/common.scm: Use (sly input keyboard).
* examples/tilemap.scm: Likewise.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | examples/common.scm | 2 | ||||
-rw-r--r-- | examples/tilemap.scm | 2 | ||||
-rw-r--r-- | sly/input/keyboard.scm (renamed from sly/keyboard.scm) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 384556c..e3e28d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,7 @@ SOURCES = \ sly/font.scm \ sly/fps.scm \ sly/game.scm \ - sly/keyboard.scm \ + sly/input/keyboard.scm \ sly/live-reload.scm \ sly/math.scm \ sly/math/quaternion.scm \ diff --git a/examples/common.scm b/examples/common.scm index f3c91b2..46797bb 100644 --- a/examples/common.scm +++ b/examples/common.scm @@ -18,7 +18,7 @@ (use-modules (sly agenda) (sly fps) (sly game) - (sly keyboard) + (sly input keyboard) (sly repl) (sly signal) (sly render sprite) diff --git a/examples/tilemap.scm b/examples/tilemap.scm index d05f8d9..3c0d6f0 100644 --- a/examples/tilemap.scm +++ b/examples/tilemap.scm @@ -31,7 +31,7 @@ (sly color) (sly transition) (sly utils) - (sly keyboard)) + (sly input keyboard)) (load "common.scm") diff --git a/sly/keyboard.scm b/sly/input/keyboard.scm index b6db9c2..e197424 100644 --- a/sly/keyboard.scm +++ b/sly/input/keyboard.scm @@ -21,7 +21,7 @@ ;; ;;; Code: -(define-module (sly keyboard) +(define-module (sly input keyboard) #:use-module ((sdl sdl) #:prefix SDL:) #:use-module (sly event) #:use-module (sly signal) |