-1

我想升级我的游戏以支持 ios7 的游戏手柄。现在我找不到任何有用的信息。

4

1 回答 1

0

现在我在这里找到了官方文档: https ://developer.apple.com/library/prerelease/ios/documentation/GameController/Reference/GameController_RefColl/_index.html#//apple_ref/doc/uid/TP40013201

IOS 7

retina only(old 3gs can't update to ios7)
need gamecontroller.framework(optional)
controller is optional (without controller can also play game)
controller is auto connect.
gamepad or extended gamepad
wireless or not

按键(扩展游戏手柄):

leftShoulder
rightShoulder
dpad
buttonA
buttonB
buttonX
buttonY
leftThumbstick
rightThumbstick
leftTrigger
rightTrigger

按键(游戏手柄):

leftShoulder
rightShoulder
dpad
buttonA
buttonB
buttonX
buttonY

代码:

GCController(static get controller)
GCControllerAxisInput
GCControllerButtonInput
GCControllerDirectionPad
GCControllerElement
GCExtendedGamepad
GCExtendedGamepadSnapshot
GCGamepad
GCGamepadSnapshot

http://goo.gl/Dr9j3y

于 2013-08-14T10:59:39.377 回答