mirror of
https://github.com/libretro/RetroArch
synced 2025-04-25 09:02:44 +00:00
(iOS) App Store versions cannot reference non-public selectors
This commit is contained in:
parent
19bf048b68
commit
c2036e4aed
@ -147,6 +147,7 @@ static void handle_touch_event(NSArray* touches)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef HAVE_APPLE_STORE
|
||||||
// iO7 Keyboard support
|
// iO7 Keyboard support
|
||||||
@interface UIEvent(iOS7Keyboard)
|
@interface UIEvent(iOS7Keyboard)
|
||||||
@property(readonly, nonatomic) long long _keyCode;
|
@property(readonly, nonatomic) long long _keyCode;
|
||||||
@ -160,12 +161,14 @@ static void handle_touch_event(NSArray* touches)
|
|||||||
- (void)handleKeyUIEvent:(UIEvent*)event;
|
- (void)handleKeyUIEvent:(UIEvent*)event;
|
||||||
- (id)_keyCommandForEvent:(UIEvent*)event;
|
- (id)_keyCommandForEvent:(UIEvent*)event;
|
||||||
@end
|
@end
|
||||||
|
#endif
|
||||||
|
|
||||||
@interface RApplication : UIApplication
|
@interface RApplication : UIApplication
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation RApplication
|
@implementation RApplication
|
||||||
|
|
||||||
|
#ifndef HAVE_APPLE_STORE
|
||||||
/* Keyboard handler for iOS 7. */
|
/* Keyboard handler for iOS 7. */
|
||||||
|
|
||||||
/* This is copied here as it isn't
|
/* This is copied here as it isn't
|
||||||
@ -282,6 +285,7 @@ enum
|
|||||||
|
|
||||||
return [super _keyCommandForEvent:event];
|
return [super _keyCommandForEvent:event];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define GSEVENT_TYPE_KEYDOWN 10
|
#define GSEVENT_TYPE_KEYDOWN 10
|
||||||
#define GSEVENT_TYPE_KEYUP 11
|
#define GSEVENT_TYPE_KEYUP 11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user