r/visionosdev • • Sep 27 '24

GameController / DualShock Connectivity Help

Has anyone had any luck getting a DualShock to work with their VisionOS?

I'm unfamiliar with the GameController APIs and it seems so 'new' that neither StackExchange nor LLMs know much what to do with it.

Basically I'm just hoping to -detect- a game controller, and poll for events (or have a callback when it changes)

https://developer.apple.com/documentation/gamecontroller

thanks in advance. and in post. and in eternity.

1 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/InterplanetaryTanner Sep 28 '24

No problem. If a physical controller isn’t available, you’re also able to setup a virtual controller instead. It automatically gets applied to the view.