开发者

iPhone/iPad Get State of Wireless keyboard

Is there any way in the iPhone SDK (not a jailbroken API, this needs to be AppStore-Compliant), to get the state of a connected wireless keyboard开发者_如何学Python? e.g. which keys are pressed and which aren't? I have searched for this with google, but I am coming up short.

Any help would be greatly appreciated!


Not really. You can tell whether a keyboard is connected or not, but you won't get callbacks for corded shortcuts. There is clearly a way to do this, because Pages supports keyboard shortcuts (Cmd-Z, etc), but it's not in the public SDK.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜