equal
deleted
inserted
replaced
81 return SDL_SYS_HapticName(device_index); |
81 return SDL_SYS_HapticName(device_index); |
82 } |
82 } |
83 |
83 |
84 |
84 |
85 /* |
85 /* |
86 * Opens a Haptic device |
86 * Opens a Haptic device. |
87 */ |
87 */ |
88 SDL_Haptic * |
88 SDL_Haptic * |
89 SDL_HapticOpen(int device_index) |
89 SDL_HapticOpen(int device_index) |
90 { |
90 { |
91 int i; |
91 int i; |
125 } |
125 } |
126 return haptic; |
126 return haptic; |
127 } |
127 } |
128 |
128 |
129 |
129 |
|
130 /* |
|
131 * Closes a SDL_Haptic device. |
|
132 */ |
|
133 void |
|
134 SDL_HapticClose(SDL_Haptic * haptic) |
|
135 { |
|
136 (void)haptic; |
|
137 /* TODO */ |
|
138 } |
|
139 |
|
140 /* |
|
141 * Cleans up after the subsystem. |
|
142 */ |
130 void |
143 void |
131 SDL_HapticQuit(void) |
144 SDL_HapticQuit(void) |
132 { |
145 { |
133 SDL_numhaptics = 0; |
146 SDL_numhaptics = 0; |
134 |
147 |