src/haptic/darwin/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2543 3544a632064c
parent 2542 4e055fa7acb9
child 2546 daf40497dcd4
equal deleted inserted replaced
2542:4e055fa7acb9 2543:3544a632064c
    81 FFStrError(HRESULT err)
    81 FFStrError(HRESULT err)
    82 {
    82 {
    83    switch (err) {
    83    switch (err) {
    84       case FFERR_DEVICEFULL:
    84       case FFERR_DEVICEFULL:
    85          return "device full";
    85          return "device full";
    86       case FFERR_DEVICENOTREG:
    86       /*case FFERR_DEVICENOTREG:
    87          return "device not registered";
    87          return "device not registered";*/
    88       case FFERR_DEVICEPAUSED:
    88       case FFERR_DEVICEPAUSED:
    89          return "device paused";
    89          return "device paused";
    90       case FFERR_DEVICERELEASED:
    90       case FFERR_DEVICERELEASED:
    91          return "device released";
    91          return "device released";
    92       case FFERR_EFFECTPLAYING:
    92       case FFERR_EFFECTPLAYING: