Commit 4da8829812efba8440627e4b0d03691a571d0cd9

Edward Rudd 2014-02-04T16:50:34

implement new backend method for Haptics in dummy driver

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/haptic/dummy/SDL_syshaptic.c b/src/haptic/dummy/SDL_syshaptic.c
index 2d2185e..9830ac4 100644
--- a/src/haptic/dummy/SDL_syshaptic.c
+++ b/src/haptic/dummy/SDL_syshaptic.c
@@ -39,6 +39,11 @@ SDL_SYS_HapticInit(void)
     return 0;
 }
 
+int
+SDL_SYS_NumHaptics(void)
+{
+	return 0;
+}
 
 const char *
 SDL_SYS_HapticName(int index)