194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
|
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
|
+
+
+
+
+
+
|
- (id <OHGameControllerProfile>)profile
{
return _profile;
}
- (id <OHGamepad>)gamepad
{
if ([_profile conformsToProtocol: @protocol(OHGamepad)])
return (id <OHGamepad>)_profile;
return nil;
}
- (id <OHExtendedGamepad>)extendedGamepad
{
if ([_profile conformsToProtocol: @protocol(OHExtendedGamepad)])
return (id <OHExtendedGamepad>)_profile;
return nil;
}
@end
|