Categories: Gadgets

New Windows Gaming Handheld Code Samples Launched

This web page was created programmatically, to learn the article in its authentic location you possibly can go to the hyperlink bellow:
https://developer.microsoft.com/en-us/games/articles/2025/07/windows-gaming-handheld-code-samples/
and if you wish to take away this text from our website please contact us


Today, Microsoft is releasing samples to supply examples & training materials that builds on our checklist for games on Windows handhelds. These samples present finest practices and code examples that may be built-in into your video games when contemplating Windows gaming handheld eventualities.

This Handheld Experience Best Practices launch contains two samples, a native C++ pattern and a Unity managed C# sample. Both present an identical set of finest practices round learn how to leverage APIs to handle your video games handheld expertise simply. These embody examples demonstrating learn how to: 

  • Determine if a tool is a handheld.
  • Determine if a tool is working battery energy, charging or utilizing exterior energy.
  • Look up machine particular properties, together with built-in show properties.
  • Handle DPI modifications and scale UI accordingly.
  • Leverage Virtual Keyboards for textual content entry.
  • Look up community gadgets & varieties.
  • Determine community and Bluetooth connectivity.
  • Handle enter from Gamepad, Keyboard and Mouse.
  • Determine enter modality (i.e. newest enter machine used).

These samples will proceed to be up to date as Windows enhancements are made which are useful to Windows handheld gaming eventualities and as we collect suggestions from recreation builders who construct for these gadgets.

To purchase these samples, please see:

For extra on handheld recreation improvement, you should definitely take a look at our Xbox Handheld Gaming Developer Resource Hub.


This web page was created programmatically, to learn the article in its authentic location you possibly can go to the hyperlink bellow:
https://developer.microsoft.com/en-us/games/articles/2025/07/windows-gaming-handheld-code-samples/
and if you wish to take away this text from our website please contact us

fooshya

Share
Published by
fooshya

Recent Posts

Neglect skilled pictures — as a enjoyable pictures lover, I can’t suggest these 6 Prime Day cameras offers sufficient for any trigger-happy fanatics

This web page was created programmatically, to learn the article in its authentic location you…

25 seconds ago

Anderson focuses on private care, wellness at Bulloch Family Practice

This web page was created programmatically, to learn the article in its unique location you'll…

4 minutes ago

Photography Through the Seasons – When Colors Hit: Fall Photography in Door County

This web page was created programmatically, to learn the article in its authentic location you'll…

7 minutes ago

Oliver Dawson completes breaststroke sweep at 2026 Bell Canadian Swimming Trials

This web page was created programmatically, to learn the article in its authentic location you…

13 minutes ago

After struggling the lack of her little one, a journalist turns to artwork

This web page was created programmatically, to learn the article in its unique location you'll…

29 minutes ago

Australian swimmer Kaylee McKeown medically withdraws from Commonwealth Games

This web page was created programmatically, to learn the article in its authentic location you…

37 minutes ago