From 1a8ffb0ea7233c55148118c09a7b281673df86c2 Mon Sep 17 00:00:00 2001 From: Jordan Russell Date: Thu, 10 Jul 2014 21:29:02 -0700 Subject: Add joystick module. * sly/joystick.scm: New file. * examples/joystick.scm: New file. * Makefile.am (SOURCES): Add sly/joystick.scm. * TODO.org (Input): Mark as 'done'. * sly/math.scm (linear-scale): New procedure. --- TODO.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.org') diff --git a/TODO.org b/TODO.org index d6858eb..3f47393 100644 --- a/TODO.org +++ b/TODO.org @@ -5,7 +5,7 @@ updates the game state, renders the scene. Use a fixed update timestep and cap the maximum FPS. -** TODO Input +** DONE Input Provide hooks to respond to keyboard, mouse, and joystick events. Wrap SDL keycode, mouse button, etc. constants in our own enumeration. @@ -13,7 +13,7 @@ - [X] Keyboard - [X] Mouse - [X] Window (active, resize, quit) - - [ ] Joystick + - [X] Joystick ** DONE Sprites Encapsulates an image and all of its transformations: position, -- cgit v1.2.3