Expose GameController haptics and motion data to Unity [fixed]#33
Expose GameController haptics and motion data to Unity [fixed]#33hawkwood wants to merge 11 commits intoapple:mainfrom
Conversation
…ing Define Symbols includes APPLECOREHAPTICS. Added AHAPs to sample.
AvailableMotion is bitwise flag.
…/feat-controller-haptics-motion
Naing97
left a comment
There was a problem hiding this comment.
Plan, ask questions, and iterate on code with Copilot coding agent
Copilot coding agent can now plan, answer questions about your codebase, and make code changes, all from a single conversation.
You can now ask Copilot coding agent to plan or ask questions about your codebase. This feature is available from:
- Agents tab in the repository
- Agents page (github.com/copilot/agents)
- Agents panel
- Copilot chat (github.com/copilot)
Code changes
When making code changes with Copilot coding agent, you can choose when Copilot creates a pull request, enabling you to iterate in a more private way until you are ready for a review.
There are two ways to ask Copilot to produce a pull request.
1. Upon session completion
When the session completes, click Create Pull Request. To build confidence that you are ready for a review, click Diff to review your changes. The diff will appear only when the session is complete.
2. Indicating in your prompt
Specify in your prompt that you'd like a pull request. For example, you can prompt Copilot "Create a pull request to [insert your requested fix here]". When Copilot is prompted to create a pull request, you will see View Pull Request at the bottom of your session logs.
Planning
To get started with planning, simply ask Copilot a planning related prompt. For example: "Create a plan for [your desired project]". You can combine planning with implementation by asking Copilot to implement its plan in a follow-up session.
Unless requested, plans will not output code changes.
Questions and answers
Use Copilot coding agent to ask questions about your codebase—useful for understanding unfamiliar code, exploring how a feature is implemented, or getting up to speed on a new area. To get started, simply ask Copilot a question.
Accessing via Copilot chat
You can also access Q&A capabilities from Copilot coding agent via Copilot chat. After selecting a repository and asking Copilot to do research, Copilot chat will prompt you for permission to conduct a deep research session.



Expands the GameController plugin to include motion data in InputState.
Exposes controller haptics engine, wraps related code in Scripting Define Symbols APPLECOREHAPTICS to not require CoreHaptics to be installed.
Added code and files to sample.