Mercurial > sdl-ios-xcode
comparison src/haptic/dummy/SDL_syshaptic.c @ 2512:ef147ee4896c gsoc2008_force_feedback
Improved some ioctl handling.
Implemented SDL_MouseIsHaptic and SDL_HapticOpenFromMouse.
More code comments.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Thu, 10 Jul 2008 08:38:08 +0000 |
parents | 3b54b3a97046 |
children | 37c13c12c878 |
comparison
equal
deleted
inserted
replaced
2511:f12ae0bae468 | 2512:ef147ee4896c |
---|---|
44 | 44 |
45 int | 45 int |
46 SDL_SYS_HapticOpen(SDL_Haptic * haptic) | 46 SDL_SYS_HapticOpen(SDL_Haptic * haptic) |
47 { | 47 { |
48 SDL_SetError("Logic error: No haptic devices available."); | 48 SDL_SetError("Logic error: No haptic devices available."); |
49 return -1; | |
50 } | |
51 | |
52 | |
53 int | |
54 SDL_SYS_HapticMouse(void) | |
55 { | |
49 return -1; | 56 return -1; |
50 } | 57 } |
51 | 58 |
52 | 59 |
53 int | 60 int |