src/haptic/win32/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2602 f578389c9ead
parent 2601 4915cd01d0e7
child 2603 a84ce5ae8936
equal deleted inserted replaced
2601:4915cd01d0e7 2602:f578389c9ead
   227  * Callback to get supported axes.
   227  * Callback to get supported axes.
   228  */
   228  */
   229 static BOOL CALLBACK
   229 static BOOL CALLBACK
   230 DI_DeviceObjectCallback(LPCDIDEVICEOBJECTINSTANCE dev, LPVOID pvRef)
   230 DI_DeviceObjectCallback(LPCDIDEVICEOBJECTINSTANCE dev, LPVOID pvRef)
   231 {
   231 {
   232    SDL_Haptic *haptic = (SDL_Hapti *) pvRef;
   232    SDL_Haptic *haptic = (SDL_Haptic *) pvRef;
   233 
   233 
   234    if (dev->dwType & DIDFT_AXIS) {
   234    if (dev->dwType & DIDFT_AXIS) {
   235 
   235 
   236       haptic->naxes++;
   236       haptic->naxes++;
   237 
   237