src/joystick/iphoneos/SDL_sysjoystick.m
changeset 11284 3db78361e751
parent 10873 8754e496e7b2
child 11532 4af4e3986438
equal deleted inserted replaced
11283:4276937a9792 11284:3db78361e751
   249 
   249 
   250     return next;
   250     return next;
   251 }
   251 }
   252 
   252 
   253 #if TARGET_OS_TV
   253 #if TARGET_OS_TV
   254 static void
   254 static void SDLCALL
   255 SDL_AppleTVRemoteRotationHintChanged(void *udata, const char *name, const char *oldValue, const char *newValue)
   255 SDL_AppleTVRemoteRotationHintChanged(void *udata, const char *name, const char *oldValue, const char *newValue)
   256 {
   256 {
   257     BOOL allowRotation = newValue != NULL && *newValue != '0';
   257     BOOL allowRotation = newValue != NULL && *newValue != '0';
   258 
   258 
   259     @autoreleasepool {
   259     @autoreleasepool {