SKView(SKUModifications)
IntroductionCategory on SKView to allow for additional mouse buttons on OS X and some button support for AppleTV. Also adds controller support for all platforms. Methods
gamepadInputChangedForPlayer:withInput:andXValue:andYValue:pressedState:andEventDictionary:-(void)gamepadInputChangedForPlayer:(GCControllerPlayerIndex)player withInput:(kSKUGamePadInputs)input andXValue:(float)xValue andYValue:(float)yValue pressedState:(kSKUGamepadButtonStates)pressedState andEventDictionary:(NSDictionary*)eventDictionary; Parameters
DiscussionCalled when gamepad input changes. Automatically passes onto scene if the scene is a subclass of SKUScene. gamepadMotionInputChangedForPlayer:withAcceleration:andEventDictionary:-(void)gamepadMotionInputChangedForPlayer:(GCControllerPlayerIndex)player withAcceleration:(SKUAcceleration)acceleration andEventDictionary:(NSDictionary*)eventDictionary; ParametersDiscussionCalled when gamepad motion input changes. Automatically passes onto scene if the scene is a subclass of SKUScene. |