-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add comprehensive documentation for accessing Fn key state on Surface devices #5602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: docs
Are you sure you want to change the base?
Conversation
@Karl-Bridge-Microsoft 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
Learn Build status updates of commit 857b471:
|
… devices Co-authored-by: Karl-Bridge-Microsoft <[email protected]>
Learn Build status updates of commit b4a101e: ✅ Validation status: passed
For more details, please refer to the build report. |
PRMerger Results
|
Learn Build status updates of commit b4a101e: ✅ Validation status: passed
For more details, please refer to the build report. |
PRMerger Results
|
This PR addresses the documentation gap for accessing the current state of the Fn key on Surface devices, as mentioned in the Windows IT Pro blog post about Windows 10 version 1909 features.
What was missing
The existing documentation only showed how to handle Fn key events when they occur, but didn't explain:
Changes made
Enhanced introduction
New section: "Accessing current Fn key state"
Enhanced examples
AnnounceCurrentFnState()
methodAdditional API references
FunctionLockChangedEventArgs
andFunctionLockIndicatorChangedEventArgs
classesSurface device support
The documentation now specifically lists supported Surface devices:
This enables developers to build assistive technologies that can access Fn key state information similar to how Windows Narrator and JAWS screen readers do on Surface devices.
Fixes #5547.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
docs.microsoft.com
curl -s REDACTED
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.