diff src/haptic/SDL_haptic.c @ 2475:4b874e3a3a2c gsoc2008_force_feedback

Some code cleanup.
author Edgar Simo <bobbens@gmail.com>
date Sun, 01 Jun 2008 19:11:49 +0000
parents 3f80bf1528b4
children 242d8a668ebb
line wrap: on
line diff
--- a/src/haptic/SDL_haptic.c	Sun Jun 01 18:46:51 2008 +0000
+++ b/src/haptic/SDL_haptic.c	Sun Jun 01 19:11:49 2008 +0000
@@ -83,7 +83,7 @@
 
 
 /*
- * Opens a Haptic device
+ * Opens a Haptic device.
  */
 SDL_Haptic *
 SDL_HapticOpen(int device_index)
@@ -127,6 +127,19 @@
 }
 
 
+/*
+ * Closes a SDL_Haptic device.
+ */
+void
+SDL_HapticClose(SDL_Haptic * haptic)
+{
+   (void)haptic;
+   /* TODO */
+}
+
+/*
+ * Cleans up after the subsystem.
+ */
 void
 SDL_HapticQuit(void)
 {