# Controllers-for-tvOS
## Sample app for tvOS that reads and identifies game controllers
This code sample demonstrates how to use game controllers in tvOS apps. It shows all the controllers on a system.
Written by Steve Sparks (@stevesparks) for Big Nerd Ranch. iOS 13 additions by Todd Laney (@ToddLa).
## Types of supported controllers
<ul>
<li>The Apple Remote:
![Apple TV Remote](readme-images/appletvremote.jpg)
<li>First gen controllers such as the SteelSeries Nimbus:
![SteelSeries Nimbus](readme-images/steelseries.jpg)
<li>Also now the XBOX ONE controller:
![XBOX ONE](readme-images/xbox.jpg)
And the PlayStation DUALSHOCK 4:
![DUALSHOCK4](readme-images/dualshock.jpg)
没有合适的资源?快使用搜索试试~ 我知道了~
用于读取游戏控制器 的 tvOS示例应用_Swift_代码_下载
共51个文件
json:19个
swift:12个
jpg:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 154 浏览量
2022-06-23
23:38:07
上传
评论
收藏 273KB ZIP 举报
温馨提示
tvOS 控制器 用于读取和识别游戏控制器的 tvOS 示例应用 此代码示例演示了如何在 tvOS 应用程序中使用游戏控制器。它显示了系统上的所有控制器。 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
controllers-for-tvOS-master.zip (51个子文件)
controllers-for-tvOS-master
README.md 691B
readme-images
xbox.jpg 7KB
steelseries.jpg 10KB
atari.jpg 9KB
dualshock.jpg 6KB
appletvremote.jpg 4KB
TopShelf
Info.plist 1KB
TopShelf.entitlements 181B
ContentProvider.swift 3KB
Controlla
Gamepad Views
ExtendedGamepadView.swift 6KB
MicroGamepadView.swift 4KB
GamepadView.swift 2KB
Detail Views
MotionView.swift 2KB
Buttons and Switches
ButtonPadView.swift 3KB
ButtonIndicatorView.swift 3KB
XYPositionView.swift 2KB
DirectionPadView.swift 2KB
AppDelegate.swift 2KB
UIView+Utilities.swift 2KB
Base.lproj
Main.storyboard 3KB
Assets.xcassets
LaunchImage.launchimage
Contents.json 408B
Contents.json 62B
App Icon & Top Shelf Image.brandassets
App Icon - Large.imagestack
Front.imagestacklayer
Contents.json 62B
Content.imageset
Contents.json 193B
Contents.json 250B
Back.imagestacklayer
Contents.json 62B
Content.imageset
Contents.json 193B
Middle.imagestacklayer
Contents.json 62B
Content.imageset
Contents.json 193B
App Icon - Small.imagestack
Front.imagestacklayer
Contents.json 62B
Content.imageset
Contents.json 193B
Contents.json 250B
Back.imagestacklayer
Contents.json 62B
Content.imageset
Contents.json 250B
800px-Atari-2600-Joystick-Back.png 7KB
Middle.imagestacklayer
Contents.json 62B
Content.imageset
Contents.json 245B
800px-Atari-2600-Joystick.png 195KB
Contents.json 667B
Top Shelf Image Wide.imageset
Contents.json 193B
Top Shelf Image.imageset
Contents.json 193B
Info.plist 1KB
Controlla.entitlements 181B
ViewController.swift 6KB
Controlla.xcodeproj
project.xcworkspace
contents.xcworkspacedata 154B
project.pbxproj 30KB
xcuserdata
barbecuesteve.xcuserdatad
xcschemes
Controlla.xcscheme 3KB
GamepadViews.xcscheme 3KB
xcschememanagement.plist 673B
GamepadViews
GamepadViews.h 522B
Info.plist 753B
共 51 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功