diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-11-08 08:46:41 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-11-08 08:46:41 -0500 |
commit | d16e22d04ca6fe31fa8387fd5ca3cb014357f159 (patch) | |
tree | b46091b7e592312d10241540067a329d745f6891 | |
parent | d0b686b4f48621c6a5adc5a0e115de77a0ba3724 (diff) |
input: Move joystick module to sly/input directory.
* sly/joystick.scm: Delete.
* sly/input/joystick.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* examples/joystick.scm: Use (sly input joystick) module.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | examples/joystick.scm | 2 | ||||
-rw-r--r-- | sly/input/joystick.scm (renamed from sly/joystick.scm) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index ee859a5..24ebbb9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,6 +34,7 @@ SOURCES = \ sly/game.scm \ sly/input/keyboard.scm \ sly/input/mouse.scm \ + sly/input/joystick.scm \ sly/live-reload.scm \ sly/math.scm \ sly/math/quaternion.scm \ @@ -44,7 +45,6 @@ SOURCES = \ sly/signal.scm \ sly/transition.scm \ sly/window.scm \ - sly/joystick.scm \ sly/render/utils.scm \ sly/render/camera.scm \ sly/render/framebuffer.scm \ diff --git a/examples/joystick.scm b/examples/joystick.scm index 6714ff3..1f429ce 100644 --- a/examples/joystick.scm +++ b/examples/joystick.scm @@ -26,7 +26,7 @@ (sly repl) (sly render sprite) (sly render texture) - (sly joystick) + (sly input joystick) (sly signal) (sly window) (sly vector) diff --git a/sly/joystick.scm b/sly/input/joystick.scm index b94a883..0e465f6 100644 --- a/sly/joystick.scm +++ b/sly/input/joystick.scm @@ -21,7 +21,7 @@ ;; ;;; Code: -(define-module (sly joystick) +(define-module (sly input joystick) #:use-module ((sdl sdl) #:prefix SDL:) #:use-module (sly event) #:use-module (sly signal) |